aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/igb/igb_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index 4ccc7fc70f53..b989b34a4adb 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -2595,6 +2595,9 @@ void igb_configure_rx_ring(struct igb_adapter *adapter,
2595 E1000_SRRCTL_BSIZEPKT_SHIFT; 2595 E1000_SRRCTL_BSIZEPKT_SHIFT;
2596 srrctl |= E1000_SRRCTL_DESCTYPE_ADV_ONEBUF; 2596 srrctl |= E1000_SRRCTL_DESCTYPE_ADV_ONEBUF;
2597 } 2597 }
2598 /* Only set Drop Enable if we are supporting multiple queues */
2599 if (adapter->vfs_allocated_count || adapter->num_rx_queues > 1)
2600 srrctl |= E1000_SRRCTL_DROP_EN;
2598 2601
2599 wr32(E1000_SRRCTL(reg_idx), srrctl); 2602 wr32(E1000_SRRCTL(reg_idx), srrctl);
2600 2603