Home
last modified time | relevance | path

Searched refs:vsi_id (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c232 static inline bool i40e_vc_isvalid_vsi_id(struct i40e_vf *vf, u16 vsi_id) in i40e_vc_isvalid_vsi_id() argument
235 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_isvalid_vsi_id()
248 static inline bool i40e_vc_isvalid_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_isvalid_queue_id() argument
252 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_isvalid_queue_id()
281 static u16 i40e_vc_get_pf_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_get_pf_queue_id() argument
285 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_get_pf_queue_id()
310 static u16 i40e_get_real_pf_qid(struct i40e_vf *vf, u16 vsi_id, u16 queue_id) in i40e_get_real_pf_qid() argument
321 vsi_id = vf->ch[i].vsi_id; in i40e_get_real_pf_qid()
331 return i40e_vc_get_pf_queue_id(vf, vsi_id, queue_id); in i40e_get_real_pf_qid()
342 static void i40e_config_irq_link_list(struct i40e_vf *vf, u16 vsi_id, in i40e_config_irq_link_list() argument
[all …]
Di40e_prototype.h92 int i40e_aq_set_default_vsi(struct i40e_hw *hw, u16 vsi_id,
94 int i40e_aq_clear_default_vsi(struct i40e_hw *hw, u16 vsi_id,
125 u16 vsi_id, bool set_filter,
127 int i40e_aq_set_vsi_unicast_promiscuous(struct i40e_hw *hw, u16 vsi_id, bool set,
130 int i40e_aq_set_vsi_multicast_promiscuous(struct i40e_hw *hw, u16 vsi_id, bool set,
162 int i40e_aq_add_macvlan(struct i40e_hw *hw, u16 vsi_id,
170 int i40e_aq_remove_macvlan(struct i40e_hw *hw, u16 vsi_id,
Di40e_virtchnl_pf.h60 u16 vsi_id; /* VSI ID used by firmware */ member
Di40e_common.c240 u16 vsi_id, bool pf_lut, in i40e_aq_get_set_rss_lut() argument
260 cmd_resp->vsi_id = in i40e_aq_get_set_rss_lut()
261 cpu_to_le16((u16)((vsi_id << in i40e_aq_get_set_rss_lut()
264 cmd_resp->vsi_id |= cpu_to_le16((u16)I40E_AQC_SET_RSS_LUT_VSI_VALID); in i40e_aq_get_set_rss_lut()
292 int i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_get_rss_lut() argument
295 return i40e_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, in i40e_aq_get_rss_lut()
309 int i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_set_rss_lut() argument
312 return i40e_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, true); in i40e_aq_set_rss_lut()
325 u16 vsi_id, in i40e_aq_get_set_rss_key() argument
346 cmd_resp->vsi_id = in i40e_aq_get_set_rss_key()
[all …]
Di40e_adminq_cmd.h2275 __le16 vsi_id; member
2295 __le16 vsi_id; member
/Linux-v6.6/include/linux/avf/
Dvirtchnl.h219 u16 vsi_id; member
285 u16 vsi_id; member
303 u16 vsi_id; member
341 u16 vsi_id; member
378 u16 vsi_id; member
408 u16 vsi_id; member
463 u16 vsi_id; member
486 u16 vsi_id; member
846 u16 vsi_id; member
873 u16 vsi_id; member
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c296 vqci->vsi_id = adapter->vsi_res->vsi_id; in iavf_configure_queues()
303 vqpi->txq.vsi_id = vqci->vsi_id; in iavf_configure_queues()
307 vqpi->rxq.vsi_id = vqci->vsi_id; in iavf_configure_queues()
341 vqs.vsi_id = adapter->vsi_res->vsi_id; in iavf_enable_queues()
366 vqs.vsi_id = adapter->vsi_res->vsi_id; in iavf_disable_queues()
410 vecmap->vsi_id = adapter->vsi_res->vsi_id; in iavf_map_queues()
419 vecmap->vsi_id = adapter->vsi_res->vsi_id; in iavf_map_queues()
492 veal->vsi_id = adapter->vsi_res->vsi_id; in iavf_add_ether_addrs()
560 veal->vsi_id = adapter->vsi_res->vsi_id; in iavf_del_ether_addrs()
699 vvfl->vsi_id = adapter->vsi_res->vsi_id; in iavf_add_vlans()
[all …]
Diavf_common.c357 u16 vsi_id, bool pf_lut, in iavf_aq_get_set_rss_lut() argument
377 cmd_resp->vsi_id = in iavf_aq_get_set_rss_lut()
378 cpu_to_le16((u16)((vsi_id << in iavf_aq_get_set_rss_lut()
381 cmd_resp->vsi_id |= cpu_to_le16((u16)IAVF_AQC_SET_RSS_LUT_VSI_VALID); in iavf_aq_get_set_rss_lut()
409 enum iavf_status iavf_aq_set_rss_lut(struct iavf_hw *hw, u16 vsi_id, in iavf_aq_set_rss_lut() argument
412 return iavf_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, true); in iavf_aq_set_rss_lut()
425 iavf_status iavf_aq_get_set_rss_key(struct iavf_hw *hw, u16 vsi_id, in iavf_aq_get_set_rss_key() argument
446 cmd_resp->vsi_id = in iavf_aq_get_set_rss_key()
447 cpu_to_le16((u16)((vsi_id << in iavf_aq_get_set_rss_key()
450 cmd_resp->vsi_id |= cpu_to_le16((u16)IAVF_AQC_SET_RSS_KEY_VSI_VALID); in iavf_aq_get_set_rss_key()
[all …]
Diavf_adminq_cmd.h494 __le16 vsi_id; member
514 __le16 vsi_id; member
Diavf_fdir.c663 vc_msg->vsi_id = adapter->vsi.id; in iavf_fill_fdir_add_msg()
Diavf_main.c2487 adapter->vsi.id = adapter->vsi_res->vsi_id; in iavf_parse_vf_resource_msg()
/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_virtchnl.c506 vfres->vsi_res[0].vsi_id = vf->lan_vsi_num; in ice_vc_get_vf_res_msg()
550 bool ice_vc_isvalid_vsi_id(struct ice_vf *vf, u16 vsi_id) in ice_vc_isvalid_vsi_id() argument
555 vsi = ice_find_vsi(pf, vsi_id); in ice_vc_isvalid_vsi_id()
568 static bool ice_vc_isvalid_q_id(struct ice_vf *vf, u16 vsi_id, u8 qid) in ice_vc_isvalid_q_id() argument
570 struct ice_vsi *vsi = ice_find_vsi(vf->pf, vsi_id); in ice_vc_isvalid_q_id()
914 if (!ice_vc_isvalid_vsi_id(vf, vrk->vsi_id)) { in ice_vc_config_rss_key()
960 if (!ice_vc_isvalid_vsi_id(vf, vrl->vsi_id)) { in ice_vc_config_rss_lut()
1014 if (!ice_vc_isvalid_vsi_id(vf, info->vsi_id)) { in ice_vc_cfg_promiscuous_mode_msg()
1148 if (!ice_vc_isvalid_vsi_id(vf, vqs->vsi_id)) { in ice_vc_get_stats_msg()
1252 if (!ice_vc_isvalid_vsi_id(vf, vqs->vsi_id)) { in ice_vc_ena_qs_msg()
[all …]
Dice_virtchnl.h65 bool ice_vc_isvalid_vsi_id(struct ice_vf *vf, u16 vsi_id);
82 static inline bool ice_vc_isvalid_vsi_id(struct ice_vf *vf, u16 vsi_id) in ice_vc_isvalid_vsi_id() argument
Dice_idc.c176 int ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable) in ice_rdma_update_vsi_filter() argument
184 vsi = ice_find_vsi(pf, vsi_id); in ice_rdma_update_vsi_filter()
Dice_virtchnl_fdir.c97 ice_vc_fdir_param_check(struct ice_vf *vf, u16 vsi_id) in ice_vc_fdir_param_check() argument
110 if (vsi_id != vf->lan_vsi_num) in ice_vc_fdir_param_check()
113 if (!ice_vc_isvalid_vsi_id(vf, vsi_id)) in ice_vc_fdir_param_check()
1811 ret = ice_vc_fdir_param_check(vf, fltr->vsi_id); in ice_vc_add_fdir_fltr()
1939 ret = ice_vc_fdir_param_check(vf, fltr->vsi_id); in ice_vc_del_fdir_fltr()
Dice_switch.h170 u16 vsi_id:10; member
Dice_common.c3974 u16 opcode, vsi_id, vsi_handle = params->vsi_handle, glob_lut_idx = 0; in __ice_aq_get_set_rss_lut() local
3998 vsi_id = ice_get_hw_vsi_num(hw, vsi_handle); in __ice_aq_get_set_rss_lut()
3999 desc_params->vsi_id = cpu_to_le16(vsi_id | ICE_AQC_RSS_VSI_VALID); in __ice_aq_get_set_rss_lut()
4047 __ice_aq_get_set_rss_key(struct ice_hw *hw, u16 vsi_id, in __ice_aq_get_set_rss_key() argument
4062 desc_params->vsi_id = cpu_to_le16(vsi_id | ICE_AQC_RSS_VSI_VALID); in __ice_aq_get_set_rss_key()
Dice_adminq_cmd.h1801 __le16 vsi_id; member
1844 __le16 vsi_id; member
/Linux-v6.6/include/linux/net/intel/
Diidc.h79 int ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable);