On 9/14/2026 10:17 AM, David Marchand wrote:
When resetting, calling iavf_dev_uninit + iavf_dev_init results in
leaking the previous dev->data->mac_addrs array.
As a consequence, secondary MAC addresses are lost during a VF reset.

Move the MAC addresses array in the private iavf_info structure, along
the multicast MAC addresses.
Set/clear dev->data->mac_addrs in iavf_dev_init/iavf_dev_uninit.

Consistently use RTE_DIM() to avoid mixing with the multicast addresses
array.

Fixes: e74e1bb6280d ("net/iavf: enable port reset")
Cc: [email protected]

Signed-off-by: David Marchand <[email protected]>
---

Acked-by: Anatoly Burakov <[email protected]>

--
Thanks,
Anatoly

Reply via email to