Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51c59870 authored by Ajit Khaparde's avatar Ajit Khaparde Committed by David S. Miller
Browse files

be2net: set netdev->vlan_features appropriately



patch to initialize netdev->vlan_features appropriately.

Signed-off-by: default avatarAjit Khaparde <ajitk@serverengines.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8528b016
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;