mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-22 00:14:39 +04:00
Backport the upstream Airoha Ethernet LRO implementation for EN7581 and AN7583. Use the eight dedicated hardware LRO queues mapped to RX queues 24-31. Adjust the RX page pool configuration for LRO queues and provide the GSO metadata required to correctly re-segment forwarded aggregated packets. Since LRO is configured per QDMA block, expose NETIF_F_LRO only when a single device uses the QDMA, and update the feature during device registration and runtime QDMA migration. Link: https://patch.msgid.link/20260909-airoha-eth-lro-v7-1-e6317be79067@kernel.org Signed-off-by: Yalei Zang <yalei.zang@airoha.com> Link: https://github.com/openwrt/openwrt/pull/25901 Signed-off-by: Robert Marko <robimarko@gmail.com>