]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ixgbe: Fix VLAN promisc in relation to SR-IOV
authorAlexander Duyck <aduyck@mirantis.com>
Tue, 3 Nov 2015 01:10:19 +0000 (17:10 -0800)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Feb 2016 15:56:47 +0000 (08:56 -0700)
commitad740b71fba84e3d17bc0507d2cb696935cd944b
treed8a42643580b389de9f6fe4960fbe8d3e786dc0e
parent6c39aa938110688cbbd9ad8628f2dc388926e384
ixgbe: Fix VLAN promisc in relation to SR-IOV

BugLink: http://bugs.launchpad.net/bugs/1536473
This patch is a follow-on for enabling VLAN promiscuous and allowing the PF
to add VLANs without adding a VLVF entry.  What this patch does is go
through and free the VLVF registers if they are not needed as the VLAN
belongs only to the PF which is the default pool.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit e1d0a2af2b30f5f0cbce2e4dd438d4da2433b226)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c