From: Sathesh B Edara <sedara@marvell.com> Date: 2025-09-16 13:12:48
When a VF (Virtual Function) driver is removed, the PF (Physical Function)
driver continues to retain stale VF-specific information. This can lead to
inconsistencies or unexpected behavior when the VF is re-initialized or
reassigned.
This patch ensures that the PF driver clears the corresponding VF info
when the VF driver is removed, maintaining a clean state and preventing
potential issues.
Fixes: cde29af9e68e ("octeon_ep: add PF-VF mailbox communication")
Signed-off-by: Sathesh B Edara <sedara@marvell.com>
---
Changes:
V2:
- Commit header format corrected.
drivers/net/ethernet/marvell/octeon_ep/octep_pfvf_mbox.c | 2 ++
1 file changed, 2 insertions(+)
From: Simon Horman <horms@kernel.org> Date: 2025-09-17 11:55:47
On Tue, Sep 16, 2025 at 06:12:25AM -0700, Sathesh B Edara wrote:
When a VF (Virtual Function) driver is removed, the PF (Physical Function)
driver continues to retain stale VF-specific information. This can lead to
inconsistencies or unexpected behavior when the VF is re-initialized or
reassigned.
This patch ensures that the PF driver clears the corresponding VF info
when the VF driver is removed, maintaining a clean state and preventing
potential issues.
Fixes: cde29af9e68e ("octeon_ep: add PF-VF mailbox communication")
Signed-off-by: Sathesh B Edara <sedara@marvell.com>
---
Changes:
V2:
- Commit header format corrected.
From: Sathesh B Edara <sedara@marvell.com> Date: 2025-09-17 12:24:50
On Tue, Sep 16, 2025 at 06:12:25AM -0700, Sathesh B Edara wrote:
quoted
When a VF (Virtual Function) driver is removed, the PF (Physical
Function) driver continues to retain stale VF-specific information.
This can lead to inconsistencies or unexpected behavior when the VF is
re-initialized or reassigned.
This patch ensures that the PF driver clears the corresponding VF info
when the VF driver is removed, maintaining a clean state and
preventing potential issues.
Fixes: cde29af9e68e ("octeon_ep: add PF-VF mailbox communication")
Signed-off-by: Sathesh B Edara <sedara@marvell.com>
---
Changes:
V2:
- Commit header format corrected.
Hi,
I feel that I must be missing something terribly obvious.
But this patch seems to be a subset of the one at the link below.
You're absolutely right — apologies for the confusion. I mistakenly sent the wrong patch and so marked its state as 'Not Applicable'.
Please disregard this patch.
From: Simon Horman <horms@kernel.org> Date: 2025-09-17 14:39:07
On Wed, Sep 17, 2025 at 12:24:22PM +0000, Sathesh B Edara wrote:
quoted
On Tue, Sep 16, 2025 at 06:12:25AM -0700, Sathesh B Edara wrote:
quoted
When a VF (Virtual Function) driver is removed, the PF (Physical
Function) driver continues to retain stale VF-specific information.
This can lead to inconsistencies or unexpected behavior when the VF is
re-initialized or reassigned.
This patch ensures that the PF driver clears the corresponding VF info
when the VF driver is removed, maintaining a clean state and
preventing potential issues.
Fixes: cde29af9e68e ("octeon_ep: add PF-VF mailbox communication")
Signed-off-by: Sathesh B Edara <sedara@marvell.com>
---
Changes:
V2:
- Commit header format corrected.
Hi,
I feel that I must be missing something terribly obvious.
But this patch seems to be a subset of the one at the link below.
You're absolutely right — apologies for the confusion. I mistakenly sent the wrong patch and so marked its state as 'Not Applicable'.
Please disregard this patch.