diff options
author | Brett Creeley <brett.creeley@intel.com> | 2019-08-08 07:39:31 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-09-05 08:13:40 -0700 |
commit | 34cdcb165b05acfce9b0b6611306ec24740ea91b (patch) | |
tree | d7e335be8793d43be63d9f7b1ba95b6a97636066 /drivers/net/ethernet/intel/ice/ice_sched.c | |
parent | 0e5b36bc4c1fccfc18dd851d960781589c16dae8 (diff) | |
download | linux-34cdcb165b05acfce9b0b6611306ec24740ea91b.tar.gz linux-34cdcb165b05acfce9b0b6611306ec24740ea91b.tar.bz2 linux-34cdcb165b05acfce9b0b6611306ec24740ea91b.zip |
ice: Update fields in ice_vsi_set_num_qs when reconfiguring
Currently when vsi->req_txqs or vsi->req_rxqs are set we don't
correctly set the number of vsi->num_q_vectors. Fix this by
setting the number of queue vectors based on the max
between the vsi->alloc_txqs and vsi->alloc_rxqs.
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_sched.c')
0 files changed, 0 insertions, 0 deletions