From: Padmanabh Ratnakar Date: Sat, 11 Jun 2011 22:58:46 +0000 (-0700) Subject: be2net: Enable NETIF_F_TSO6 for VLAN traffic for BE X-Git-Tag: MMI-PSA29.97-13-9~18929^2~450^2~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eb8a50d9a6118a310c0b01d47091a2a5d994b549;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: David S. Miller --- 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 */