Skip to content

Commit 0fdba88

Browse files
Geetha sowjanyakuba-moo
authored andcommitted
octeontx2-af: Fix mbox INTR handler when num VFs > 64
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: 9bdc47a ("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> Link: https://patch.msgid.link/20250327091441.1284-1-gakula@marvell.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 42f3423 commit 0fdba88

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/marvell/octeontx2/af

1 file changed

+1
-1
lines changed

drivers/net/ethernet/marvell/octeontx2/af/rvu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2634,7 +2634,7 @@ static irqreturn_t rvu_mbox_intr_handler(int irq, void *rvu_irq)
26342634
rvupf_write64(rvu, RVU_PF_VFPF_MBOX_INTX(1), intr);
26352635

26362636
rvu_queue_work(&rvu->afvf_wq_info, 64, vfs, intr);
2637-
vfs -= 64;
2637+
vfs = 64;
26382638
}
26392639

26402640
intr = rvupf_read64(rvu, RVU_PF_VFPF_MBOX_INTX(0));

0 commit comments

Comments
 (0)