ixgbe: fix setting port VLAN
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 10 Dec 2014 05:28:51 +0000 (05:28 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Feb 2015 03:57:47 +0000 (19:57 -0800)
commit42ce2c8ef6a9bc1459965f8a5a1e7a87049ef1af
treeb38f4b354fce6e78adf43906ca0639748a4f7f86
parent9295edb472dcd85cb27d2f23dc2e6bae054a0228
ixgbe: fix setting port VLAN

This patch fixes couple of issues introduced by
commit 2b509c0cd292 ("ixgbe: cleanup ixgbe_ndo_set_vf_vlan")

- fix setting of the VLAN inside ixgbe_enable_port_vlan()
- disable the "hide VLAN" bit in PFQDE when port VLAN is disabled

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c