Commit 933d41f1 authored by Alexander Duyck's avatar Alexander Duyck Committed by David S. Miller

ixgbe: fix TX ring enable issues seen when VMDQ is enabled

The ordering of operations was messed up in the init and as a result when
VMDQ was enabled we were trying to enable TX rings before setting the VFTE
bits. This resulted in a ring that appeared to fail to enable when in fact
it was blocked because the VFTE bits were cleared after the reset.
Signed-off-by: default avatarAlexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a1c3ed4c
...@@ -3004,7 +3004,6 @@ static void ixgbe_configure_rx(struct ixgbe_adapter *adapter) ...@@ -3004,7 +3004,6 @@ static void ixgbe_configure_rx(struct ixgbe_adapter *adapter)
/* Program registers for the distribution of queues */ /* Program registers for the distribution of queues */
ixgbe_setup_mrqc(adapter); ixgbe_setup_mrqc(adapter);
ixgbe_configure_virtualization(adapter);
ixgbe_set_uta(adapter); ixgbe_set_uta(adapter);
...@@ -3391,6 +3390,7 @@ static void ixgbe_configure(struct ixgbe_adapter *adapter) ...@@ -3391,6 +3390,7 @@ static void ixgbe_configure(struct ixgbe_adapter *adapter)
} else if (adapter->flags & IXGBE_FLAG_FDIR_PERFECT_CAPABLE) { } else if (adapter->flags & IXGBE_FLAG_FDIR_PERFECT_CAPABLE) {
ixgbe_init_fdir_perfect_82599(hw, adapter->fdir_pballoc); ixgbe_init_fdir_perfect_82599(hw, adapter->fdir_pballoc);
} }
ixgbe_configure_virtualization(adapter);
ixgbe_configure_tx(adapter); ixgbe_configure_tx(adapter);
ixgbe_configure_rx(adapter); ixgbe_configure_rx(adapter);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment