# Re: \[PATCH v2 net-next 05/12\] net: mscc: ocelot: refactor ocelot\_port\_inject\_frame out of ocelot\_port\_xmit

- From: Florian Fainelli \<f.fainelli@gmail.com\>
- Date: 2021-02-14 01:23:29 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/02/11196788
- Thread: https://ratatoskr.run/netdev/2021/02/11196765/t.md

```text


On 2/13/2021 14:37, Vladimir Oltean wrote:
> From: Vladimir Oltean <vladimir.oltean@nxp.com>
>
> The felix DSA driver will inject some frames through register MMIO, same
> as ocelot switchdev currently does. So we need to be able to reuse the
> common code.
>
> Also create some shim definitions, since the DSA tagger can be compiled
> without support for the switch driver.
>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
```
