Re: [PATCH v5 net-next 9/9] octeontx2: switch: add TC flow offload path for switch flows

From: Ratheesh Kannoth

Date: Tue Jul 28 2026 - 03:23:51 EST


On 2026-07-28 at 02:20:59, Jakub Kicinski (kuba@xxxxxxxxxx) wrote:
> On Fri, 24 Jul 2026 15:10:18 +0530 Ratheesh Kannoth wrote:
> > Register an ingress flow-table offload callback that translates TC
> > flower rules into fl_tuple state, resolves ingress and egress
> > pcifunc via FIB for accelerated ports, and notifies the RVU AF over
> > the PF mailbox. The AF forwards flow updates to switchdev and
> > keeps per-cookie packet counters in sync using NPC MCAM multi-stats
> > when the switch requests SWDEV2AF refresh.
>
> drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:682:35: warning: incorrect type in argument 1 (different address spaces)
> drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:682:35: expected void volatile [noderef] __iomem *addr
> drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:682:35: got void *hwbase
> --
> pw-bot: cr
otx2_pf.c is not modified in this patch. Could you please help me understand why this warning
is popping up for this patch ?