]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: airoha: Differentiate hwfd buffer size for QDMA0 and QDMA1
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 19 Jun 2025 07:07:25 +0000 (09:07 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Jun 2025 15:41:59 +0000 (08:41 -0700)
commit7b46bdaec00a675f6fac9d0b01a2105b5746ebe9
tree1ba3042054b4c9c90832429bc46b1f56805e1173
parentedf8afeecfbb0b8c1a2edb8c8892d2f759d35321
net: airoha: Differentiate hwfd buffer size for QDMA0 and QDMA1

EN7581 SoC allows configuring the size and the number of buffers in
hwfd payload queue for both QDMA0 and QDMA1.
In order to reduce the required DRAM used for hwfd buffers queues and
decrease the memory footprint, differentiate hwfd buffer size for QDMA0
and QDMA1 and reduce hwfd buffer size to 1KB for QDMA1 (WAN) while
maintaining 2KB for QDMA0 (LAN).

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250619-airoha-hw-num-desc-v4-2-49600a9b319a@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/airoha/airoha_eth.c