Home
last modified time | relevance | path

Searched defs:vsi (Results 1 – 25 of 63) sorted by relevance

123

/drivers/net/ethernet/intel/ice/
Dice_lib.c42 static int ice_vsi_ctrl_all_rx_rings(struct ice_vsi *vsi, bool ena) in ice_vsi_ctrl_all_rx_rings()
68 static int ice_vsi_alloc_arrays(struct ice_vsi *vsi) in ice_vsi_alloc_arrays()
130 static void ice_vsi_set_num_desc(struct ice_vsi *vsi) in ice_vsi_set_num_desc()
159 static void ice_vsi_set_num_qs(struct ice_vsi *vsi, u16 vf_id) in ice_vsi_set_num_qs()
261 static void ice_vsi_delete(struct ice_vsi *vsi) in ice_vsi_delete()
289 static void ice_vsi_free_arrays(struct ice_vsi *vsi) in ice_vsi_free_arrays()
328 static int ice_vsi_clear(struct ice_vsi *vsi) in ice_vsi_clear()
409 struct ice_vsi *vsi = NULL; in ice_vsi_alloc() local
496 static int ice_alloc_fd_res(struct ice_vsi *vsi) in ice_alloc_fd_res()
536 static int ice_vsi_get_qs(struct ice_vsi *vsi) in ice_vsi_get_qs()
[all …]
Dice_fltr.c55 ice_fltr_add_mac_list(struct ice_vsi *vsi, struct list_head *list) in ice_fltr_add_mac_list()
66 ice_fltr_remove_mac_list(struct ice_vsi *vsi, struct list_head *list) in ice_fltr_remove_mac_list()
77 ice_fltr_add_vlan_list(struct ice_vsi *vsi, struct list_head *list) in ice_fltr_add_vlan_list()
88 ice_fltr_remove_vlan_list(struct ice_vsi *vsi, struct list_head *list) in ice_fltr_remove_vlan_list()
99 ice_fltr_add_eth_list(struct ice_vsi *vsi, struct list_head *list) in ice_fltr_add_eth_list()
110 ice_fltr_remove_eth_list(struct ice_vsi *vsi, struct list_head *list) in ice_fltr_remove_eth_list()
119 void ice_fltr_remove_all(struct ice_vsi *vsi) in ice_fltr_remove_all()
132 ice_fltr_add_mac_to_list(struct ice_vsi *vsi, struct list_head *list, in ice_fltr_add_mac_to_list()
157 ice_fltr_add_vlan_to_list(struct ice_vsi *vsi, struct list_head *list, in ice_fltr_add_vlan_to_list()
182 ice_fltr_add_eth_to_list(struct ice_vsi *vsi, struct list_head *list, in ice_fltr_add_eth_to_list()
[all …]
Dice_arfs.c10 static bool ice_is_arfs_active(struct ice_vsi *vsi) in ice_is_arfs_active()
28 struct ice_vsi *vsi; in ice_is_arfs_using_perfect_flow() local
59 ice_arfs_update_active_fltr_cntrs(struct ice_vsi *vsi, in ice_arfs_update_active_fltr_cntrs()
105 ice_arfs_del_flow_rules(struct ice_vsi *vsi, struct hlist_head *del_list_head) in ice_arfs_del_flow_rules()
142 ice_arfs_add_flow_rules(struct ice_vsi *vsi, struct hlist_head *add_list_head) in ice_arfs_add_flow_rules()
181 ice_arfs_is_flow_expired(struct ice_vsi *vsi, struct ice_arfs_entry *arfs_entry) in ice_arfs_is_flow_expired()
214 ice_arfs_update_flow_rules(struct ice_vsi *vsi, u16 idx, in ice_arfs_update_flow_rules()
300 ice_arfs_build_entry(struct ice_vsi *vsi, const struct flow_keys *fk, in ice_arfs_build_entry()
401 struct ice_vsi *vsi = np->vsi; in ice_rx_flow_steer() local
483 static int ice_init_arfs_cntrs(struct ice_vsi *vsi) in ice_init_arfs_cntrs()
[all …]
Dice_base.c101 static int ice_vsi_alloc_q_vector(struct ice_vsi *vsi, u16 v_idx) in ice_vsi_alloc_q_vector()
142 static void ice_free_q_vector(struct ice_vsi *vsi, int v_idx) in ice_free_q_vector()
206 static u16 ice_calc_q_handle(struct ice_vsi *vsi, struct ice_ring *ring, u8 tc) in ice_calc_q_handle()
228 struct ice_vsi *vsi = ring->vsi; in ice_setup_tx_ctx() local
288 struct ice_vsi *vsi = ring->vsi; in ice_setup_rx_ctx() local
476 ice_vsi_ctrl_one_rx_ring(struct ice_vsi *vsi, bool ena, u16 rxq_idx, bool wait) in ice_vsi_ctrl_one_rx_ring()
514 int ice_vsi_wait_one_rx_ring(struct ice_vsi *vsi, bool ena, u16 rxq_idx) in ice_vsi_wait_one_rx_ring()
529 int ice_vsi_alloc_q_vectors(struct ice_vsi *vsi) in ice_vsi_alloc_q_vectors()
566 void ice_vsi_map_rings_to_vectors(struct ice_vsi *vsi) in ice_vsi_map_rings_to_vectors()
621 void ice_vsi_free_q_vectors(struct ice_vsi *vsi) in ice_vsi_free_q_vectors()
[all …]
Dice_xsk.c20 static void ice_qp_reset_stats(struct ice_vsi *vsi, u16 q_idx) in ice_qp_reset_stats()
36 static void ice_qp_clean_rings(struct ice_vsi *vsi, u16 q_idx) in ice_qp_clean_rings()
53 ice_qvec_toggle_napi(struct ice_vsi *vsi, struct ice_q_vector *q_vector, in ice_qvec_toggle_napi()
72 ice_qvec_dis_irq(struct ice_vsi *vsi, struct ice_ring *rx_ring, in ice_qvec_dis_irq()
104 ice_qvec_cfg_msix(struct ice_vsi *vsi, struct ice_q_vector *q_vector) in ice_qvec_cfg_msix()
132 static void ice_qvec_ena_irq(struct ice_vsi *vsi, struct ice_q_vector *q_vector) in ice_qvec_ena_irq()
149 static int ice_qp_dis(struct ice_vsi *vsi, u16 q_idx) in ice_qp_dis()
206 static int ice_qp_ena(struct ice_vsi *vsi, u16 q_idx) in ice_qp_ena()
270 static int ice_xsk_alloc_pools(struct ice_vsi *vsi) in ice_xsk_alloc_pools()
291 static void ice_xsk_remove_pool(struct ice_vsi *vsi, u16 qid) in ice_xsk_remove_pool()
[all …]
Dice_main.c71 struct ice_vsi *vsi = NULL; in ice_check_for_hang_subtask() local
130 struct ice_vsi *vsi; in ice_init_mac_fltr() local
169 struct ice_vsi *vsi = np->vsi; in ice_add_mac_to_sync_list() local
191 struct ice_vsi *vsi = np->vsi; in ice_add_mac_to_unsync_list() local
214 static bool ice_vsi_fltr_changed(struct ice_vsi *vsi) in ice_vsi_fltr_changed()
228 static int ice_cfg_promisc(struct ice_vsi *vsi, u8 promisc_m, bool set_promisc) in ice_cfg_promisc()
260 static int ice_vsi_sync_fltr(struct ice_vsi *vsi) in ice_vsi_sync_fltr()
600 static void ice_print_topo_conflict(struct ice_vsi *vsi) in ice_print_topo_conflict()
623 void ice_print_link_msg(struct ice_vsi *vsi, bool isup) in ice_print_link_msg()
758 static void ice_vsi_link_event(struct ice_vsi *vsi, bool link_up) in ice_vsi_link_event()
[all …]
Dice_virtchnl_pf.c247 struct ice_vsi *vsi; in ice_dis_vf_mappings() local
329 struct ice_vsi *vsi; in ice_dis_vf_qs() local
487 static int ice_vsi_manage_pvid(struct ice_vsi *vsi, u16 pvid_info, bool enable) in ice_vsi_manage_pvid()
553 struct ice_vsi *vsi; in ice_vf_vsi_setup() local
595 struct ice_vsi *vsi = vf->pf->vsi[vf->lan_vsi_idx]; in ice_vf_rebuild_host_vlan_cfg() local
632 struct ice_vsi *vsi = vf->pf->vsi[vf->lan_vsi_idx]; in ice_vf_rebuild_host_mac_cfg() local
734 struct ice_vsi *vsi = vf->pf->vsi[vf->lan_vsi_idx]; in ice_ena_vf_q_mappings() local
782 struct ice_vsi *vsi = vf->pf->vsi[vf->lan_vsi_idx]; in ice_ena_vf_mappings() local
1013 ice_vf_set_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m, in ice_vf_set_vsi_promisc()
1045 struct ice_vsi *vsi = vf->pf->vsi[vf->lan_vsi_idx]; in ice_vf_clear_counters() local
[all …]
Dice_ethtool.c177 struct ice_vsi *vsi = np->vsi; in ice_get_drvinfo() local
262 struct ice_vsi *vsi = np->vsi; in ice_get_eeprom() local
467 static int ice_lbtest_prepare_rings(struct ice_vsi *vsi) in ice_lbtest_prepare_rings()
506 static int ice_lbtest_disable_rings(struct ice_vsi *vsi) in ice_lbtest_disable_rings()
874 struct ice_vsi *vsi = np->vsi; in ice_get_strings() local
975 struct ice_vsi *vsi = np->vsi; in ice_set_fec_cfg() local
1019 struct ice_vsi *vsi = np->vsi; in ice_set_fecparam() local
1056 struct ice_vsi *vsi = np->vsi; in ice_get_fecparam() local
1119 struct ice_vsi *vsi = np->vsi; in ice_nway_reset() local
1153 struct ice_vsi *vsi = np->vsi; in ice_get_priv_flags() local
[all …]
Dice_arfs.h56 #define ice_init_arfs(vsi) do {} while (0) argument
57 #define ice_clear_arfs(vsi) do {} while (0) argument
59 #define ice_free_cpu_rx_rmap(vsi) do {} while (0) argument
62 static inline int ice_set_cpu_rx_rmap(struct ice_vsi __always_unused *vsi) in ice_set_cpu_rx_rmap()
Dice_dcb_nl.h14 #define ice_dcbnl_setup(vsi) do {} while (0) argument
15 #define ice_dcbnl_set_all(vsi) do {} while (0) argument
Dice_dcb_lib.h76 ice_dcb_get_tc(struct ice_vsi __always_unused *vsi, in ice_dcb_get_tc()
118 #define ice_vsi_cfg_dcb_rings(vsi) do {} while (0) argument
121 #define ice_vsi_cfg_netdev_tc(vsi, ena_tc) do {} while (0) argument
Dice_dcb_lib.c12 void ice_vsi_cfg_netdev_tc(struct ice_vsi *vsi, u8 ena_tc) in ice_vsi_cfg_netdev_tc()
76 struct ice_vsi *vsi; in ice_is_pfc_causing_hung_q() local
186 u8 ice_dcb_get_tc(struct ice_vsi *vsi, int queue_index) in ice_dcb_get_tc()
195 void ice_vsi_cfg_dcb_rings(struct ice_vsi *vsi) in ice_vsi_cfg_dcb_rings()
648 struct ice_vsi *vsi = pf->vsi[v]; in ice_pf_dcb_recfg() local
Dice_xsk.h23 ice_xsk_pool_setup(struct ice_vsi __always_unused *vsi, in ice_xsk_pool_setup()
51 static inline bool ice_xsk_any_rx_ring_ena(struct ice_vsi __always_unused *vsi) in ice_xsk_any_rx_ring_ena()
Dice_txrx.c28 ice_prgm_fdir_fltr(struct ice_vsi *vsi, struct ice_fltr_desc *fdir_desc, in ice_prgm_fdir_fltr()
207 struct ice_vsi *vsi = tx_ring->vsi; in ice_clean_tx_irq() local
589 struct ice_vsi *vsi = np->vsi; in ice_xdp_xmit() local
1506 struct ice_vsi *vsi = q_vector->vsi; in ice_update_ena_itr() local
1586 struct ice_vsi *vsi = q_vector->vsi; in ice_set_wb_on_itr() local
2375 struct ice_vsi *vsi = tx_ring->vsi; in ice_xmit_frame_ring() local
2467 struct ice_vsi *vsi = np->vsi; in ice_start_xmit() local
2487 struct ice_vsi *vsi = tx_ring->vsi; in ice_clean_ctrl_tx_irq() local
Dice.h110 #define ice_for_each_txq(vsi, i) \ argument
113 #define ice_for_each_rxq(vsi, i) \ argument
117 #define ice_for_each_alloc_txq(vsi, i) \ argument
120 #define ice_for_each_alloc_rxq(vsi, i) \ argument
123 #define ice_for_each_q_vector(vsi, i) \ argument
336 struct ice_vsi *vsi; member
397 struct ice_vsi **vsi; /* VSIs created by the driver */ member
459 struct ice_vsi *vsi; member
469 ice_irq_dynamic_ena(struct ice_hw *hw, struct ice_vsi *vsi, in ice_irq_dynamic_ena()
499 static inline bool ice_is_xdp_ena_vsi(struct ice_vsi *vsi) in ice_is_xdp_ena_vsi()
/drivers/net/ethernet/intel/i40e/
Di40e_main.c331 struct i40e_vsi *vsi = np->vsi; in i40e_tx_timeout() local
408 struct rtnl_link_stats64 *i40e_get_vsi_stats_struct(struct i40e_vsi *vsi) in i40e_get_vsi_stats_struct()
446 struct i40e_vsi *vsi = np->vsi; in i40e_get_netdev_stats_struct() local
503 void i40e_vsi_reset_stats(struct i40e_vsi *vsi) in i40e_vsi_reset_stats()
564 static u32 i40e_compute_pci_to_hw_id(struct i40e_vsi *vsi, struct i40e_hw *hw) in i40e_compute_pci_to_hw_id()
681 i40e_stats_update_rx_discards(struct i40e_vsi *vsi, struct i40e_hw *hw, in i40e_stats_update_rx_discards()
703 void i40e_update_eth_stats(struct i40e_vsi *vsi) in i40e_update_eth_stats()
854 static void i40e_update_vsi_stats(struct i40e_vsi *vsi) in i40e_update_vsi_stats()
1210 void i40e_update_stats(struct i40e_vsi *vsi) in i40e_update_stats()
1226 int i40e_count_filters(struct i40e_vsi *vsi) in i40e_count_filters()
[all …]
Di40e_virtchnl_pf.c208 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_isvalid_vsi_id() local
225 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_isvalid_queue_id() local
258 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_get_pf_queue_id() local
582 struct i40e_vsi *vsi; in i40e_config_vsi_tx_queue() local
658 struct i40e_vsi *vsi = pf->vsi[vf->lan_vsi_idx]; in i40e_config_vsi_rx_queue() local
748 struct i40e_vsi *vsi; in i40e_alloc_vsi_res() local
1150 static int __i40e_getnum_vf_vsi_vlan_filters(struct i40e_vsi *vsi) in __i40e_getnum_vf_vsi_vlan_filters()
1169 static int i40e_getnum_vf_vsi_vlan_filters(struct i40e_vsi *vsi) in i40e_getnum_vf_vsi_vlan_filters()
1189 static void i40e_get_vlan_list_sync(struct i40e_vsi *vsi, u16 *num_vlans, in i40e_get_vlan_list_sync()
1322 struct i40e_vsi *vsi; in i40e_config_vf_promiscuous_mode() local
[all …]
Di40e_ethtool.c1154 struct i40e_vsi *vsi = np->vsi; in i40e_set_link_ksettings() local
1599 struct i40e_vsi *vsi = np->vsi; in i40e_set_pauseparam() local
1905 struct i40e_vsi *vsi = np->vsi; in i40e_get_drvinfo() local
1923 struct i40e_vsi *vsi = pf->vsi[pf->lan_vsi]; in i40e_get_ringparam() local
1935 static bool i40e_active_tx_ring_index(struct i40e_vsi *vsi, u16 index) in i40e_active_tx_ring_index()
1952 struct i40e_vsi *vsi = np->vsi; in i40e_set_ringparam() local
2179 struct i40e_vsi *vsi = np->vsi; in i40e_get_stats_count() local
2210 struct i40e_vsi *vsi = np->vsi; in i40e_get_sset_count() local
2292 struct i40e_vsi *vsi = np->vsi; in i40e_get_ethtool_stats() local
2370 struct i40e_vsi *vsi = np->vsi; in i40e_get_stat_strings() local
[all …]
Di40e_xsk.c62 int i40e_realloc_rx_bi_zc(struct i40e_vsi *vsi, bool zc) in i40e_realloc_rx_bi_zc()
84 static int i40e_xsk_pool_enable(struct i40e_vsi *vsi, in i40e_xsk_pool_enable()
140 static int i40e_xsk_pool_disable(struct i40e_vsi *vsi, u16 qid) in i40e_xsk_pool_disable()
185 int i40e_xsk_pool_setup(struct i40e_vsi *vsi, struct xsk_buff_pool *pool, in i40e_xsk_pool_setup()
526 bool i40e_clean_xdp_tx_irq(struct i40e_vsi *vsi, struct i40e_ring *tx_ring) in i40e_clean_xdp_tx_irq()
590 struct i40e_vsi *vsi = np->vsi; in i40e_xsk_wakeup() local
675 bool i40e_xsk_any_rx_ring_enabled(struct i40e_vsi *vsi) in i40e_xsk_any_rx_ring_enabled()
Di40e_client.c47 int i40e_client_get_params(struct i40e_vsi *vsi, struct i40e_params *params) in i40e_client_get_params()
84 i40e_notify_client_of_vf_msg(struct i40e_vsi *vsi, u32 vf_id, u8 *msg, u16 len) in i40e_notify_client_of_vf_msg()
110 void i40e_notify_client_of_l2_param_changes(struct i40e_vsi *vsi) in i40e_notify_client_of_l2_param_changes()
169 void i40e_notify_client_of_netdev_close(struct i40e_vsi *vsi, bool reset) in i40e_notify_client_of_netdev_close()
291 struct i40e_vsi *vsi = pf->vsi[pf->lan_vsi]; in i40e_client_add_instance() local
354 struct i40e_vsi *vsi = pf->vsi[pf->lan_vsi]; in i40e_client_subtask() local
686 struct i40e_vsi *vsi = pf->vsi[pf->lan_vsi]; in i40e_client_update_vsi_ctxt() local
Di40e_txrx.c95 struct i40e_vsi *vsi; in i40e_program_fdir_filter() local
173 static int i40e_add_del_fdir_udpv4(struct i40e_vsi *vsi, in i40e_add_del_fdir_udpv4()
245 static int i40e_add_del_fdir_tcpv4(struct i40e_vsi *vsi, in i40e_add_del_fdir_tcpv4()
324 static int i40e_add_del_fdir_sctpv4(struct i40e_vsi *vsi, in i40e_add_del_fdir_sctpv4()
398 static int i40e_add_del_fdir_ipv4(struct i40e_vsi *vsi, in i40e_add_del_fdir_ipv4()
469 int i40e_add_del_fdir(struct i40e_vsi *vsi, in i40e_add_del_fdir()
721 void i40e_detect_recover_hung(struct i40e_vsi *vsi) in i40e_detect_recover_hung()
775 static bool i40e_clean_tx_irq(struct i40e_vsi *vsi, in i40e_clean_tx_irq()
906 static void i40e_enable_wb_on_itr(struct i40e_vsi *vsi, in i40e_enable_wb_on_itr()
940 void i40e_force_wb(struct i40e_vsi *vsi, struct i40e_q_vector *q_vector) in i40e_force_wb()
[all …]
Di40e_dcb_nl.c145 void i40e_dcbnl_set_all(struct i40e_vsi *vsi) in i40e_dcbnl_set_all()
191 static int i40e_dcbnl_vsi_del_app(struct i40e_vsi *vsi, in i40e_dcbnl_vsi_del_app()
284 void i40e_dcbnl_setup(struct i40e_vsi *vsi) in i40e_dcbnl_setup()
Di40e_debugfs.c119 struct i40e_vsi *vsi; in i40e_dbg_dump_vsi_seid() local
548 struct i40e_vsi *vsi; in i40e_dbg_dump_desc() local
736 struct i40e_vsi *vsi; in i40e_dbg_dump_vf() local
781 struct i40e_vsi *vsi; in i40e_dbg_command_write() local
1702 struct i40e_vsi *vsi; in i40e_dbg_netdev_ops_write() local
/drivers/net/ethernet/intel/iavf/
Diavf_client.c36 void iavf_client_get_params(struct iavf_vsi *vsi, struct iavf_params *params) in iavf_client_get_params()
58 void iavf_notify_client_message(struct iavf_vsi *vsi, u8 *msg, u16 len) in iavf_notify_client_message()
82 void iavf_notify_client_l2_params(struct iavf_vsi *vsi) in iavf_notify_client_l2_params()
110 void iavf_notify_client_open(struct iavf_vsi *vsi) in iavf_notify_client_open()
162 void iavf_notify_client_close(struct iavf_vsi *vsi, bool reset) in iavf_notify_client_close()
188 struct iavf_vsi *vsi = &adapter->vsi; in iavf_client_add_instance() local
/drivers/media/platform/mtk-vcodec/vdec/
Dvdec_vp9_if.c201 struct vdec_vp9_vsi *vsi; member
209 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_is_sf_ref_fb() local
265 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_ref_cnt_fb() local
292 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_free_all_sf_ref_fb() local
315 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_get_sf_ref_fb() local
362 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_alloc_work_buf() local
460 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_swap_frm_bufs() local
580 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_decode_end_proc() local
609 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_is_last_sub_frm() local
746 struct vdec_vp9_vsi *vsi) { in validate_vsi_array_indexes()
[all …]

123