Skip to content

Commit 6e6026f

Browse files
nickloweanguy11
authored andcommitted
igb: Enable RSS for Intel I211 Ethernet Controller
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 <[email protected]> Tested-by: David Switzer <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
1 parent abb9efc commit 6e6026f

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
@@ -4482,8 +4482,7 @@ static void igb_setup_mrqc(struct igb_adapter *adapter)
44824482
else
44834483
mrqc |= E1000_MRQC_ENABLE_VMDQ;
44844484
} else {
4485-
if (hw->mac.type != e1000_i211)
4486-
mrqc |= E1000_MRQC_ENABLE_RSS_MQ;
4485+
mrqc |= E1000_MRQC_ENABLE_RSS_MQ;
44874486
}
44884487
igb_vmm_control(adapter);
44894488

0 commit comments

Comments
 (0)