Thread (3 messages) flat view 3 messages, 3 authors, 2025-09-17

Re: [net PATCH v2] octeon_ep: fix VF MAC address lifecycle handling

From: Simon Horman <horms@kernel.org>
Date: 2025-09-17 14:40:36
Also in: lkml

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@marvell.com>
---
Changes:
V2:
  - Commit header format corrected.
Thanks for the update.

Reviewed-by: Simon Horman <horms@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help