[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250917144031.GM394836@horms.kernel.org>
Date: Wed, 17 Sep 2025 15:40:31 +0100
From: Simon Horman <horms@...nel.org>
To: Sathesh B Edara <sedara@...vell.com>
Cc: linux-kernel@...r.kernel.org, sburla@...vell.com, vburru@...vell.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org, hgani@...vell.com,
andrew@...n.ch, srasheed@...vell.com
Subject: Re: [net PATCH v2] octeon_ep: fix VF MAC address lifecycle handling
On Tue, Sep 16, 2025 at 06:32:07AM -0700, Sathesh B Edara wrote:
> Currently, VF MAC address info is not updated when the MAC address is
> configured from VF, and it is not cleared when the VF is removed. This
> leads to stale or missing MAC information in the PF, which may cause
> incorrect state tracking or inconsistencies when VFs are hot-plugged
> or reassigned.
>
> Fix this by:
> - storing the VF MAC address in the PF when it is set from VF
> - clearing the stored VF MAC address when the VF is removed
>
> This ensures that the PF always has correct VF MAC state.
>
> Fixes: cde29af9e68e ("octeon_ep: add PF-VF mailbox communication")
> Signed-off-by: Sathesh B Edara <sedara@...vell.com>
> ---
> Changes:
> V2:
> - Commit header format corrected.
Thanks for the update.
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists