On Wed, Sep 23, 2026 at 01:47:25PM +0200, Burakov, Anatoly wrote:
On 9/14/2026 10:17 AM, David Marchand wrote:
quoted
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: stable@dpdk.org
Signed-off-by: David Marchand <redacted>
---
Acked-by: Anatoly Burakov <redacted>
Series appled to dpdk-next-net-intel.
Thanks,
/Bruce