]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
igb: Enable RSS for Intel I211 Ethernet Controller
authorNick Lowe <nick.lowe@gmail.com>
Mon, 21 Dec 2020 22:25:02 +0000 (22:25 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 19 May 2021 08:53:22 +0000 (10:53 +0200)
commitd3b6ec1f2f5a115f91d6fdc8fd4728395fa90571
tree26679c9b9e282763a9c4cd3b5b1f3587eb08b52d
parent3f05359fb8b191519257a93b9ba0051e3f160cee
igb: Enable RSS for Intel I211 Ethernet Controller

BugLink: https://bugs.launchpad.net/bugs/1928823
commit 6e6026f2dd2005844fb35c3911e8083c09952c6c upstream.

The Intel I211 Ethernet Controller supports 2 Receive Side Scaling (RSS)
queues. It should not be excluded from having this feature enabled.

Via commit c883de9fd787 ("igb: rename igb define to be more generic")
E1000_MRQC_ENABLE_RSS_4Q was renamed to E1000_MRQC_ENABLE_RSS_MQ to
indicate that this is a generic bit flag to enable queues and not
a flag that is specific to devices that support 4 queues

The bit flag enables 2, 4 or 8 queues appropriately depending on the part.

Tested with a multicore CPU and frames were then distributed as expected.

This issue appears to have been introduced because of confusion caused
by the prior name.

Signed-off-by: Nick Lowe <nick.lowe@gmail.com>
Tested-by: David Switzer <david.switzer@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/ethernet/intel/igb/igb_main.c