Re: [PATCH net-next v4 1/4] net: ocelot: export ocelot_ifh_port_set() to setup IFH

From: Vladimir Oltean
Date: Sat Dec 04 2021 - 08:08:34 EST


On Fri, Dec 03, 2021 at 06:19:13PM +0100, Clément Léger wrote:
> FDMA will need this code to prepare the injection frame header when
> sending SKBs. Move this code into ocelot_ifh_port_set() and add
> conditional IFH setting for vlan and rew op if they are not set.
>
> Signed-off-by: Clément Léger <clement.leger@xxxxxxxxxxx>
> ---

Reviewed-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>