sfc: Disable VLAN filtering by default if not strictly required
authorAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Wed, 15 Jun 2016 16:51:36 +0000 (17:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jun 2016 05:26:27 +0000 (22:26 -0700)
commiteb7cfd8c9b6e28edf339b89bf19322c11514d286
tree91a41c5b1784f409a6538221956b064aa24fdbf2
parente4478ad14f442103d7f03406933aeb28cbdfc1bd
sfc: Disable VLAN filtering by default if not strictly required

If should be done after net_dev->hw_features initialization, to keep the
feature there to be able to enable it later using ethtool.

VLAN filtering is enforced and fixed if vPort requires usage of VLAN
filters to receive tagged traffic.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/efx.c