ixgbe: Remove NETIF_F_HW_VLAN_CTAG_FILTER from hw_features
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Fri, 10 Apr 2015 05:03:24 +0000 (22:03 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 10 Apr 2015 07:23:22 +0000 (00:23 -0700)
commit87031c0df521d80af3b168bb2425a8faa999b629
treef7bfe68ec2f228c22ad19fb306503b2ca0c9c657
parentea412015a2e72faf066e90765bdd1dc4e4ecea41
ixgbe: Remove NETIF_F_HW_VLAN_CTAG_FILTER from hw_features

This change makes it so that the HW_VLAN_CTAG_FILTER bit is not falsely
advertised as being a feature that can be toggled on ixgbe parts.  The
driver was setting the bit in features and letting it be inherited by
hw_features, however the driver was actually ignoring the value of the bit
and just assuming it was always set.  As a result VLAN filtering was always
enabled which is a requirement for SR-IOV, VMDq, DCB, FCoE, and possibly
other features within the adapters.

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c