]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Fix ordering of things so that PF correctly configures its VLANs
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 23 May 2012 05:39:25 +0000 (05:39 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 15 Sep 2012 22:47:23 +0000 (15:47 -0700)
commit5b85dcca481c65fa36466bc508aaef9b33b1286f
tree5aa8fed4e360f95e76efdd41f0621a1760c32d59
parentad7c0c25b549c356ede513d16b16944f9c28ca29
ixgbe: Fix ordering of things so that PF correctly configures its VLANs

The PF was not correctly registering any of its VLANs.  As a result any
VLAN tagged traffic from the VF would not be delivered to the PF because
the VLAN was never assigned to the PF pool.

In addition the VF was not allowed to receive traffic from VLAN 0 if it was
allowed to receive untagged frames.  This change corrects that so that it
will correctly receive traffic from VLAN 0.

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