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

Commit 9f63a7c6 authored by Scott Feldman's avatar Scott Feldman Committed by David S. Miller
Browse files

enic: bug fix: enable VLAN filtering



Bug fix: enable VLAN filtering

Signed-off-by: default avatarScott Feldman <scofeldm@cisco.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6ba9cdc0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1968,7 +1968,8 @@ static int __devinit enic_probe(struct pci_dev *pdev,
		break;
	}

	netdev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX;
	netdev->features |= NETIF_F_HW_VLAN_TX |
		NETIF_F_HW_VLAN_RX | NETIF_F_HW_VLAN_FILTER;
	if (ENIC_SETTING(enic, TXCSUM))
		netdev->features |= NETIF_F_SG | NETIF_F_HW_CSUM;
	if (ENIC_SETTING(enic, TSO))