[PATCH net-next 2/2] net: airoha: Add FLOW_CLS_STATS callback support
Lorenzo Bianconi
lorenzo at kernel.org
Thu May 15 23:29:28 PDT 2025
On May 15, Jakub Kicinski wrote:
> 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 *
ack, I will fix it in v2.
Regards,
Lorenzo
> --
> pw-bot: cr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20250516/f957fa1a/attachment.sig>
More information about the Linux-mediatek
mailing list