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

From: Jakub Kicinski

Date: Mon Jul 27 2026 - 16:55:44 EST


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