Skip to content

Commit

Permalink
be2net: Enable NETIF_F_TSO6 for VLAN traffic for BE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Padmanabh Ratnakar authored and David S. Miller committed Jun 11, 2011
1 parent 10a8d94 commit eb8a50d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/net/benet/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit eb8a50d

Please sign in to comment.