* [net PATCH] octeontx2-af: Fix mbox INTR handler when num VFs > 64
@ 2025-03-27 9:14 Geetha sowjanya
2025-03-27 10:33 ` Simon Horman
2025-04-01 0:10 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Geetha sowjanya @ 2025-03-27 9:14 UTC (permalink / raw)
To: netdev, linux-kernel
Cc: kuba, davem, pabeni, edumazet, sgoutham, gakula, sbhatta, hkelam,
tduszynski
When number of RVU VFs > 64, the vfs value passed to "rvu_queue_work"
function is incorrect. Due to which mbox workqueue entries for
VFs 0 to 63 never gets added to workqueue.
Fixes: 9bdc47a6e328 ("octeontx2-af: Mbox communication support btw AF and it's VFs")
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
---
drivers/net/ethernet/marvell/octeontx2/af/rvu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu.c b/drivers/net/ethernet/marvell/octeontx2/af/rvu.c
index cd0d7b7774f1..6575c422635b 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/rvu.c
+++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu.c
@@ -2634,7 +2634,7 @@ static irqreturn_t rvu_mbox_intr_handler(int irq, void *rvu_irq)
rvupf_write64(rvu, RVU_PF_VFPF_MBOX_INTX(1), intr);
rvu_queue_work(&rvu->afvf_wq_info, 64, vfs, intr);
- vfs -= 64;
+ vfs = 64;
}
intr = rvupf_read64(rvu, RVU_PF_VFPF_MBOX_INTX(0));
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [net PATCH] octeontx2-af: Fix mbox INTR handler when num VFs > 64
2025-03-27 9:14 [net PATCH] octeontx2-af: Fix mbox INTR handler when num VFs > 64 Geetha sowjanya
@ 2025-03-27 10:33 ` Simon Horman
2025-04-01 0:10 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2025-03-27 10:33 UTC (permalink / raw)
To: Geetha sowjanya
Cc: netdev, linux-kernel, kuba, davem, pabeni, edumazet, sgoutham,
sbhatta, hkelam, tduszynski
On Thu, Mar 27, 2025 at 02:44:41PM +0530, Geetha sowjanya wrote:
> When number of RVU VFs > 64, the vfs value passed to "rvu_queue_work"
> function is incorrect. Due to which mbox workqueue entries for
> VFs 0 to 63 never gets added to workqueue.
>
> Fixes: 9bdc47a6e328 ("octeontx2-af: Mbox communication support btw AF and it's VFs")
> Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
I don't think you need to repost because of this,
but I do think this could have been a short series
including this patch and [1].
[1] [net PATCH] octeontx2-af: Free NIX_AF_INT_VEC_GEN irq
https://lore.kernel.org/all/20250327094054.2312-1-gakula@marvell.com/
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [net PATCH] octeontx2-af: Fix mbox INTR handler when num VFs > 64
2025-03-27 9:14 [net PATCH] octeontx2-af: Fix mbox INTR handler when num VFs > 64 Geetha sowjanya
2025-03-27 10:33 ` Simon Horman
@ 2025-04-01 0:10 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-04-01 0:10 UTC (permalink / raw)
To: Geetha sowjanya
Cc: netdev, linux-kernel, kuba, davem, pabeni, edumazet, sgoutham,
sbhatta, hkelam, tduszynski
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 27 Mar 2025 14:44:41 +0530 you wrote:
> When number of RVU VFs > 64, the vfs value passed to "rvu_queue_work"
> function is incorrect. Due to which mbox workqueue entries for
> VFs 0 to 63 never gets added to workqueue.
>
> Fixes: 9bdc47a6e328 ("octeontx2-af: Mbox communication support btw AF and it's VFs")
> Signed-off-by: Geetha sowjanya <gakula@marvell.com>
>
> [...]
Here is the summary with links:
- [net] octeontx2-af: Fix mbox INTR handler when num VFs > 64
https://git.kernel.org/netdev/net/c/0fdba88a2115
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-04-01 0:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-27 9:14 [net PATCH] octeontx2-af: Fix mbox INTR handler when num VFs > 64 Geetha sowjanya
2025-03-27 10:33 ` Simon Horman
2025-04-01 0:10 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).