diff options
author | Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com> | 2011-06-11 15:58:46 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-11 15:58:46 -0700 |
commit | eb8a50d9a6118a310c0b01d47091a2a5d994b549 (patch) | |
tree | f594d70bd9480c34e00bd9d3592a919ad516dd5a /drivers | |
parent | 10a8d94a95742bb15b4e617ee9884bb4381362be (diff) |
be2net: Enable NETIF_F_TSO6 for VLAN traffic for BE
NETIF_F_TSO6 for VLAN packets was not enabled for BE adapters.
Enabling it.
Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/benet/be_main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 9ba197b09788..6ddaa34121e8 100644 --- a/drivers/net/benet/be_main.c +++ b/drivers/net/benet/be_main.c @@ -2925,12 +2925,9 @@ static void be_netdev_init(struct net_device *netdev) netdev->features |= netdev->hw_features | NETIF_F_HW_VLAN_RX | NETIF_F_HW_VLAN_FILTER; - netdev->vlan_features |= NETIF_F_SG | NETIF_F_TSO | + netdev->vlan_features |= NETIF_F_SG | NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; - if (lancer_chip(adapter)) - netdev->vlan_features |= NETIF_F_TSO6; - netdev->flags |= IFF_MULTICAST; /* Default settings for Rx and Tx flow control */ |