aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/bnx2x_main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index c4c42b38bbbe..a2de0cd9c9f9 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -9349,17 +9349,9 @@ static int bnx2x_set_tso(struct net_device *dev, u32 data)
9349 if (data) { 9349 if (data) {
9350 dev->features |= (NETIF_F_TSO | NETIF_F_TSO_ECN); 9350 dev->features |= (NETIF_F_TSO | NETIF_F_TSO_ECN);
9351 dev->features |= NETIF_F_TSO6; 9351 dev->features |= NETIF_F_TSO6;
9352#ifdef BCM_VLAN
9353 dev->vlan_features |= (NETIF_F_TSO | NETIF_F_TSO_ECN);
9354 dev->vlan_features |= NETIF_F_TSO6;
9355#endif
9356 } else { 9352 } else {
9357 dev->features &= ~(NETIF_F_TSO | NETIF_F_TSO_ECN); 9353 dev->features &= ~(NETIF_F_TSO | NETIF_F_TSO_ECN);
9358 dev->features &= ~NETIF_F_TSO6; 9354 dev->features &= ~NETIF_F_TSO6;
9359#ifdef BCM_VLAN
9360 dev->vlan_features &= ~(NETIF_F_TSO | NETIF_F_TSO_ECN);
9361 dev->vlan_features &= ~NETIF_F_TSO6;
9362#endif
9363 } 9355 }
9364 9356
9365 return 0; 9357 return 0;