Home
last modified time | relevance | path

Searched refs:vsi_num (Results 1 – 23 of 23) sorted by relevance

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_lib.c295 ctxt->vsi_num = vsi->vsi_num; in ice_vsi_delete_from_hw()
302 vsi->vsi_num, status); in ice_vsi_delete_from_hw()
874 vsi->vsi_num, status); in ice_vsi_clean_rss_flow_fld()
1358 vsi->vsi_num = ctxt->vsi_num; in ice_vsi_init()
1595 vsi->vsi_num); in ice_vsi_set_vf_rss_flow_fld()
1602 vsi->vsi_num, status); in ice_vsi_set_vf_rss_flow_fld()
1618 u16 vsi_handle = vsi->idx, vsi_num = vsi->vsi_num; in ice_vsi_set_rss_flow_fld() local
1627 vsi_num); in ice_vsi_set_rss_flow_fld()
1635 vsi_num, status); in ice_vsi_set_rss_flow_fld()
1642 vsi_num, status); in ice_vsi_set_rss_flow_fld()
[all …]
H A Dice_lag.c184 u16 s_rule_sz, vsi_num; in ice_lag_cfg_dflt_fltr() local
191 vsi_num = ice_get_hw_vsi_num(hw, 0); in ice_lag_cfg_dflt_fltr()
204 act = (vsi_num << ICE_SINGLE_ACT_VSI_ID_S) & in ice_lag_cfg_dflt_fltr()
316 u16 vsi_num, u16 numq, u8 tc) in ice_lag_qbuf_recfg() argument
325 q_ctx = ice_get_lan_q_ctx(hw, vsi_num, tc, i); in ice_lag_qbuf_recfg()
342 qid = pf->vsi[vsi_num]->txq_map[q_ctx->q_handle]; in ice_lag_qbuf_recfg()
431 u16 vsi_num, u8 tc) in ice_lag_move_vf_node_tc() argument
443 ctx = ice_get_vsi_ctx(&lag->pf->hw, vsi_num); in ice_lag_move_vf_node_tc()
485 valq = ice_lag_qbuf_recfg(&lag->pf->hw, qbuf, vsi_num, numq, tc); in ice_lag_move_vf_node_tc()
592 u16 vsi_num) in ice_lag_move_single_vf_nodes() argument
[all …]
H A Dice.h217 u16 vsi_num; member
349 u16 vsi_num; /* HW (absolute) index of this VSI */ member
822 static inline struct ice_vsi *ice_find_vsi(struct ice_pf *pf, u16 vsi_num) in ice_find_vsi() argument
827 if (pf->vsi[i] && pf->vsi[i]->vsi_num == vsi_num) in ice_find_vsi()
H A Dice_eswitch.c270 if (max_vsi_num < vsi->vsi_num) in ice_eswitch_setup_reprs()
271 max_vsi_num = vsi->vsi_num; in ice_eswitch_setup_reprs()
285 dst->u.port_info.port_id = vsi->vsi_num; in ice_eswitch_setup_reprs()
315 repr->dst->u.port_info.port_id = vsi->vsi_num; in ice_eswitch_update_repr()
H A Dice_vsi_vlan_lib.c54 vlan->vid, vsi->vsi_num, err); in ice_vsi_add_vlan()
82 vlan->vid, vsi->vsi_num, err); in ice_vsi_del_vlan()
355 ena ? "En" : "Dis", vsi->idx, vsi->vsi_num, status, in ice_cfg_vlan_pruning()
402 enable ? "ON" : "OFF", vsi->vsi_num, err); in ice_cfg_vlan_antispoof()
H A Dice_main.c282 vsi->vsi_num, promisc_m); in ice_set_promisc()
309 vsi->vsi_num, promisc_m); in ice_clear_promisc()
384 vsi->vsi_num); in ice_vsi_sync_fltr()
417 err, vsi->vsi_num); in ice_vsi_sync_fltr()
441 err, vsi->vsi_num); in ice_vsi_sync_fltr()
459 err, vsi->vsi_num); in ice_vsi_sync_fltr()
1906 vsi->vsi_num, retcode); in ice_force_phys_link_state()
1935 vsi->vsi_num, retcode); in ice_force_phys_link_state()
2158 vsi->vsi_num, err); in ice_configure_phy()
2179 vsi->vsi_num, err); in ice_configure_phy()
[all …]
H A Dice_fltr.c68 vsi->vsi_num, result); in ice_fltr_set_vlan_vsi_promisc()
92 vsi->vsi_num, result); in ice_fltr_clear_vlan_vsi_promisc()
H A Dice_virtchnl_fdir.c503 prof_id = ICE_FLOW_PROF_FD(vf_vsi->vsi_num, in ice_vc_fdir_rem_prof()
508 u16 vsi_num = ice_get_hw_vsi_num(hw, vf_prof->vsi_h[i]); in ice_vc_fdir_rem_prof() local
510 ice_rem_prof_id_flow(hw, ICE_BLK_FD, vsi_num, prof_id); in ice_vc_fdir_rem_prof()
683 prof_id = ICE_FLOW_PROF_FD(vf_vsi->vsi_num, flow, in ice_vc_fdir_write_flow_prof()
1429 u16 vsi_num; in ice_vf_fdir_dump_info() local
1440 vsi_num = ice_get_hw_vsi_num(hw, vf_vsi->idx); in ice_vf_fdir_dump_info()
1442 fd_size = rd32(hw, VSIQF_FD_SIZE(vsi_num)); in ice_vf_fdir_dump_info()
1443 fd_cnt = rd32(hw, VSIQF_FD_CNT(vsi_num)); in ice_vf_fdir_dump_info()
H A Dice_ethtool_fdir.c370 u16 vsi_num; in ice_fdir_erase_flow_from_hw() local
374 vsi_num = ice_get_hw_vsi_num(hw, prof->vsi_h[j]); in ice_fdir_erase_flow_from_hw()
375 ice_rem_prof_id_flow(hw, blk, vsi_num, prof_id); in ice_fdir_erase_flow_from_hw()
536 u16 vsi_num = ice_get_hw_vsi_num(hw, vsi->idx); in ice_fdir_num_avail_fltr() local
544 num_guar -= (rd32(hw, VSIQF_FD_CNT(vsi_num)) & in ice_fdir_num_avail_fltr()
747 u16 vsi_num = ice_get_hw_vsi_num(hw, hw_prof->vsi_h[idx]); in ice_fdir_set_hw_fltr_rule() local
751 ice_rem_prof_id_flow(hw, ICE_BLK_FD, vsi_num, prof_id); in ice_fdir_set_hw_fltr_rule()
H A Dice_base.c367 tlan_ctx->src_vsi = ring->ch->vsi_num; in ice_setup_tx_ctx()
734 dev_dbg(dev, "VSI %d has existing q_vectors\n", vsi->vsi_num); in ice_vsi_alloc_q_vectors()
751 vsi->num_q_vectors, vsi->vsi_num, err); in ice_vsi_alloc_q_vectors()
H A Dice_vf_lib.c300 vsi->vsi_num = ice_get_hw_vsi_num(&pf->hw, vsi->idx); in ice_vf_rebuild_vsi()
301 vf->lan_vsi_num = vsi->vsi_num; in ice_vf_rebuild_vsi()
1094 enable ? "ON" : "OFF", vsi->vsi_num, err); in ice_cfg_mac_antispoof()
H A Dice_switch.c1479 cmd->vsi_num = cpu_to_le16(vsi_ctx->vsi_num | in ice_aq_add_vsi()
1491 vsi_ctx->vsi_num = le16_to_cpu(res->vsi_num) & ICE_AQ_VSI_NUM_M; in ice_aq_add_vsi()
1522 cmd->vsi_num = cpu_to_le16(vsi_ctx->vsi_num | ICE_AQ_VSI_IS_VALID); in ice_aq_free_vsi()
1557 cmd->vsi_num = cpu_to_le16(vsi_ctx->vsi_num | ICE_AQ_VSI_IS_VALID); in ice_aq_update_vsi()
1594 return hw->vsi_ctx[vsi_handle]->vsi_num; in ice_get_hw_vsi_num()
1710 tmp_vsi_ctx->vsi_num = vsi_ctx->vsi_num; in ice_add_vsi()
1734 vsi_ctx->vsi_num = ice_get_hw_vsi_num(hw, vsi_handle); in ice_free_vsi()
1756 vsi_ctx->vsi_num = ice_get_hw_vsi_num(hw, vsi_handle); in ice_update_vsi()
H A Dice_ethtool.c694 vsi->vsi_num, status); in ice_lbtest_disable_rings()
699 vsi->vsi_num, status); in ice_lbtest_disable_rings()
2519 vsi->vsi_num); in ice_set_rss_hash_opt()
2526 vsi->vsi_num); in ice_set_rss_hash_opt()
2533 vsi->vsi_num); in ice_set_rss_hash_opt()
2540 vsi->vsi_num, status); in ice_set_rss_hash_opt()
2565 vsi->vsi_num); in ice_get_rss_hash_opt()
2572 vsi->vsi_num); in ice_get_rss_hash_opt()
2579 vsi->vsi_num); in ice_get_rss_hash_opt()
H A Dice_sriov.c242 vf->lan_vsi_num = vsi->vsi_num; in ice_vf_vsi_setup()
1148 vf_vsi->type, vf_vsi->vsi_num, vf->vf_id); in ice_set_vf_spoofchk()
1162 ena ? "ON" : "OFF", vf->vf_id, vf_vsi->vsi_num, ret); in ice_set_vf_spoofchk()
H A Dice_switch.h37 u16 vsi_num; member
H A Dice_common.h228 ice_lldp_fltr_add_remove(struct ice_hw *hw, u16 vsi_num, bool add);
H A Dice_virtchnl.c859 vsi->vsi_num, v_ret); in ice_vc_handle_rss_cfg()
1272 vf_q_id, vsi->vsi_num); in ice_vc_ena_qs_msg()
1325 q_id, vsi->vsi_num); in ice_vf_vsi_dis_single_txq()
1336 q_id, vsi->vsi_num); in ice_vf_vsi_dis_single_txq()
1406 vsi->vsi_num); in ice_vc_dis_qs_msg()
1426 vf_q_id, vsi->vsi_num); in ice_vc_dis_qs_msg()
H A Dice_adminq_cmd.h343 __le16 vsi_num; member
368 __le16 vsi_num; member
1794 __le16 vsi_num; member
H A Dice_common.c5581 ice_lldp_fltr_add_remove(struct ice_hw *hw, u16 vsi_num, bool add) in ice_lldp_fltr_add_remove() argument
5595 cmd->vsi_num = cpu_to_le16(vsi_num); in ice_lldp_fltr_add_remove()
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dmain.c218 ice_rdma_update_vsi_filter(pf, iwdev->vsi_num, false); in irdma_remove()
236 rf->default_vsi.vsi_idx = vsi->vsi_num; in irdma_fill_device_info()
247 iwdev->vsi_num = vsi->vsi_num; in irdma_fill_device_info()
302 ice_rdma_update_vsi_filter(pf, iwdev->vsi_num, true); in irdma_probe()
H A Di40iw_if.c93 iwdev->vsi_num = 0; in i40iw_fill_device_info()
H A Dmain.h349 u16 vsi_num; member
H A Dhw.c1806 vsi_info.pf_data_vsi_num = iwdev->vsi_num; in irdma_rt_init_hw()