[PATCH v2 1/1] net/cnxk: mark invalid MAC address if it doesn't exist

Jerin Jacob jerinjacobk at gmail.com
Thu May 29 17:44:00 CEST 2025


On Wed, May 28, 2025 at 9:57 PM <skori at marvell.com> wrote:
>
> From: Sunil Kumar Kori <skori at marvell.com>
>
> 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: stable at dpdk.org
>
> Signed-off-by: Sunil Kumar Kori <skori at marvell.com>
> Signed-off-by: Nithin Dabilpuram <ndabilpuram at marvell.com>

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: stable at dpdk.org

    Signed-off-by: Sunil Kumar Kori <skori at marvell.com>
    Signed-off-by: Nithin Dabilpuram <ndabilpuram at marvell.com>


More information about the dev mailing list