ice: update the number of available RSS queues
authorHenry Tieman <henry.w.tieman@intel.com>
Thu, 3 Dec 2020 17:20:24 +0000 (09:20 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 22 Feb 2021 19:28:57 +0000 (11:28 -0800)
commit0393e46ac48a6832b1011c233ebcef84f8dbe4f5
tree281b8c4eecc23faa98160fafdc96bbac29f0f5c0
parent0d4907f65dc8fc5e897ad19956fca1acb3b33bc8
ice: update the number of available RSS queues

It was possible to have Rx queues that were not available for use
by RSS. This would happen when increasing the number of Rx queues
while there was a user defined RSS LUT.

Always update the number of available RSS queues when changing the
number of Rx queues.

Fixes: 87324e747fde ("ice: Implement ethtool ops for channels")
Signed-off-by: Henry Tieman <henry.w.tieman@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_ethtool.c