Re: [PATCH v6 net-next 5/7] net: bridge: switchdev: let drivers inform which bridge ports are offloaded
From: Vladimir Oltean <olteanv@gmail.com>
Date: 2021-07-26 14:37:12
Also in:
bridge, linux-next
From: Vladimir Oltean <olteanv@gmail.com>
Date: 2021-07-26 14:37:12
Also in:
bridge, linux-next
Hello Naresh, On Mon, Jul 26, 2021 at 04:08:10PM +0200, Andrew Lunn wrote:
On Mon, Jul 26, 2021 at 07:21:20PM +0530, Naresh Kamboju wrote:quoted
On Wed, 21 Jul 2021 at 21:56, Vladimir Oltean [off-list ref] wrote:quoted
On reception of an skb, the bridge checks if it was marked as 'already forwarded in hardware' (checks if skb->offload_fwd_mark == 1), and if it is, it assigns the source hardware domain of that skb based on the hardware domain of the ingress port. Then during forwarding, it enforces that the egress port must have a different hardware domain than the ingress one (this is done in nbp_switchdev_allowed_egress).quoted
[Please ignore if it is already reported] Following build error noticed on Linux next 20210723 tag with omap2plus_defconfig on arm architecture.Hi Naresh Please trim emails when replying. It is really annoying to have to page down and down and down to find your part in the email, and you always wonder if you accidentally jumped over something when paging down at speed.
I agree with what Andrew said. I've sent this patch to address the build issue you reported. Thanks. https://patchwork.kernel.org/project/netdevbpf/patch/20210726142536.1223744-1-vladimir.oltean@nxp.com/