|
@@ -3660,8 +3660,6 @@ static void ixgbe_configure_dcb(struct ixgbe_adapter *adapter)
|
|
|
if (hw->mac.type == ixgbe_mac_82598EB)
|
|
|
netif_set_gso_max_size(adapter->netdev, 32768);
|
|
|
|
|
|
- hw->mac.ops.set_vfta(&adapter->hw, 0, 0, true);
|
|
|
-
|
|
|
#ifdef IXGBE_FCOE
|
|
|
if (adapter->netdev->features & NETIF_F_FCOE_MTU)
|
|
|
max_frame = max(max_frame, IXGBE_FCOE_JUMBO_FRAME_SIZE);
|
|
@@ -3861,6 +3859,11 @@ static void ixgbe_configure(struct ixgbe_adapter *adapter)
|
|
|
#ifdef CONFIG_IXGBE_DCB
|
|
|
ixgbe_configure_dcb(adapter);
|
|
|
#endif
|
|
|
+ /*
|
|
|
+ * We must restore virtualization before VLANs or else
|
|
|
+ * the VLVF registers will not be populated
|
|
|
+ */
|
|
|
+ ixgbe_configure_virtualization(adapter);
|
|
|
|
|
|
ixgbe_set_rx_mode(adapter->netdev);
|
|
|
ixgbe_restore_vlan(adapter);
|
|
@@ -3892,8 +3895,6 @@ static void ixgbe_configure(struct ixgbe_adapter *adapter)
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
- ixgbe_configure_virtualization(adapter);
|
|
|
-
|
|
|
#ifdef IXGBE_FCOE
|
|
|
/* configure FCoE L2 filters, redirection table, and Rx control */
|
|
|
ixgbe_configure_fcoe(adapter);
|