ixgbe: simplify the logic for setting VLAN filtering
authorEmil Tantilov <emil.s.tantilov@intel.com>
Mon, 22 Aug 2016 23:17:46 +0000 (16:17 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Sep 2016 07:03:37 +0000 (00:03 -0700)
commit691e412132f07bd566934b7cbc430e87c5656de1
tree243b0cc23e98a75b91b3fb5a8546f321fe28fa94
parentcdd0766d7da19085e88df86d1e5e21d9fe3d374f
ixgbe: simplify the logic for setting VLAN filtering

Simplify the logic for setting VLNCTRL.VFE by checking the  VMDQ flag
and 82598 MAC instead of having to maintain a list of MAC types.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c