aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_main.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index e32af434cc9d..0e7f086d28db 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -2651,9 +2651,16 @@ static void ixgbe_configure_rx(struct ixgbe_adapter *adapter)
2651 int rx_buf_len; 2651 int rx_buf_len;
2652 2652
2653 /* Decide whether to use packet split mode or not */ 2653 /* Decide whether to use packet split mode or not */
2654 /* On by default */
2655 adapter->flags |= IXGBE_FLAG_RX_PS_ENABLED;
2656
2654 /* Do not use packet split if we're in SR-IOV Mode */ 2657 /* Do not use packet split if we're in SR-IOV Mode */
2655 if (!adapter->num_vfs) 2658 if (adapter->num_vfs)
2656 adapter->flags |= IXGBE_FLAG_RX_PS_ENABLED; 2659 adapter->flags &= ~IXGBE_FLAG_RX_PS_ENABLED;
2660
2661 /* Disable packet split due to 82599 erratum #45 */
2662 if (hw->mac.type == ixgbe_mac_82599EB)
2663 adapter->flags &= ~IXGBE_FLAG_RX_PS_ENABLED;
2657 2664
2658 /* Set the RX buffer length according to the mode */ 2665 /* Set the RX buffer length according to the mode */
2659 if (adapter->flags & IXGBE_FLAG_RX_PS_ENABLED) { 2666 if (adapter->flags & IXGBE_FLAG_RX_PS_ENABLED) {