Skip to content

Commit d3b6ec1

Browse files
nicklowesmb49
authored andcommitted
igb: Enable RSS for Intel I211 Ethernet Controller
BugLink: https://bugs.launchpad.net/bugs/1928823 commit 6e6026f 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 c883de9 ("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>
1 parent 3f05359 commit d3b6ec1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/net/ethernet/intel/igb/igb_main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4326,8 +4326,7 @@ static void igb_setup_mrqc(struct igb_adapter *adapter)
43264326
else
43274327
mrqc |= E1000_MRQC_ENABLE_VMDQ;
43284328
} else {
4329-
if (hw->mac.type != e1000_i211)
4330-
mrqc |= E1000_MRQC_ENABLE_RSS_MQ;
4329+
mrqc |= E1000_MRQC_ENABLE_RSS_MQ;
43314330
}
43324331
igb_vmm_control(adapter);
43334332

0 commit comments

Comments
 (0)