Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [PATCH 0/2] do not reuse old MACs on VF reload
@ 2018-05-14 18:16 Emil Tantilov
  2018-05-14 18:16 ` [Intel-wired-lan] [PATCH 1/2] ixgbe: force VF to grab new MAC on driver reload Emil Tantilov
  2018-05-14 18:16 ` [Intel-wired-lan] [PATCH 2/2] ixgbevf: fix MAC address changes through ixgbevf_set_mac() Emil Tantilov
  0 siblings, 2 replies; 5+ messages in thread
From: Emil Tantilov @ 2018-05-14 18:16 UTC (permalink / raw)
  To: intel-wired-lan

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(-)

--


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-15 22:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-14 18:16 [Intel-wired-lan] [PATCH 0/2] do not reuse old MACs on VF reload Emil Tantilov
2018-05-14 18:16 ` [Intel-wired-lan] [PATCH 1/2] ixgbe: force VF to grab new MAC on driver reload Emil Tantilov
2018-05-15 22:52   ` Bowers, AndrewX
2018-05-14 18:16 ` [Intel-wired-lan] [PATCH 2/2] ixgbevf: fix MAC address changes through ixgbevf_set_mac() Emil Tantilov
2018-05-15 22:52   ` Bowers, AndrewX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox