ixgbe: fix spoofed packets with macvlans
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c +1 -0
@@ -954,6 +954,7 @@ static int ixgbe_set_vf_macvlan_msg(struct ixgbe_adapter *adapter,struct ixgbe_hw *hw = &adapter->hw; hw->mac.ops.set_mac_anti_spoofing (hw, false, vf); + hw->mac.ops.set_vlan_anti_spoofing (hw, false, vf); } }
Bowers
PATCH 1/1 ixgbe: fix spoofed packets with macvlans
Quoted 7 lines
-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Emil Tantilov
Sent: Wednesday, June 01, 2016 7:00 PM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH] ixgbe: fix spoofed packets with macvlans
Quoted 8 lines
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 <[email protected]>--- drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 1 + 1 file changed, 1 insertion(+)
Tested-by Andrew Bowers <[email protected]>
macvlan traffic passes normally