]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: airoha: Add the capability to consume out-of-order DMA tx descriptors
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 6 Nov 2025 12:53:23 +0000 (13:53 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 8 Nov 2025 02:47:19 +0000 (18:47 -0800)
commit3f47e67dff1f7266e112c50313d63824f6f17102
treee3c4086eba52451316060032afa2fc7df23fbdfa
parent416dd649f3aa3774907c668167a29c668dbc634b
net: airoha: Add the capability to consume out-of-order DMA tx descriptors

EN7581 and AN7583 SoCs are capable of DMA mapping non-linear tx skbs on
non-consecutive DMA descriptors. This feature is useful when multiple
flows are queued on the same hw tx queue since it allows to fully utilize
the available tx DMA descriptors and to avoid the starvation of
high-priority flow we have in the current codebase due to head-of-line
blocking introduced by low-priority flows.

Tested-by: Xuegang Lu <xuegang.lu@airoha.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20251106-airoha-tx-linked-list-v2-1-0706d4a322bd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/airoha/airoha_eth.c
drivers/net/ethernet/airoha/airoha_eth.h