]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:40:32 +0000 (16:40 -0700)
commit249cd0381747f28d2ef89fc641e037141a7aabd2
treee00e551da441c7dab906a3962e0b666ce4c7c72f
parent61afad9613e6c93fae4c0e5c78f9146a8129319e
ixgbe: Fix VLAN promisc in relation to SR-IOV

Orabug: 23177316

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: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c