ixgbe: fix spoofed packets with macvlans
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 2 Jun 2016 01:59:44 +0000 (18:59 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 29 Jun 2016 20:06:31 +0000 (13:06 -0700)
commit581e0c7df90b1a7f92e7ac3e69000b414319f161
treea8a039d00c2465403ce19f5cec9579eb61079cdc
parent918b89e77fa554e185a5cc09d10655397aacdfa2
ixgbe: fix spoofed packets with macvlans

When setting spoofing, both VLAN and MAC need to be set together.
This change resolves an issue where MAC-VLANs on the VF fail to pass
traffic due to spoofed packets.

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_sriov.c