aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be_main.c
diff options
context:
space:
mode:
authorAjit Khaparde <ajitk@serverengines.com>2009-11-29 12:54:54 -0500
committerDavid S. Miller <davem@davemloft.net>2009-12-02 03:50:24 -0500
commit51c59870f324805ed30eaa2c0089b4cb5f9f7c71 (patch)
tree96c4d3b67a25cc019909a90b819f1262d21354f6 /drivers/net/benet/be_main.c
parent8528b016d64a7c1c97ba6540ab53a538348d5026 (diff)
be2net: set netdev->vlan_features appropriately
patch to initialize netdev->vlan_features appropriately. Signed-off-by: Ajit Khaparde <ajitk@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_main.c')
-rw-r--r--drivers/net/benet/be_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index 795936439498..2c84c92c4116 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -1951,6 +1951,8 @@ static void be_netdev_init(struct net_device *netdev)
1951 NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_FILTER | NETIF_F_HW_CSUM | 1951 NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_FILTER | NETIF_F_HW_CSUM |
1952 NETIF_F_GRO; 1952 NETIF_F_GRO;
1953 1953
1954 netdev->vlan_features |= NETIF_F_SG | NETIF_F_TSO | NETIF_F_HW_CSUM;
1955
1954 netdev->flags |= IFF_MULTICAST; 1956 netdev->flags |= IFF_MULTICAST;
1955 1957
1956 adapter->rx_csum = true; 1958 adapter->rx_csum = true;