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>
This commit is contained in:
parent
10a8d94a95
commit
eb8a50d9a6
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user