linux/drivers/net/ethernet/intel
Jacob Keller d5596fd467 i40e: enable NETIF_F_NTUPLE and NETIF_F_HW_TC at driver load
The assignment of the feature flag NETIF_F_NTUPLE and NETIF_F_HW_TC
occurs prior to the initial setup of the local hw_features variable.

This means the features are set as user-changeable, but are not set in
the currently active feature list. This results in the features being
disabled at the driver's initial load.

Move the assignment after the initial assignment of hw_features, and
assign to the local variable. This ensures that NETIF_F_NTUPLE and
NETIF_F_HW_TC are marked as user-changeable, and also enables them by
default when the driver loads.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-11-07 10:32:15 -08:00
..
e1000 e1000: remove set but not used variable 'txb2b' 2018-09-19 23:09:23 -07:00
e1000e pci-v4.20-changes 2018-10-25 06:50:48 -07:00
fm10k fm10k: bump driver version to match out-of-tree release 2018-10-31 10:49:15 -07:00
i40e i40e: enable NETIF_F_NTUPLE and NETIF_F_HW_TC at driver load 2018-11-07 10:32:15 -08:00
iavf drivers: net: remove <net/busy_poll.h> inclusion when not needed 2018-10-25 16:20:02 -07:00
ice ice: Change req_speeds to be u16 2018-11-07 09:37:28 -08:00
igb igb: shorten maximum PHC timecounter update interval 2018-11-06 12:54:27 -08:00
igbvf intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
igc igc: Add watchdog 2018-10-17 13:58:47 -07:00
ixgb Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-09-25 10:35:29 -07:00
ixgbe ixgbe: fix MAC anti-spoofing filter after VFLR 2018-10-31 11:05:51 -07:00
ixgbevf ixgbe/ixgbevf: fix XFRM_ALGO dependency 2018-10-31 10:53:15 -07:00
e100.c intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
Kconfig ixgbe/ixgbevf: fix XFRM_ALGO dependency 2018-10-31 10:53:15 -07:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00