aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r--drivers/net/ixgbe/ixgbe_dcb_nl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_dcb_nl.c b/drivers/net/ixgbe/ixgbe_dcb_nl.c
index 1c7265732900..116f12cc2c70 100644
--- a/drivers/net/ixgbe/ixgbe_dcb_nl.c
+++ b/drivers/net/ixgbe/ixgbe_dcb_nl.c
@@ -148,7 +148,10 @@ static u8 ixgbe_dcbnl_set_state(struct net_device *netdev, u8 state)
148 IXGBE_FCRETA_SIZE; 148 IXGBE_FCRETA_SIZE;
149 netdev->features |= NETIF_F_FCOE_CRC; 149 netdev->features |= NETIF_F_FCOE_CRC;
150 netdev->features |= NETIF_F_FSO; 150 netdev->features |= NETIF_F_FSO;
151 netdev->vlan_features |= NETIF_F_FCOE_CRC;
152 netdev->vlan_features |= NETIF_F_FSO;
151 netdev->fcoe_ddp_xid = IXGBE_FCOE_DDP_MAX - 1; 153 netdev->fcoe_ddp_xid = IXGBE_FCOE_DDP_MAX - 1;
154 netdev_features_change(netdev);
152 } 155 }
153#endif /* IXGBE_FCOE */ 156#endif /* IXGBE_FCOE */
154 ixgbe_init_interrupt_scheme(adapter); 157 ixgbe_init_interrupt_scheme(adapter);
@@ -177,7 +180,10 @@ static u8 ixgbe_dcbnl_set_state(struct net_device *netdev, u8 state)
177 adapter->ring_feature[RING_F_FCOE].indices = 0; 180 adapter->ring_feature[RING_F_FCOE].indices = 0;
178 netdev->features &= ~NETIF_F_FCOE_CRC; 181 netdev->features &= ~NETIF_F_FCOE_CRC;
179 netdev->features &= ~NETIF_F_FSO; 182 netdev->features &= ~NETIF_F_FSO;
183 netdev->vlan_features &= ~NETIF_F_FCOE_CRC;
184 netdev->vlan_features &= ~NETIF_F_FSO;
180 netdev->fcoe_ddp_xid = 0; 185 netdev->fcoe_ddp_xid = 0;
186 netdev_features_change(netdev);
181 } 187 }
182#endif /* IXGBE_FCOE */ 188#endif /* IXGBE_FCOE */
183 ixgbe_init_interrupt_scheme(adapter); 189 ixgbe_init_interrupt_scheme(adapter);