Skip to content

do not reuse old MACs on VF reload

Emil Tantilov intel-wired-lan 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ixgbe: force VF to grab new MAC on driver reloaddrivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c+1 -41 reply
2/2ixgbevf: fix MAC address changes through ixgbevf_set_mac()drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c+1 -01 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchAndrew Bowers
1/2T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Intel-wired-lan] [PATCH 0/2] do not reuse old MACs on VF reload

The following series changes the logic associated with MAC address handling. In particular it aims to avoid re-using MAC addresses from older VFs.

On the PF side we NACK the validation of the MAC on VF reset unless the MAC was set by the PF and remove the warning so it does not get spammed.

On the VF we need to set hw->mac.perm_addr in ixgbevf_set_mac() in order to avoid the driver keeping 2 MACs and lose the manually set MAC in case of a reset which will then lead to spoofed packets.

---

Emil Tantilov (2):
ixgbe: force VF to grab new MAC on driver reload
ixgbevf: fix MAC address changes through ixgbevf_set_mac()

 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c    |    5 +----
 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c |    1 +
 2 files changed, 2 insertions(+), 4 deletions(-)

--