Re: [RFC PATCH v2 net-next 14/16] net: dsa: don't set skb->offload_fwd_mark when not offloading the bridge
From: DENG Qingfang
Date: Mon Mar 22 2021 - 04:04:52 EST
On Fri, Mar 19, 2021 at 6:49 PM Vladimir Oltean <olteanv@xxxxxxxxx> wrote:
> Why would you even want to look at the source net device for forwarding?
> I'd say that if dp->bridge_dev is NULL in the xmit function, you certainly
> want to bypass address learning if you can. Maybe also for link-local traffic.
Also for trapped traffic (snooping, tc-flower trap action) if the CPU
sends them back.