# Re: \[RFC PATCH v2 net-next 14/16\] net: dsa: don't set skb-\>offload\_fwd\_mark when not offloading the bridge

- From: Vladimir Oltean \<olteanv@gmail.com\>
- Date: 2021-03-22 22:24:09 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/03/6311380
- Thread: https://ratatoskr.run/netdev/2021/03/6306967/t.md

```text
On Mon, Mar 22, 2021 at 04:04:01PM +0800, DENG Qingfang wrote:
> On Fri, Mar 19, 2021 at 6:49 PM Vladimir Oltean [ref] 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.

This sounds line an interesting use case, please tell me more about what
commands I could run to reinject trapped packets into the hardware data
path.
```
