[PATCH net-next 2/2] net: airoha: Add FLOW_CLS_STATS callback support
Jakub Kicinski
kuba at kernel.org
Thu May 15 18:13:57 PDT 2025
On Wed, 14 May 2025 19:09:58 +0200 Lorenzo Bianconi wrote:
> Introduce per-flow stats accounting to the flowtable hw offload in
> the airoha_eth driver. Flow stats are split in the PPE and NPU modules:
> - PPE: accounts for high 32bit of per-flow stats
> - NPU: accounts for low 32bit of per-flow stats
>
> FLOW_CLS_STATS can be enabled or disabled at compile time.
sparse isn't happy:
drivers/net/ethernet/airoha/airoha_npu.c:382:15: warning: incorrect type in assignment (different address spaces)
drivers/net/ethernet/airoha/airoha_npu.c:382:15: expected void *stats
drivers/net/ethernet/airoha/airoha_npu.c:382:15: got void [noderef] __iomem *
--
pw-bot: cr
More information about the Linux-mediatek
mailing list