Home
last modified time | relevance | path

Searched refs:vsi (Results 1 – 25 of 137) sorted by relevance

123456

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_lib.c47 static int ice_vsi_ctrl_all_rx_rings(struct ice_vsi *vsi, bool ena) in ice_vsi_ctrl_all_rx_rings() argument
52 ice_for_each_rxq(vsi, i) in ice_vsi_ctrl_all_rx_rings()
53 ice_vsi_ctrl_one_rx_ring(vsi, ena, i, false); in ice_vsi_ctrl_all_rx_rings()
55 ice_flush(&vsi->back->hw); in ice_vsi_ctrl_all_rx_rings()
57 ice_for_each_rxq(vsi, i) { in ice_vsi_ctrl_all_rx_rings()
58 ret = ice_vsi_wait_one_rx_ring(vsi, ena, i); in ice_vsi_ctrl_all_rx_rings()
73 static int ice_vsi_alloc_arrays(struct ice_vsi *vsi) in ice_vsi_alloc_arrays() argument
75 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays()
79 if (vsi->type == ICE_VSI_CHNL) in ice_vsi_alloc_arrays()
83 vsi->tx_rings = devm_kcalloc(dev, vsi->alloc_txq, in ice_vsi_alloc_arrays()
[all …]
Dice_vsi_vlan_lib.c9 static void print_invalid_tpid(struct ice_vsi *vsi, u16 tpid) in print_invalid_tpid() argument
11 dev_err(ice_pf_to_dev(vsi->back), "%s %d specified invalid VLAN tpid 0x%04x\n", in print_invalid_tpid()
12 ice_vsi_type_str(vsi->type), vsi->idx, tpid); in print_invalid_tpid()
24 static bool validate_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan) in validate_vlan() argument
28 print_invalid_tpid(vsi, vlan->tpid); in validate_vlan()
40 int ice_vsi_add_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan) in ice_vsi_add_vlan() argument
44 if (!validate_vlan(vsi, vlan)) in ice_vsi_add_vlan()
47 err = ice_fltr_add_vlan(vsi, vlan); in ice_vsi_add_vlan()
49 vsi->num_vlan++; in ice_vsi_add_vlan()
53 dev_err(ice_pf_to_dev(vsi->back), "Failure Adding VLAN %d on VSI %i, status %d\n", in ice_vsi_add_vlan()
[all …]
Dice_lib.h18 void ice_update_eth_stats(struct ice_vsi *vsi);
20 void ice_vsi_cfg_msix(struct ice_vsi *vsi);
22 int ice_vsi_start_all_rx_rings(struct ice_vsi *vsi);
24 int ice_vsi_stop_all_rx_rings(struct ice_vsi *vsi);
27 ice_vsi_stop_lan_tx_rings(struct ice_vsi *vsi, enum ice_disq_rst_src rst_src,
30 int ice_vsi_stop_xdp_tx_rings(struct ice_vsi *vsi);
32 void ice_cfg_sw_lldp(struct ice_vsi *vsi, bool tx, bool create);
34 int ice_set_link(struct ice_vsi *vsi, bool ena);
36 void ice_vsi_delete(struct ice_vsi *vsi);
38 int ice_vsi_cfg_tc(struct ice_vsi *vsi, u8 ena_tc);
[all …]
Dice_fltr.c58 ice_fltr_set_vlan_vsi_promisc(struct ice_hw *hw, struct ice_vsi *vsi, in ice_fltr_set_vlan_vsi_promisc() argument
64 result = ice_set_vlan_vsi_promisc(hw, vsi->idx, promisc_mask, false); in ice_fltr_set_vlan_vsi_promisc()
68 vsi->vsi_num, result); in ice_fltr_set_vlan_vsi_promisc()
82 ice_fltr_clear_vlan_vsi_promisc(struct ice_hw *hw, struct ice_vsi *vsi, in ice_fltr_clear_vlan_vsi_promisc() argument
88 result = ice_set_vlan_vsi_promisc(hw, vsi->idx, promisc_mask, true); in ice_fltr_clear_vlan_vsi_promisc()
92 vsi->vsi_num, result); in ice_fltr_clear_vlan_vsi_promisc()
148 int ice_fltr_add_mac_list(struct ice_vsi *vsi, struct list_head *list) in ice_fltr_add_mac_list() argument
150 return ice_add_mac(&vsi->back->hw, list); in ice_fltr_add_mac_list()
158 int ice_fltr_remove_mac_list(struct ice_vsi *vsi, struct list_head *list) in ice_fltr_remove_mac_list() argument
160 return ice_remove_mac(&vsi->back->hw, list); in ice_fltr_remove_mac_list()
[all …]
Dice_base.c102 static int ice_vsi_alloc_q_vector(struct ice_vsi *vsi, u16 v_idx) in ice_vsi_alloc_q_vector() argument
104 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_q_vector()
113 q_vector->vsi = vsi; in ice_vsi_alloc_q_vector()
123 if (vsi->type == ICE_VSI_VF) { in ice_vsi_alloc_q_vector()
124 ice_calc_vf_reg_idx(vsi->vf, q_vector); in ice_vsi_alloc_q_vector()
126 } else if (vsi->type == ICE_VSI_CTRL && vsi->vf) { in ice_vsi_alloc_q_vector()
127 struct ice_vsi *ctrl_vsi = ice_get_vf_ctrl_vsi(pf, vsi); in ice_vsi_alloc_q_vector()
140 q_vector->irq = ice_alloc_irq(pf, vsi->irq_dyn_alloc); in ice_vsi_alloc_q_vector()
158 if (vsi->netdev) in ice_vsi_alloc_q_vector()
159 netif_napi_add(vsi->netdev, &q_vector->napi, ice_napi_poll); in ice_vsi_alloc_q_vector()
[all …]
Dice_arfs.c11 static bool ice_is_arfs_active(struct ice_vsi *vsi) in ice_is_arfs_active() argument
13 return !!vsi->arfs_fltr_list; in ice_is_arfs_active()
29 struct ice_vsi *vsi; in ice_is_arfs_using_perfect_flow() local
31 vsi = ice_get_main_vsi(pf); in ice_is_arfs_using_perfect_flow()
32 if (!vsi) in ice_is_arfs_using_perfect_flow()
35 arfs_fltr_cntrs = vsi->arfs_fltr_cntrs; in ice_is_arfs_using_perfect_flow()
60 ice_arfs_update_active_fltr_cntrs(struct ice_vsi *vsi, in ice_arfs_update_active_fltr_cntrs() argument
63 struct ice_arfs_active_fltr_cntrs *fltr_cntrs = vsi->arfs_fltr_cntrs; in ice_arfs_update_active_fltr_cntrs()
91 …dev_err(ice_pf_to_dev(vsi->back), "aRFS: Failed to update filter counters, invalid filter type %d\… in ice_arfs_update_active_fltr_cntrs()
106 ice_arfs_del_flow_rules(struct ice_vsi *vsi, struct hlist_head *del_list_head) in ice_arfs_del_flow_rules() argument
[all …]
Dice_vf_vsi_vlan_ops.c12 noop_vlan_arg(struct ice_vsi __always_unused *vsi, in noop_vlan_arg() argument
19 noop_vlan(struct ice_vsi __always_unused *vsi) in noop_vlan() argument
24 static void ice_port_vlan_on(struct ice_vsi *vsi) in ice_port_vlan_on() argument
27 struct ice_pf *pf = vsi->back; in ice_port_vlan_on()
30 vlan_ops = &vsi->inner_vlan_ops; in ice_port_vlan_on()
41 vlan_ops = &vsi->outer_vlan_ops; in ice_port_vlan_on()
57 static void ice_port_vlan_off(struct ice_vsi *vsi) in ice_port_vlan_off() argument
60 struct ice_pf *pf = vsi->back; in ice_port_vlan_off()
63 vlan_ops = &vsi->inner_vlan_ops; in ice_port_vlan_off()
71 vlan_ops = &vsi->outer_vlan_ops; in ice_port_vlan_off()
[all …]
Dice_main.c80 static void ice_remove_q_channels(struct ice_vsi *vsi, bool rem_adv_fltr);
117 struct ice_vsi *vsi = NULL; in ice_check_for_hang_subtask() local
124 if (pf->vsi[v] && pf->vsi[v]->type == ICE_VSI_PF) { in ice_check_for_hang_subtask()
125 vsi = pf->vsi[v]; in ice_check_for_hang_subtask()
129 if (!vsi || test_bit(ICE_VSI_DOWN, vsi->state)) in ice_check_for_hang_subtask()
132 if (!(vsi->netdev && netif_carrier_ok(vsi->netdev))) in ice_check_for_hang_subtask()
135 hw = &vsi->back->hw; in ice_check_for_hang_subtask()
137 ice_for_each_txq(vsi, i) { in ice_check_for_hang_subtask()
138 struct ice_tx_ring *tx_ring = vsi->tx_rings[i]; in ice_check_for_hang_subtask()
185 struct ice_vsi *vsi; in ice_init_mac_fltr() local
[all …]
Dice_vf_lib.c128 return vf->pf->vsi[vf->lan_vsi_idx]; in ice_get_vf_vsi()
223 struct ice_vsi *vsi = ice_get_vf_vsi(vf); in ice_vf_clear_counters() local
225 if (vsi) in ice_vf_clear_counters()
226 vsi->num_vlan = 0; in ice_vf_clear_counters()
261 struct ice_vsi *vsi = ice_get_vf_vsi(vf); in ice_vf_reconfig_vsi() local
265 if (WARN_ON(!vsi)) in ice_vf_reconfig_vsi()
268 vsi->flags = ICE_VSI_FLAG_NO_INIT; in ice_vf_reconfig_vsi()
270 ice_vsi_decfg(vsi); in ice_vf_reconfig_vsi()
271 ice_fltr_remove_all(vsi); in ice_vf_reconfig_vsi()
273 err = ice_vsi_cfg(vsi); in ice_vf_reconfig_vsi()
[all …]
Dice_vsi_vlan_lib.h18 int ice_vsi_add_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan);
19 int ice_vsi_del_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan);
21 int ice_vsi_ena_inner_stripping(struct ice_vsi *vsi, u16 tpid);
22 int ice_vsi_dis_inner_stripping(struct ice_vsi *vsi);
23 int ice_vsi_ena_inner_insertion(struct ice_vsi *vsi, u16 tpid);
24 int ice_vsi_dis_inner_insertion(struct ice_vsi *vsi);
25 int ice_vsi_set_inner_port_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan);
26 int ice_vsi_clear_inner_port_vlan(struct ice_vsi *vsi);
28 int ice_vsi_ena_rx_vlan_filtering(struct ice_vsi *vsi);
29 int ice_vsi_dis_rx_vlan_filtering(struct ice_vsi *vsi);
[all …]
Dice_vsi_vlan_ops.c11 op_unsupported_vlan_arg(struct ice_vsi * __always_unused vsi, in op_unsupported_vlan_arg() argument
18 op_unsupported_tpid_arg(struct ice_vsi *__always_unused vsi, in op_unsupported_tpid_arg() argument
24 static int op_unsupported(struct ice_vsi *__always_unused vsi) in op_unsupported() argument
55 static void ice_vsi_init_unsupported_vlan_ops(struct ice_vsi *vsi) in ice_vsi_init_unsupported_vlan_ops() argument
57 vsi->outer_vlan_ops = ops_unsupported; in ice_vsi_init_unsupported_vlan_ops()
58 vsi->inner_vlan_ops = ops_unsupported; in ice_vsi_init_unsupported_vlan_ops()
69 void ice_vsi_init_vlan_ops(struct ice_vsi *vsi) in ice_vsi_init_vlan_ops() argument
72 ice_vsi_init_unsupported_vlan_ops(vsi); in ice_vsi_init_vlan_ops()
74 switch (vsi->type) { in ice_vsi_init_vlan_ops()
76 ice_pf_vsi_init_vlan_ops(vsi); in ice_vsi_init_vlan_ops()
[all …]
Dice_virtchnl.c372 ice_vc_get_vlan_caps(struct ice_hw *hw, struct ice_vf *vf, struct ice_vsi *vsi, in ice_vc_get_vlan_caps() argument
397 ice_vf_vsi_cfg_svm_legacy_vlan_mode(vsi); in ice_vc_get_vlan_caps()
403 ice_vf_vsi_cfg_dvm_legacy_vlan_mode(vsi); in ice_vc_get_vlan_caps()
422 struct ice_vsi *vsi; in ice_vc_get_vf_res_msg() local
446 vsi = ice_get_vf_vsi(vf); in ice_vc_get_vf_res_msg()
447 if (!vsi) { in ice_vc_get_vf_res_msg()
452 vfres->vf_cap_flags |= ice_vc_get_vlan_caps(hw, vf, vsi, in ice_vc_get_vf_res_msg()
500 vfres->num_queue_pairs = vsi->num_txq; in ice_vc_get_vf_res_msg()
508 vfres->vsi_res[0].num_queue_pairs = vsi->num_txq; in ice_vc_get_vf_res_msg()
562 static bool ice_vc_isvalid_q_id(struct ice_vsi *vsi, u8 qid) in ice_vc_isvalid_q_id() argument
[all …]
Dice_xsk.c25 static void ice_qp_reset_stats(struct ice_vsi *vsi, u16 q_idx) in ice_qp_reset_stats() argument
30 pf = vsi->back; in ice_qp_reset_stats()
34 vsi_stat = pf->vsi_stats[vsi->idx]; in ice_qp_reset_stats()
42 if (vsi->xdp_rings) in ice_qp_reset_stats()
43 memset(&vsi->xdp_rings[q_idx]->ring_stats->stats, 0, in ice_qp_reset_stats()
44 sizeof(vsi->xdp_rings[q_idx]->ring_stats->stats)); in ice_qp_reset_stats()
52 static void ice_qp_clean_rings(struct ice_vsi *vsi, u16 q_idx) in ice_qp_clean_rings() argument
54 ice_clean_tx_ring(vsi->tx_rings[q_idx]); in ice_qp_clean_rings()
55 if (vsi->xdp_rings) in ice_qp_clean_rings()
56 ice_clean_tx_ring(vsi->xdp_rings[q_idx]); in ice_qp_clean_rings()
[all …]
Dice_sf_eth.c35 struct ice_vsi *vsi = dyn_port->vsi; in ice_sf_cfg_netdev() local
40 netdev = alloc_etherdev_mqs(sizeof(*np), vsi->alloc_txq, in ice_sf_cfg_netdev()
41 vsi->alloc_rxq); in ice_sf_cfg_netdev()
45 SET_NETDEV_DEV(netdev, &vsi->back->pdev->dev); in ice_sf_cfg_netdev()
46 set_bit(ICE_VSI_NETDEV_ALLOCD, vsi->state); in ice_sf_cfg_netdev()
47 vsi->netdev = netdev; in ice_sf_cfg_netdev()
49 np->vsi = vsi; in ice_sf_cfg_netdev()
66 vsi->netdev = NULL; in ice_sf_cfg_netdev()
69 set_bit(ICE_VSI_NETDEV_REGISTERED, vsi->state); in ice_sf_cfg_netdev()
76 static void ice_sf_decfg_netdev(struct ice_vsi *vsi) in ice_sf_decfg_netdev() argument
[all …]
Dice_vsi_vlan_ops.h13 int (*add_vlan)(struct ice_vsi *vsi, struct ice_vlan *vlan);
14 int (*del_vlan)(struct ice_vsi *vsi, struct ice_vlan *vlan);
15 int (*ena_stripping)(struct ice_vsi *vsi, const u16 tpid);
16 int (*dis_stripping)(struct ice_vsi *vsi);
17 int (*ena_insertion)(struct ice_vsi *vsi, const u16 tpid);
18 int (*dis_insertion)(struct ice_vsi *vsi);
19 int (*ena_rx_filtering)(struct ice_vsi *vsi);
20 int (*dis_rx_filtering)(struct ice_vsi *vsi);
21 int (*ena_tx_filtering)(struct ice_vsi *vsi);
22 int (*dis_tx_filtering)(struct ice_vsi *vsi);
[all …]
Dice_ethtool.c35 return ((np->vsi->alloc_txq + np->vsi->alloc_rxq) * in ice_q_stats_len()
432 struct ice_vsi *vsi) in __ice_get_drvinfo() argument
434 struct ice_pf *pf = vsi->back; in __ice_get_drvinfo()
460 __ice_get_drvinfo(netdev, drvinfo, np->vsi); in ice_get_drvinfo()
786 pf = np->vsi->back; in ice_get_extended_regs()
788 pi = np->vsi->port_info; in ice_get_extended_regs()
791 if (np->vsi->type != ICE_VSI_PF || !pi) in ice_get_extended_regs()
820 struct ice_pf *pf = np->vsi->back; in ice_get_regs()
836 struct ice_pf *pf = np->vsi->back; in ice_get_msglevel()
850 struct ice_pf *pf = np->vsi->back; in ice_set_msglevel()
[all …]
Dice.h162 #define ice_for_each_txq(vsi, i) \ argument
163 for ((i) = 0; (i) < (vsi)->num_txq; (i)++)
165 #define ice_for_each_xdp_txq(vsi, i) \ argument
166 for ((i) = 0; (i) < (vsi)->num_xdp_txq; (i)++)
168 #define ice_for_each_rxq(vsi, i) \ argument
169 for ((i) = 0; (i) < (vsi)->num_rxq; (i)++)
172 #define ice_for_each_alloc_txq(vsi, i) \ argument
173 for ((i) = 0; (i) < (vsi)->alloc_txq; (i)++)
175 #define ice_for_each_alloc_rxq(vsi, i) \ argument
176 for ((i) = 0; (i) < (vsi)->alloc_rxq; (i)++)
[all …]
Dice_base.h9 int ice_vsi_cfg_single_rxq(struct ice_vsi *vsi, u16 q_idx);
10 int ice_vsi_cfg_rxqs(struct ice_vsi *vsi);
13 ice_vsi_ctrl_one_rx_ring(struct ice_vsi *vsi, bool ena, u16 rxq_idx, bool wait);
14 int ice_vsi_wait_one_rx_ring(struct ice_vsi *vsi, bool ena, u16 rxq_idx);
15 int ice_vsi_alloc_q_vectors(struct ice_vsi *vsi);
16 void ice_vsi_map_rings_to_vectors(struct ice_vsi *vsi);
17 void ice_vsi_free_q_vectors(struct ice_vsi *vsi);
18 int ice_vsi_cfg_single_txq(struct ice_vsi *vsi, struct ice_tx_ring **tx_rings,
20 int ice_vsi_cfg_lan_txqs(struct ice_vsi *vsi);
21 int ice_vsi_cfg_xdp_txqs(struct ice_vsi *vsi);
[all …]
Dice_fltr.h11 ice_fltr_set_vlan_vsi_promisc(struct ice_hw *hw, struct ice_vsi *vsi,
14 ice_fltr_clear_vlan_vsi_promisc(struct ice_hw *hw, struct ice_vsi *vsi,
23 ice_fltr_add_mac_to_list(struct ice_vsi *vsi, struct list_head *list,
26 ice_fltr_add_mac(struct ice_vsi *vsi, const u8 *mac,
29 ice_fltr_add_mac_and_broadcast(struct ice_vsi *vsi, const u8 *mac,
31 int ice_fltr_add_mac_list(struct ice_vsi *vsi, struct list_head *list);
33 ice_fltr_remove_mac(struct ice_vsi *vsi, const u8 *mac,
35 int ice_fltr_remove_mac_list(struct ice_vsi *vsi, struct list_head *list);
37 int ice_fltr_add_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan);
38 int ice_fltr_remove_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan);
[all …]
/linux-6.12.1/drivers/infiniband/hw/irdma/
Dws.c18 static struct irdma_ws_node *irdma_alloc_node(struct irdma_sc_vsi *vsi, in irdma_alloc_node() argument
33 node_index = irdma_alloc_ws_node_id(vsi->dev); in irdma_alloc_node()
42 node->vsi_index = vsi->vsi_idx; in irdma_alloc_node()
46 node->traffic_class = vsi->qos[user_pri].traffic_class; in irdma_alloc_node()
48 node->rel_bw = vsi->qos[user_pri].rel_bw; in irdma_alloc_node()
52 node->lan_qs_handle = vsi->qos[user_pri].lan_qos_handle; in irdma_alloc_node()
70 static void irdma_free_node(struct irdma_sc_vsi *vsi, in irdma_free_node() argument
76 irdma_free_ws_node_id(vsi->dev, node->index); in irdma_free_node()
89 static int irdma_ws_cqp_cmd(struct irdma_sc_vsi *vsi, in irdma_ws_cqp_cmd() argument
95 node_info.vsi = node->vsi_index; in irdma_ws_cqp_cmd()
[all …]
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_vp9_if.c202 struct vdec_vp9_vsi *vsi; member
210 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_is_sf_ref_fb() local
212 for (i = 0; i < ARRAY_SIZE(vsi->sf_ref_fb); i++) { in vp9_is_sf_ref_fb()
213 if (fb == &vsi->sf_ref_fb[i].fb) in vp9_is_sf_ref_fb()
266 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_ref_cnt_fb() local
269 if (ref_idx >= 0 && vsi->frm_bufs[ref_idx].ref_cnt > 0) { in vp9_ref_cnt_fb()
270 vsi->frm_bufs[ref_idx].ref_cnt--; in vp9_ref_cnt_fb()
272 if (vsi->frm_bufs[ref_idx].ref_cnt == 0) { in vp9_ref_cnt_fb()
274 vsi->frm_bufs[ref_idx].buf.fb)) { in vp9_ref_cnt_fb()
278 vsi->frm_bufs[ref_idx].buf.fb->base_y.va); in vp9_ref_cnt_fb()
[all …]
Dvdec_vp9_req_lat_if.c387 struct vdec_vp9_slice_vsi vsi; member
486 struct vdec_vp9_slice_vsi *vsi; member
508 struct vdec_vp9_slice_init_vsi *vsi; in vdec_vp9_slice_init_default_frame_ctx() local
512 vsi = instance->vpu.vsi; in vdec_vp9_slice_init_default_frame_ctx()
513 if (!ctx || !vsi) in vdec_vp9_slice_init_default_frame_ctx()
517 (u32)vsi->default_frame_ctx); in vdec_vp9_slice_init_default_frame_ctx()
542 struct vdec_vp9_slice_vsi *vsi) in vdec_vp9_slice_alloc_working_buffer() argument
557 w = vsi->frame.uh.frame_width; in vdec_vp9_slice_alloc_working_buffer()
558 h = vsi->frame.uh.frame_height; in vdec_vp9_slice_alloc_working_buffer()
657 static void vdec_vp9_slice_vsi_from_remote(struct vdec_vp9_slice_vsi *vsi, in vdec_vp9_slice_vsi_from_remote() argument
[all …]
Dvdec_av1_req_lat_if.c678 struct vdec_av1_slice_vsi vsi; member
734 struct vdec_av1_slice_vsi *vsi; member
772 struct vdec_av1_slice_init_vsi *vsi; in vdec_av1_slice_init_cdf_table() local
776 vsi = instance->vpu.vsi; in vdec_av1_slice_init_cdf_table()
778 (u32)vsi->cdf_table_addr); in vdec_av1_slice_init_cdf_table()
788 instance->cdf_table.size = vsi->cdf_table_size; in vdec_av1_slice_init_cdf_table()
794 memcpy(instance->cdf_table.va, remote_cdf_table, vsi->cdf_table_size); in vdec_av1_slice_init_cdf_table()
803 struct vdec_av1_slice_init_vsi *vsi; in vdec_av1_slice_init_iq_table() local
807 vsi = instance->vpu.vsi; in vdec_av1_slice_init_iq_table()
809 (u32)vsi->iq_table_addr); in vdec_av1_slice_init_iq_table()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_main.c34 static void i40e_vsi_reinit_locked(struct i40e_vsi *vsi);
36 static int i40e_add_vsi(struct i40e_vsi *vsi);
37 static int i40e_add_veb(struct i40e_veb *veb, struct i40e_vsi *vsi);
238 if (pile == pf->qp_pile && pf->vsi[id]->type == I40E_VSI_FDIR) { in i40e_get_lump()
313 struct i40e_vsi *vsi; in i40e_find_vsi_from_id() local
316 i40e_pf_for_each_vsi(pf, i, vsi) in i40e_find_vsi_from_id()
317 if (vsi->id == id) in i40e_find_vsi_from_id()
318 return vsi; in i40e_find_vsi_from_id()
349 struct i40e_vsi *vsi = np->vsi; in i40e_tx_timeout() local
350 struct i40e_pf *pf = vsi->back; in i40e_tx_timeout()
[all …]
Di40e_debugfs.c104 struct i40e_vsi *vsi; in i40e_dbg_dump_vsi_seid() local
107 vsi = i40e_dbg_find_vsi(pf, seid); in i40e_dbg_dump_vsi_seid()
108 if (!vsi) { in i40e_dbg_dump_vsi_seid()
114 if (vsi->netdev) { in i40e_dbg_dump_vsi_seid()
115 struct net_device *nd = vsi->netdev; in i40e_dbg_dump_vsi_seid()
128 vsi->flags, vsi->netdev_registered, vsi->current_netdev_flags); in i40e_dbg_dump_vsi_seid()
132 i, vsi->state[i]); in i40e_dbg_dump_vsi_seid()
133 if (vsi->type == I40E_VSI_MAIN) in i40e_dbg_dump_vsi_seid()
137 hash_for_each(vsi->mac_filter_hash, bkt, f, hlist) { in i40e_dbg_dump_vsi_seid()
144 vsi->active_filters, vsi->promisc_threshold, in i40e_dbg_dump_vsi_seid()
[all …]

123456