be2net: set netdev->vlan_features appropriately
Subsystems (2)
PATCH 1/6 be2net: set netdev->vlan_features appropriately
patch to initialize netdev->vlan_features appropriately.
Signed-off-by Ajit Khaparde <[email protected]>
--- drivers/net/benet/be_main.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/benet/be_main.c +2 -0
@@ -1951,6 +1951,8 @@ static void be_netdev_init(struct net_device *netdev)NETIF_F_HW_VLAN_TX |NETIF_F_HW_VLAN_FILTER |NETIF_F_HW_CSUM |NETIF_F_GRO ; + netdev->vlan_features |=NETIF_F_SG |NETIF_F_TSO |NETIF_F_HW_CSUM ; + netdev->flags |=IFF_MULTICAST ; adapter->rx_csum = true;
Signature · 1 line
1.6.3.3
Quoted 6 lines · Ajit Khaparde
patch to initialize
netdev->vlan_featuresappropriately.Signed-off-by Ajit Khaparde <[email protected]>--- drivers/net/benet/be_main.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
Dave,
I waited for the following patch from Alexander Duyck to be accepted. But since I did not see any activity on it, I sent my patch series without considering that. Please let me know if you did not like it.
http://patchwork.ozlabs.org/patch/39265/
-Ajit
From: Ajit Khaparde <[email protected]>
Date: Mon, 30 Nov 2009 09:24:54 +0530
Quoted 3 lines
patch to initialize
netdev->vlan_featuresappropriately.Signed-off-by Ajit Khaparde <[email protected]>
Applied.