]> 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)
commitb2951e0b95cd045ea2a7442f9fdb0bf8039ea8e2
tree281b8c4eecc23faa98160fafdc96bbac29f0f5c0
parent94e44bcfa1d1e33230f8e6a05239c5ed4eee82d7
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: b13396ff6434 ("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