linux_dsm_epyc7002/drivers/net/ethernet/intel/i40evf
Mitch Williams cc7e406cb9 i40evf: correctly populate vlan_features
The vlan_features field was correctly being set to the same value as the
netdev features field. However, this was being done before the features
were actually being set up, leaving the vlan_features empty.

Also, after a reset, vlan_features will be incorrectly assigned the
previous netdev feature flags, which can contain VLAN feature bits. This
makes the VLAN code angry and will cause a stack dump.

To fix these issues, set up the netdev features first, then mask out the
VLAN feature bits when assigning vlan_features.

Change-ID: Ib0548869dc83cf6a841cb8697dd94c12359ba4d2
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-10-16 04:55:29 -07:00
..
i40e_adminq_cmd.h i40e/i40evf: Add new link status defines 2015-10-13 23:15:35 -07:00
i40e_adminq.c i40e/i40evf: clean up some code 2015-10-08 16:19:55 -07:00
i40e_adminq.h i40e/i40evf: fix a potential type compare issue 2015-10-07 13:38:11 -07:00
i40e_alloc.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_common.c i40e/i40evf: Fix compile issue related to const string 2015-10-16 04:38:35 -07:00
i40e_devids.h i40e/i40evf: split device ids into a separate file 2015-10-13 23:37:13 -07:00
i40e_hmc.h i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_osdep.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_prototype.h i40e/i40evf: Fix compile issue related to const string 2015-10-16 04:38:35 -07:00
i40e_register.h i40evf: Remove PF specific register definitions from the VF 2015-08-26 15:05:17 -07:00
i40e_status.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_txrx.c drivers/net/intel: use napi_complete_done() 2015-10-16 04:33:46 -07:00
i40e_txrx.h i40e/i40evf: moderate interrupts differently 2015-10-16 04:50:38 -07:00
i40e_type.h i40e/i40evf: Refactor PHY structure and add phy_capabilities enum 2015-10-13 23:42:01 -07:00
i40e_virtchnl.h i40e/i40evf: Add WB_ON_ITR offload support 2015-10-15 02:03:29 -07:00
i40evf_ethtool.c i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40evf_main.c i40evf: correctly populate vlan_features 2015-10-16 04:55:29 -07:00
i40evf_virtchnl.c i40e/i40evf: Add WB_ON_ITR offload support 2015-10-15 02:03:29 -07:00
i40evf.h i40e/i40evf: Drop useless "IN_NETPOLL" flag 2015-10-16 04:28:57 -07:00
Makefile i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00