Home
last modified time | relevance | path

Searched defs:vsi (Results 1 – 25 of 70) 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()
136 static void ice_vsi_set_num_desc(struct ice_vsi *vsi) in ice_vsi_set_num_desc()
165 static void ice_vsi_set_num_qs(struct ice_vsi *vsi, u16 vf_id) in ice_vsi_set_num_qs()
271 static void ice_vsi_delete(struct ice_vsi *vsi) in ice_vsi_delete()
299 static void ice_vsi_free_arrays(struct ice_vsi *vsi) in ice_vsi_free_arrays()
342 static int ice_vsi_clear(struct ice_vsi *vsi) in ice_vsi_clear()
428 struct ice_vsi *vsi = NULL; in ice_vsi_alloc() local
518 static int ice_alloc_fd_res(struct ice_vsi *vsi) in ice_alloc_fd_res()
565 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_main.c84 struct ice_vsi *vsi = NULL; in ice_check_for_hang_subtask() local
143 struct ice_vsi *vsi; in ice_init_mac_fltr() local
171 struct ice_vsi *vsi = np->vsi; in ice_add_mac_to_sync_list() local
193 struct ice_vsi *vsi = np->vsi; in ice_add_mac_to_unsync_list() local
216 static bool ice_vsi_fltr_changed(struct ice_vsi *vsi) in ice_vsi_fltr_changed()
230 static int ice_cfg_promisc(struct ice_vsi *vsi, u8 promisc_m, bool set_promisc) in ice_cfg_promisc()
262 static int ice_vsi_sync_fltr(struct ice_vsi *vsi) in ice_vsi_sync_fltr()
617 static void ice_print_topo_conflict(struct ice_vsi *vsi) in ice_print_topo_conflict()
640 void ice_print_link_msg(struct ice_vsi *vsi, bool isup) in ice_print_link_msg()
775 static void ice_vsi_link_event(struct ice_vsi *vsi, bool link_up) in ice_vsi_link_event()
[all …]
Dice_base.c101 static int ice_vsi_alloc_q_vector(struct ice_vsi *vsi, u16 v_idx) in ice_vsi_alloc_q_vector()
147 static void ice_free_q_vector(struct ice_vsi *vsi, int v_idx) in ice_free_q_vector()
211 static u16 ice_calc_q_handle(struct ice_vsi *vsi, struct ice_ring *ring, u8 tc) in ice_calc_q_handle()
253 struct ice_vsi *vsi = ring->vsi; in ice_setup_tx_ctx() local
336 struct ice_vsi *vsi = ring->vsi; in ice_setup_rx_ctx() local
557 ice_vsi_ctrl_one_rx_ring(struct ice_vsi *vsi, bool ena, u16 rxq_idx, bool wait) in ice_vsi_ctrl_one_rx_ring()
595 int ice_vsi_wait_one_rx_ring(struct ice_vsi *vsi, bool ena, u16 rxq_idx) in ice_vsi_wait_one_rx_ring()
610 int ice_vsi_alloc_q_vectors(struct ice_vsi *vsi) in ice_vsi_alloc_q_vectors()
647 void ice_vsi_map_rings_to_vectors(struct ice_vsi *vsi) in ice_vsi_map_rings_to_vectors()
702 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()
129 static void ice_qvec_ena_irq(struct ice_vsi *vsi, struct ice_q_vector *q_vector) in ice_qvec_ena_irq()
146 static int ice_qp_dis(struct ice_vsi *vsi, u16 q_idx) in ice_qp_dis()
203 static int ice_qp_ena(struct ice_vsi *vsi, u16 q_idx) in ice_qp_ena()
268 static int ice_xsk_pool_disable(struct ice_vsi *vsi, u16 qid) in ice_xsk_pool_disable()
290 ice_xsk_pool_enable(struct ice_vsi *vsi, struct xsk_buff_pool *pool, u16 qid) in ice_xsk_pool_enable()
[all …]
Dice_ethtool.c176 struct ice_vsi *vsi = np->vsi; in ice_get_drvinfo() local
261 struct ice_vsi *vsi = np->vsi; in ice_get_eeprom() local
466 static int ice_lbtest_prepare_rings(struct ice_vsi *vsi) in ice_lbtest_prepare_rings()
505 static int ice_lbtest_disable_rings(struct ice_vsi *vsi) in ice_lbtest_disable_rings()
873 struct ice_vsi *vsi = np->vsi; in ice_get_strings() local
953 struct ice_vsi *vsi = np->vsi; in ice_set_fec_cfg() local
997 struct ice_vsi *vsi = np->vsi; in ice_set_fecparam() local
1034 struct ice_vsi *vsi = np->vsi; in ice_get_fecparam() local
1097 struct ice_vsi *vsi = np->vsi; in ice_nway_reset() local
1122 struct ice_vsi *vsi = np->vsi; in ice_get_priv_flags() local
[all …]
Dice_virtchnl_pf.c520 struct ice_vsi *vsi; in ice_dis_vf_mappings() local
601 struct ice_vsi *vsi = ice_get_vf_vsi(vf); in ice_dis_vf_qs() local
765 static int ice_vsi_manage_pvid(struct ice_vsi *vsi, u16 pvid_info, bool enable) in ice_vsi_manage_pvid()
831 struct ice_vsi *vsi; in ice_vf_vsi_setup() local
858 struct ice_vsi *vsi; in ice_vf_ctrl_vsi_setup() local
896 struct ice_vsi *vsi = ice_get_vf_vsi(vf); in ice_vf_rebuild_host_vlan_cfg() local
933 struct ice_vsi *vsi = ice_get_vf_vsi(vf); in ice_vf_rebuild_host_mac_cfg() local
1037 struct ice_vsi *vsi = ice_get_vf_vsi(vf); in ice_ena_vf_q_mappings() local
1084 struct ice_vsi *vsi = ice_get_vf_vsi(vf); in ice_ena_vf_mappings() local
1315 ice_vf_set_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m, in ice_vf_set_vsi_promisc()
[all …]
Dice_arfs.h55 static inline void ice_clear_arfs(struct ice_vsi *vsi) { } in ice_clear_arfs()
56 static inline void ice_free_cpu_rx_rmap(struct ice_vsi *vsi) { } in ice_free_cpu_rx_rmap()
57 static inline void ice_init_arfs(struct ice_vsi *vsi) { } in ice_init_arfs()
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 static inline void ice_dcbnl_setup(struct ice_vsi *vsi) { } in ice_dcbnl_setup()
15 static inline void ice_dcbnl_set_all(struct ice_vsi *vsi) { } in ice_dcbnl_set_all()
Dice_dcb_lib.h76 ice_dcb_get_tc(struct ice_vsi __always_unused *vsi, in ice_dcb_get_tc()
117 static inline void ice_vsi_cfg_dcb_rings(struct ice_vsi *vsi) { } in ice_vsi_cfg_dcb_rings()
121 static inline void ice_vsi_cfg_netdev_tc(struct ice_vsi *vsi, u8 ena_tc) { } in ice_vsi_cfg_netdev_tc()
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()
662 struct ice_vsi *vsi = pf->vsi[v]; in ice_pf_dcb_recfg() local
Dice_idc.c76 struct ice_vsi *vsi; in ice_add_rdma_qset() local
130 struct ice_vsi *vsi; in ice_del_rdma_qset() local
191 struct ice_vsi *vsi; in ice_rdma_update_vsi_filter() 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()
/drivers/net/ethernet/intel/i40e/
Di40e_main.c332 struct i40e_vsi *vsi = np->vsi; in i40e_tx_timeout() local
409 struct rtnl_link_stats64 *i40e_get_vsi_stats_struct(struct i40e_vsi *vsi) in i40e_get_vsi_stats_struct()
447 struct i40e_vsi *vsi = np->vsi; in i40e_get_netdev_stats_struct() local
504 void i40e_vsi_reset_stats(struct i40e_vsi *vsi) in i40e_vsi_reset_stats()
565 static u32 i40e_compute_pci_to_hw_id(struct i40e_vsi *vsi, struct i40e_hw *hw) in i40e_compute_pci_to_hw_id()
682 i40e_stats_update_rx_discards(struct i40e_vsi *vsi, struct i40e_hw *hw, in i40e_stats_update_rx_discards()
704 void i40e_update_eth_stats(struct i40e_vsi *vsi) in i40e_update_eth_stats()
855 static void i40e_update_vsi_stats(struct i40e_vsi *vsi) in i40e_update_vsi_stats()
1211 void i40e_update_stats(struct i40e_vsi *vsi) in i40e_update_stats()
1227 int i40e_count_filters(struct i40e_vsi *vsi) in i40e_count_filters()
[all …]
Di40e_virtchnl_pf.c261 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_isvalid_vsi_id() local
278 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_isvalid_queue_id() local
311 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_get_pf_queue_id() local
635 struct i40e_vsi *vsi; in i40e_config_vsi_tx_queue() local
711 struct i40e_vsi *vsi = pf->vsi[vf->lan_vsi_idx]; in i40e_config_vsi_rx_queue() local
801 struct i40e_vsi *vsi; in i40e_alloc_vsi_res() local
1203 static int __i40e_getnum_vf_vsi_vlan_filters(struct i40e_vsi *vsi) in __i40e_getnum_vf_vsi_vlan_filters()
1222 static int i40e_getnum_vf_vsi_vlan_filters(struct i40e_vsi *vsi) in i40e_getnum_vf_vsi_vlan_filters()
1242 static void i40e_get_vlan_list_sync(struct i40e_vsi *vsi, u16 *num_vlans, in i40e_get_vlan_list_sync()
1375 struct i40e_vsi *vsi; in i40e_config_vf_promiscuous_mode() local
[all …]
Di40e_ethtool.c1156 struct i40e_vsi *vsi = np->vsi; in i40e_set_link_ksettings() local
1601 struct i40e_vsi *vsi = np->vsi; in i40e_set_pauseparam() local
1907 struct i40e_vsi *vsi = np->vsi; in i40e_get_drvinfo() local
1925 struct i40e_vsi *vsi = pf->vsi[pf->lan_vsi]; in i40e_get_ringparam() local
1937 static bool i40e_active_tx_ring_index(struct i40e_vsi *vsi, u16 index) in i40e_active_tx_ring_index()
1954 struct i40e_vsi *vsi = np->vsi; in i40e_set_ringparam() local
2181 struct i40e_vsi *vsi = np->vsi; in i40e_get_stats_count() local
2212 struct i40e_vsi *vsi = np->vsi; in i40e_get_sset_count() local
2294 struct i40e_vsi *vsi = np->vsi; in i40e_get_ethtool_stats() local
2372 struct i40e_vsi *vsi = np->vsi; in i40e_get_stat_strings() local
[all …]
Di40e_client.c46 int i40e_client_get_params(struct i40e_vsi *vsi, struct i40e_params *params) in i40e_client_get_params()
83 i40e_notify_client_of_vf_msg(struct i40e_vsi *vsi, u32 vf_id, u8 *msg, u16 len) in i40e_notify_client_of_vf_msg()
109 void i40e_notify_client_of_l2_param_changes(struct i40e_vsi *vsi) in i40e_notify_client_of_l2_param_changes()
168 void i40e_notify_client_of_netdev_close(struct i40e_vsi *vsi, bool reset) in i40e_notify_client_of_netdev_close()
341 struct i40e_vsi *vsi = pf->vsi[pf->lan_vsi]; in i40e_client_add_instance() local
407 struct i40e_vsi *vsi = pf->vsi[pf->lan_vsi]; in i40e_client_subtask() local
674 struct i40e_vsi *vsi = pf->vsi[pf->lan_vsi]; in i40e_client_update_vsi_ctxt() local
Di40e_xsk.c63 int i40e_realloc_rx_bi_zc(struct i40e_vsi *vsi, bool zc) in i40e_realloc_rx_bi_zc()
85 static int i40e_xsk_pool_enable(struct i40e_vsi *vsi, in i40e_xsk_pool_enable()
141 static int i40e_xsk_pool_disable(struct i40e_vsi *vsi, u16 qid) in i40e_xsk_pool_disable()
186 int i40e_xsk_pool_setup(struct i40e_vsi *vsi, struct xsk_buff_pool *pool, in i40e_xsk_pool_setup()
576 bool i40e_clean_xdp_tx_irq(struct i40e_vsi *vsi, struct i40e_ring *tx_ring) in i40e_clean_xdp_tx_irq()
640 struct i40e_vsi *vsi = np->vsi; in i40e_xsk_wakeup() local
723 bool i40e_xsk_any_rx_ring_enabled(struct i40e_vsi *vsi) in i40e_xsk_any_rx_ring_enabled()
Di40e_txrx.c92 struct i40e_vsi *vsi; in i40e_program_fdir_filter() local
386 static int i40e_add_del_fdir_udp(struct i40e_vsi *vsi, in i40e_add_del_fdir_udp()
434 static int i40e_add_del_fdir_tcp(struct i40e_vsi *vsi, in i40e_add_del_fdir_tcp()
488 static int i40e_add_del_fdir_sctp(struct i40e_vsi *vsi, in i40e_add_del_fdir_sctp()
537 static int i40e_add_del_fdir_ip(struct i40e_vsi *vsi, in i40e_add_del_fdir_ip()
592 int i40e_add_del_fdir(struct i40e_vsi *vsi, in i40e_add_del_fdir()
875 void i40e_detect_recover_hung(struct i40e_vsi *vsi) in i40e_detect_recover_hung()
929 static bool i40e_clean_tx_irq(struct i40e_vsi *vsi, in i40e_clean_tx_irq()
1060 static void i40e_enable_wb_on_itr(struct i40e_vsi *vsi, in i40e_enable_wb_on_itr()
1094 void i40e_force_wb(struct i40e_vsi *vsi, struct i40e_q_vector *q_vector) in i40e_force_wb()
[all …]
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/infiniband/hw/irdma/
Dws.c19 static struct irdma_ws_node *irdma_alloc_node(struct irdma_sc_vsi *vsi, in irdma_alloc_node()
71 static void irdma_free_node(struct irdma_sc_vsi *vsi, in irdma_free_node()
91 irdma_ws_cqp_cmd(struct irdma_sc_vsi *vsi, struct irdma_ws_node *node, u8 cmd) in irdma_ws_cqp_cmd()
157 static bool irdma_tc_in_use(struct irdma_sc_vsi *vsi, u8 user_pri) in irdma_tc_in_use()
187 static void irdma_remove_leaf(struct irdma_sc_vsi *vsi, u8 user_pri) in irdma_remove_leaf()
237 enum irdma_status_code irdma_ws_add(struct irdma_sc_vsi *vsi, u8 user_pri) in irdma_ws_add()
385 void irdma_ws_remove(struct irdma_sc_vsi *vsi, u8 user_pri) in irdma_ws_remove()
399 void irdma_ws_reset(struct irdma_sc_vsi *vsi) in irdma_ws_reset()
Dmain.c160 static enum irdma_status_code irdma_lan_register_qset(struct irdma_sc_vsi *vsi, in irdma_lan_register_qset()
188 static void irdma_lan_unregister_qset(struct irdma_sc_vsi *vsi, in irdma_lan_unregister_qset()
219 struct ice_vsi *vsi) in irdma_fill_device_info()
257 struct ice_vsi *vsi = ice_get_main_vsi(pf); in irdma_probe() 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