[PATCH net-next v4] net: airoha: add HW GRO offload support
Paolo Abeni
pabeni at redhat.com
Thu Aug 13 02:26:55 PDT 2026
On 8/7/26 11:18 AM, Lorenzo Bianconi wrote:
> From: Lorenzo Bianconi <lorenzo at kernel.org>
>
> Add hardware GRO offload support to the airoha_eth driver, leveraging
> the EN7581/AN7583 SoC's 8 dedicated LRO hardware queues mapped to RX
> queues 24-31. HW GRO offloading does not support Scatter-Gather (SG) so
> it is required to increase the page_pool allocation order to 2 for RX
> queues 24-31 (LRO queues).
> Since HW GRO is configured per-QDMA and shared across all devices using
> it, HW GRO is mutually exclusive with multiple devices bound to the
> same QDMA block. Call netdev_update_features() in airoha_dev_set_qdma()
> so that NETIF_F_GRO_HW availability is re-evaluated whenever the QDMA
> user count changes (device registration and runtime QDMA migration).
> Set CHECKSUM_PARTIAL with pseudo-header checksum on aggregated packets
> so that L3-forwarded traffic is correctly handled by the GSO/TSO path
> on the egress device.
>
> Performance comparison between GRO and HW GRO has been carried out using
> a 10Gbps NIC:
> GRO: ~2.7 Gbps
> HW GRO: ~8.2 Gbps
>
> Tested-by: Madhur Agrawal <madhur.agrawal at airoha.com>
> Signed-off-by: Lorenzo Bianconi <lorenzo at kernel.org>
Sashiko nipa has still something to say:
https://netdev-ai.bots.linux.dev/sashiko/#/log/9407
/P
More information about the linux-arm-kernel
mailing list