net: airoha: Add the capability to allocate hwfd buffers via reserved-memory
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 21 May 2025 07:16:38 +0000 (09:16 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 26 May 2025 15:32:57 +0000 (17:32 +0200)
commit3a1ce9e3d01bbf3912c3e3f81cb554d558eb715b
tree32a4d0d569d8a34aec5dbe9dd91f1286696cb344
parent09aa788f98da3e2f41ce158cc691d6d52e808bc9
net: airoha: Add the capability to allocate hwfd buffers via reserved-memory

In some configurations QDMA blocks require a contiguous block of
system memory for hwfd buffers queue. Introduce the capability to allocate
hw buffers forwarding queue via the reserved-memory DTS property instead of
running dmam_alloc_coherent().

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250521-airopha-desc-sram-v3-3-a6e9b085b4f0@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/airoha/airoha_eth.c