]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix a port VLAN configuration bug
authorGreg Rose <gregory.v.rose@intel.com>
Thu, 23 Jul 2015 20:54:31 +0000 (16:54 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 30 Sep 2015 12:16:36 +0000 (05:16 -0700)
commit176aad72dd6a967ea9a13ce0cdae79501df6325d
tree2216062b2746da5a56b43d2a13b3a42ffad78872
parent24193aa14df9435644b5d48effb251e0634c4abf
i40e: Fix a port VLAN configuration bug

If a port VLAN is set for a given virtual function (VF) before the VF
driver is loaded then a configuration error results in which the port
VLAN is ignored when the VF driver is subsequently loaded.  This causes
the VF's MAC/VLAN filters to not use the correct VLAN filter.  This
patch ensures that the port VLAN filter is considered at the right time
during configuration of the VF's MAC/VLAN filters.

Change-ID: I28f404cbc21a4c6d70a7980b87c77f13f06685a4
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c