]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3bbe4a327477231b4efa51f6b0224627961874f6
tree281b8c4eecc23faa98160fafdc96bbac29f0f5c0
parent050a91a27c026a8169687b19eeac14e643d5f98b
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: 8eb7488e93ca ("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