Re: [PATCH net-next v4] net: airoha: add HW GRO offload support

Paolo Abeni <[email protected]>
Newsgroups org.infradead.lists.linux-mediatek,org.infradead.lists.linux-arm-kernel,org.kernel.vger.netdev
Message-ID <[email protected]>
On 8/7/26 11:18 AM, Lorenzo Bianconi wrote:
> From: Lorenzo Bianconi <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: Lorenzo Bianconi <[email protected]>
Sashiko nipa has still something to say:

https://netdev-ai.bots.linux.dev/sashiko/#/log/9407

/P
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.