On Wed, May 28, 2025 at 9:57 PM <[email protected]> wrote:
>
> From: Sunil Kumar Kori <[email protected]>
>
> When user requests to configure a device which is already in
> configured state then first device gets resets to default and
> then reconfigured with latest parameters.
>
> While resetting the device, MAC address table is left stale which
> causes entry update in later state.
>
> Hence marking the MAC address entries as invalid to avoid any error
> due to further operation on MAC table.
>
> Fixes: b75e0aca84b0 ("net/cnxk: add device configuration operation")
> Cc: [email protected]
>
> Signed-off-by: Sunil Kumar Kori <[email protected]>
> Signed-off-by: Nithin Dabilpuram <[email protected]>
Updated the git commit as follows and applied to
dpdk-next-net-mrvl/for-main. Thanks
net/cnxk: fix invalid MAC address
When user requests to configure a device which is already in
configured state then first device gets resets to default and
then reconfigured with latest parameters.
While resetting the device, MAC address table is left stale which
causes entry update in later state.
Hence marking the MAC address entries as invalid to avoid any error
due to further operation on MAC table.
Fixes: b75e0aca84b0 ("net/cnxk: add device configuration operation")
Cc: [email protected]
Signed-off-by: Sunil Kumar Kori <[email protected]>
Signed-off-by: Nithin Dabilpuram <[email protected]>