Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/avf/
Dvirtchnl.h222 u16 vsi_id; member
280 u16 vsi_id; member
298 u16 vsi_id; member
329 u16 vsi_id; member
360 u16 vsi_id; member
386 u16 vsi_id; member
414 u16 vsi_id; member
436 u16 vsi_id; member
449 u16 vsi_id; member
476 u16 vsi_id; member
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c269 vqci->vsi_id = adapter->vsi_res->vsi_id; in iavf_configure_queues()
276 vqpi->txq.vsi_id = vqci->vsi_id; in iavf_configure_queues()
280 vqpi->rxq.vsi_id = vqci->vsi_id; in iavf_configure_queues()
314 vqs.vsi_id = adapter->vsi_res->vsi_id; in iavf_enable_queues()
339 vqs.vsi_id = adapter->vsi_res->vsi_id; in iavf_disable_queues()
383 vecmap->vsi_id = adapter->vsi_res->vsi_id; in iavf_map_queues()
392 vecmap->vsi_id = adapter->vsi_res->vsi_id; in iavf_map_queues()
453 veal->vsi_id = adapter->vsi_res->vsi_id; in iavf_add_ether_addrs()
522 veal->vsi_id = adapter->vsi_res->vsi_id; in iavf_del_ether_addrs()
634 vvfl->vsi_id = adapter->vsi_res->vsi_id; in iavf_add_vlans()
[all …]
Diavf_common.c358 u16 vsi_id, bool pf_lut, in iavf_aq_get_set_rss_lut() argument
378 cmd_resp->vsi_id = in iavf_aq_get_set_rss_lut()
379 cpu_to_le16((u16)((vsi_id << in iavf_aq_get_set_rss_lut()
382 cmd_resp->vsi_id |= cpu_to_le16((u16)IAVF_AQC_SET_RSS_LUT_VSI_VALID); in iavf_aq_get_set_rss_lut()
410 enum iavf_status iavf_aq_get_rss_lut(struct iavf_hw *hw, u16 vsi_id, in iavf_aq_get_rss_lut() argument
413 return iavf_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, in iavf_aq_get_rss_lut()
427 enum iavf_status iavf_aq_set_rss_lut(struct iavf_hw *hw, u16 vsi_id, in iavf_aq_set_rss_lut() argument
430 return iavf_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, true); in iavf_aq_set_rss_lut()
443 iavf_status iavf_aq_get_set_rss_key(struct iavf_hw *hw, u16 vsi_id, in iavf_aq_get_set_rss_key() argument
464 cmd_resp->vsi_id = in iavf_aq_get_set_rss_key()
[all …]
Diavf_adminq_cmd.h494 __le16 vsi_id; member
514 __le16 vsi_id; member
Diavf_main.c3619 adapter->vsi.id = adapter->vsi_res->vsi_id; in iavf_process_config()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c179 static inline bool i40e_vc_isvalid_vsi_id(struct i40e_vf *vf, u16 vsi_id) in i40e_vc_isvalid_vsi_id() argument
182 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_isvalid_vsi_id()
195 static inline bool i40e_vc_isvalid_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_isvalid_queue_id() argument
199 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_isvalid_queue_id()
228 static u16 i40e_vc_get_pf_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_get_pf_queue_id() argument
232 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_get_pf_queue_id()
257 static u16 i40e_get_real_pf_qid(struct i40e_vf *vf, u16 vsi_id, u16 queue_id) in i40e_get_real_pf_qid() argument
268 vsi_id = vf->ch[i].vsi_id; in i40e_get_real_pf_qid()
278 return i40e_vc_get_pf_queue_id(vf, vsi_id, queue_id); in i40e_get_real_pf_qid()
289 static void i40e_config_irq_link_list(struct i40e_vf *vf, u16 vsi_id, in i40e_config_irq_link_list() argument
[all …]
Di40e_prototype.h76 i40e_status i40e_aq_set_default_vsi(struct i40e_hw *hw, u16 vsi_id,
78 i40e_status i40e_aq_clear_default_vsi(struct i40e_hw *hw, u16 vsi_id,
109 u16 vsi_id, bool set_filter,
112 u16 vsi_id, bool set, struct i40e_asq_cmd_details *cmd_details,
115 u16 vsi_id, bool set, struct i40e_asq_cmd_details *cmd_details);
146 i40e_status i40e_aq_add_macvlan(struct i40e_hw *hw, u16 vsi_id,
149 i40e_status 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.c386 u16 vsi_id, bool pf_lut, in i40e_aq_get_set_rss_lut() argument
406 cmd_resp->vsi_id = in i40e_aq_get_set_rss_lut()
407 cpu_to_le16((u16)((vsi_id << in i40e_aq_get_set_rss_lut()
410 cmd_resp->vsi_id |= cpu_to_le16((u16)I40E_AQC_SET_RSS_LUT_VSI_VALID); in i40e_aq_get_set_rss_lut()
438 i40e_status i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_get_rss_lut() argument
441 return i40e_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, in i40e_aq_get_rss_lut()
455 i40e_status i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_set_rss_lut() argument
458 return i40e_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, true); in i40e_aq_set_rss_lut()
471 u16 vsi_id, in i40e_aq_get_set_rss_key() argument
492 cmd_resp->vsi_id = in i40e_aq_get_set_rss_key()
[all …]
Di40e_adminq_cmd.h2264 __le16 vsi_id; member
2284 __le16 vsi_id; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.c1994 vfres->vsi_res[0].vsi_id = vf->lan_vsi_num; in ice_vc_get_vf_res_msg()
2053 static bool ice_vc_isvalid_vsi_id(struct ice_vf *vf, u16 vsi_id) in ice_vc_isvalid_vsi_id() argument
2058 vsi = ice_find_vsi_from_id(pf, vsi_id); in ice_vc_isvalid_vsi_id()
2071 static bool ice_vc_isvalid_q_id(struct ice_vf *vf, u16 vsi_id, u8 qid) in ice_vc_isvalid_q_id() argument
2073 struct ice_vsi *vsi = ice_find_vsi_from_id(vf->pf, vsi_id); in ice_vc_isvalid_q_id()
2113 if (!ice_vc_isvalid_vsi_id(vf, vrk->vsi_id)) { in ice_vc_config_rss_key()
2160 if (!ice_vc_isvalid_vsi_id(vf, vrl->vsi_id)) { in ice_vc_config_rss_lut()
2358 if (!ice_vc_isvalid_vsi_id(vf, info->vsi_id)) { in ice_vc_cfg_promiscuous_mode_msg()
2501 if (!ice_vc_isvalid_vsi_id(vf, vqs->vsi_id)) { in ice_vc_get_stats_msg()
2606 if (!ice_vc_isvalid_vsi_id(vf, vqs->vsi_id)) { in ice_vc_ena_qs_msg()
[all …]
Dice_common.c3248 __ice_aq_get_set_rss_lut(struct ice_hw *hw, u16 vsi_id, u8 lut_type, u8 *lut, in __ice_aq_get_set_rss_lut() argument
3265 cmd_resp->vsi_id = cpu_to_le16(((vsi_id << in __ice_aq_get_set_rss_lut()
3377 ice_status __ice_aq_get_set_rss_key(struct ice_hw *hw, u16 vsi_id, in __ice_aq_get_set_rss_key() argument
3394 cmd_resp->vsi_id = cpu_to_le16(((vsi_id << in __ice_aq_get_set_rss_key()
Dice_adminq_cmd.h1563 __le16 vsi_id; member
1585 __le16 vsi_id; member