Skip to content

Commit f478d68

Browse files
LorenzoBianconikuba-moo
authored andcommitted
net: airoha: Enable RX queues 16-31
Fix RX_DONE_INT_MASK definition in order to enable RX queues 16-31. Fixes: f252493 ("net: airoha: Enable multiple IRQ lines support in airoha_eth driver.") Signed-off-by: Lorenzo Bianconi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent c85bf19 commit f478d68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/ethernet/airoha/airoha_regs.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,8 +614,9 @@
614614
RX19_DONE_INT_MASK | RX18_DONE_INT_MASK | \
615615
RX17_DONE_INT_MASK | RX16_DONE_INT_MASK)
616616

617-
#define RX_DONE_INT_MASK (RX_DONE_HIGH_INT_MASK | RX_DONE_LOW_INT_MASK)
618617
#define RX_DONE_HIGH_OFFSET fls(RX_DONE_HIGH_INT_MASK)
618+
#define RX_DONE_INT_MASK \
619+
((RX_DONE_HIGH_INT_MASK << RX_DONE_HIGH_OFFSET) | RX_DONE_LOW_INT_MASK)
619620

620621
#define INT_RX2_MASK(_n) \
621622
((RX_NO_CPU_DSCP_HIGH_INT_MASK & (_n)) | \

0 commit comments

Comments
 (0)