Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c265 vqci->vsi_id = adapter->vsi_res->vsi_id; in iavf_configure_queues()
272 vqpi->txq.vsi_id = vqci->vsi_id; in iavf_configure_queues()
276 vqpi->rxq.vsi_id = vqci->vsi_id; in iavf_configure_queues()
310 vqs.vsi_id = adapter->vsi_res->vsi_id; in iavf_enable_queues()
335 vqs.vsi_id = adapter->vsi_res->vsi_id; in iavf_disable_queues()
379 vecmap->vsi_id = adapter->vsi_res->vsi_id; in iavf_map_queues()
388 vecmap->vsi_id = adapter->vsi_res->vsi_id; in iavf_map_queues()
476 veal->vsi_id = adapter->vsi_res->vsi_id; in iavf_add_ether_addrs()
545 veal->vsi_id = adapter->vsi_res->vsi_id; in iavf_del_ether_addrs()
616 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.c3536 adapter->vsi.id = adapter->vsi_res->vsi_id; in iavf_process_config()
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c173 static inline bool i40e_vc_isvalid_vsi_id(struct i40e_vf *vf, u16 vsi_id) in i40e_vc_isvalid_vsi_id() argument
176 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_isvalid_vsi_id()
189 static inline bool i40e_vc_isvalid_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_isvalid_queue_id() argument
193 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_isvalid_queue_id()
222 static u16 i40e_vc_get_pf_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_get_pf_queue_id() argument
226 struct i40e_vsi *vsi = i40e_find_vsi_from_id(pf, vsi_id); in i40e_vc_get_pf_queue_id()
251 static u16 i40e_get_real_pf_qid(struct i40e_vf *vf, u16 vsi_id, u16 queue_id) in i40e_get_real_pf_qid() argument
262 vsi_id = vf->ch[i].vsi_id; in i40e_get_real_pf_qid()
272 return i40e_vc_get_pf_queue_id(vf, vsi_id, queue_id); in i40e_get_real_pf_qid()
283 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.h59 u16 vsi_id; /* VSI ID used by firmware */ member
Di40e_common.c384 u16 vsi_id, bool pf_lut, in i40e_aq_get_set_rss_lut() argument
404 cmd_resp->vsi_id = in i40e_aq_get_set_rss_lut()
405 cpu_to_le16((u16)((vsi_id << in i40e_aq_get_set_rss_lut()
408 cmd_resp->vsi_id |= cpu_to_le16((u16)I40E_AQC_SET_RSS_LUT_VSI_VALID); in i40e_aq_get_set_rss_lut()
436 i40e_status i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_get_rss_lut() argument
439 return i40e_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, in i40e_aq_get_rss_lut()
453 i40e_status i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_set_rss_lut() argument
456 return i40e_aq_get_set_rss_lut(hw, vsi_id, pf_lut, lut, lut_size, true); in i40e_aq_set_rss_lut()
469 u16 vsi_id, in i40e_aq_get_set_rss_key() argument
490 cmd_resp->vsi_id = in i40e_aq_get_set_rss_key()
[all …]
Di40e_adminq_cmd.h2714 __le16 vsi_id; member
2734 __le16 vsi_id; member
/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.c1673 vfres->vsi_res[0].vsi_id = vf->lan_vsi_num; in ice_vc_get_vf_res_msg()
1729 static bool ice_vc_isvalid_vsi_id(struct ice_vf *vf, u16 vsi_id) in ice_vc_isvalid_vsi_id() argument
1734 vsi = ice_find_vsi_from_id(pf, vsi_id); in ice_vc_isvalid_vsi_id()
1747 static bool ice_vc_isvalid_q_id(struct ice_vf *vf, u16 vsi_id, u8 qid) in ice_vc_isvalid_q_id() argument
1749 struct ice_vsi *vsi = ice_find_vsi_from_id(vf->pf, vsi_id); in ice_vc_isvalid_q_id()
1789 if (!ice_vc_isvalid_vsi_id(vf, vrk->vsi_id)) { in ice_vc_config_rss_key()
1836 if (!ice_vc_isvalid_vsi_id(vf, vrl->vsi_id)) { in ice_vc_config_rss_lut()
1885 if (!ice_vc_isvalid_vsi_id(vf, vqs->vsi_id)) { in ice_vc_get_stats_msg()
1928 if (!ice_vc_isvalid_vsi_id(vf, vqs->vsi_id)) { in ice_vc_ena_qs_msg()
1956 if (!ice_vc_isvalid_q_id(vf, vqs->vsi_id, vf_q_id)) { in ice_vc_ena_qs_msg()
[all …]
Dice_common.c2571 __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
2588 cmd_resp->vsi_id = cpu_to_le16(((vsi_id << in __ice_aq_get_set_rss_lut()
2700 ice_status __ice_aq_get_set_rss_key(struct ice_hw *hw, u16 vsi_id, in __ice_aq_get_set_rss_key() argument
2717 cmd_resp->vsi_id = cpu_to_le16(((vsi_id << in __ice_aq_get_set_rss_key()
Dice_adminq_cmd.h1322 __le16 vsi_id; member
1344 __le16 vsi_id; member