Re: [PATCH net-next 1/2] net: airoha: Add the capability to consume out-of-order DMA tx descriptors

Jacob Keller
2025-11-03T23:32:42Z

[-- Attachment #1.1: Type: text/plain, Size: 1234 bytes --]

On 11/3/2025 2:27 AM, Lorenzo Bianconi wrote:
> 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>
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> ---
> drivers/net/ethernet/airoha/airoha_eth.c | 87 +++++++++++++++-----------------
> drivers/net/ethernet/airoha/airoha_eth.h | 7 ++-
> 2 files changed, 47 insertions(+), 47 deletions(-)
>
> diff --git a/drivers/net/ethernet/airoha/airoha_eth.c b/drivers/net/ethernet/airoha/airoha_eth.c
> index 688faf999e4c0a30d53a25877b4a81a33ec7fca2..b717e3efe53cc9c86be8a39e7f9b03cc592e7281 100644
> --- a/drivers/net/ethernet/airoha/airoha_eth.c
> +++ b/drivers/net/ethernet/airoha/airoha_eth.c
> @@ -892,19 +892,13 @@ static int airoha_qdma_tx_napi_poll(struct napi_struct *napi, int budget)
>

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]