Skip to contentSkip to conversation

be2net: set netdev->vlan_features appropriately

PATCH Applied Ajit Khaparde 2 participants 3 messages Nov 30, 2009 – Dec 2, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/6 be2net: set netdev->vlan_features appropriately

patch to initialize netdev->vlan_features appropriately.

---
 drivers/net/benet/be_main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/benet/be_main.c +2 -0
index 7959364..2c84c92 100644
@@ -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
#1 lore raw
Quoted 6 lines · Ajit Khaparde

patch to initialize netdev->vlan_features appropriately.

---
 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