Re: [net-next PATCH v2 5/9] octeontx2-af: Add packet path between representor and VF
From: Jiri Pirko
Date: Tue Apr 23 2024 - 09:10:08 EST
Mon, Apr 22, 2024 at 11:53:57AM CEST, gakula@xxxxxxxxxxx wrote:
>This patch installs tcam rules to stree traffic representors
>and VF when swicthdev mode is set. To support this a HW loopback
>channel is reserved. Through this channel packet are routed
>between representor and VFs. "ESW_CFG" mbox is defined to
>notify AF for installing rules.
This sounds very wrong. In switchdev mode, there is no implicit packet
forwarding. User configures that, either by setting up TC filters to
match/forward packets, putting representors in a bridge, etc.
Basically the driver offloads whatever configuration on representors the
user does, in case it supports it.
Please make sure you follow that.