Commit f478d68b authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Jakub Kicinski
Browse files

net: airoha: Enable RX queues 16-31



Fix RX_DONE_INT_MASK definition in order to enable RX queues 16-31.

Fixes: f252493e ("net: airoha: Enable multiple IRQ lines support in airoha_eth driver.")
Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20250609-aioha-fix-rx-queue-mask-v1-1-f33706a06fa2@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent c85bf197
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -614,8 +614,9 @@
	 RX19_DONE_INT_MASK | RX18_DONE_INT_MASK |	\
	 RX17_DONE_INT_MASK | RX16_DONE_INT_MASK)

#define RX_DONE_INT_MASK	(RX_DONE_HIGH_INT_MASK | RX_DONE_LOW_INT_MASK)
#define RX_DONE_HIGH_OFFSET	fls(RX_DONE_HIGH_INT_MASK)
#define RX_DONE_INT_MASK	\
	((RX_DONE_HIGH_INT_MASK << RX_DONE_HIGH_OFFSET) | RX_DONE_LOW_INT_MASK)

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