i40e: function to reconfigure RSS queues and rebuild
This is the second of 3 patches that allows for changing the number of queues in the driver on the fly. This patch adds a function that calls the reinit flow for the main VSI after making changes to the RSS queue count as requested by the user. Change-Id: I82dee91e9fe90eeb4e84a7369f4b8b342155dd85 Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:

committed by
Jeff Kirsher

parent
bc7d338fbb
commit
f8ff14640a
@@ -199,6 +199,7 @@ struct i40e_pf {
|
||||
u16 num_tc_qps; /* num queue pairs per TC */
|
||||
u16 num_lan_qps; /* num lan queues this pf has set up */
|
||||
u16 num_lan_msix; /* num queue vectors for the base pf vsi */
|
||||
int queues_left; /* queues left unclaimed */
|
||||
u16 rss_size; /* num queues in the RSS array */
|
||||
u16 rss_size_max; /* HW defined max RSS queues */
|
||||
u16 fdir_pf_filter_count; /* num of guaranteed filters for this PF */
|
||||
@@ -530,6 +531,7 @@ struct i40e_vsi *i40e_vsi_setup(struct i40e_pf *pf, u8 type,
|
||||
int i40e_vsi_release(struct i40e_vsi *vsi);
|
||||
struct i40e_vsi *i40e_vsi_lookup(struct i40e_pf *pf, enum i40e_vsi_type type,
|
||||
struct i40e_vsi *start_vsi);
|
||||
int i40e_reconfig_rss_queues(struct i40e_pf *pf, int queue_count);
|
||||
struct i40e_veb *i40e_veb_setup(struct i40e_pf *pf, u16 flags, u16 uplink_seid,
|
||||
u16 downlink_seid, u8 enabled_tc);
|
||||
void i40e_veb_release(struct i40e_veb *veb);
|
||||
|
Reference in New Issue
Block a user