Re: [PATCH net-next] net: ocelot: Extend MRP

2021-03-12 Thread Horatiu Vultur
The 03/11/2021 20:02, Vladimir Oltean wrote: > > On Thu, Mar 11, 2021 at 08:30:08PM +0100, Horatiu Vultur wrote: > > > > +static void ocelot_mrp_save_mac(struct ocelot *ocelot, > > > > + struct ocelot_port *port) > > > > +{ > > > > + ocelot_mact_learn(ocelot, PGID_M

Re: [PATCH net-next] net: ocelot: Extend MRP

2021-03-11 Thread Horatiu Vultur
The 03/11/2021 02:25, Vladimir Oltean wrote: Hi Vladimir, > > On Wed, Mar 10, 2021 at 09:51:40PM +0100, Horatiu Vultur wrote: > > This patch extends MRP support for Ocelot. It allows to have multiple > > rings and when the node has the MRC role it forwards MRP Test frames in > > HW. For MRM the

Re: [PATCH net-next] net: ocelot: Extend MRP

2021-03-11 Thread Vladimir Oltean
On Thu, Mar 11, 2021 at 08:30:08PM +0100, Horatiu Vultur wrote: > > > +static void ocelot_mrp_save_mac(struct ocelot *ocelot, > > > + struct ocelot_port *port) > > > +{ > > > + ocelot_mact_learn(ocelot, PGID_MRP, mrp_test_dmac, > > > + port->pvi

[PATCH net-next] net: ocelot: Extend MRP

2021-03-10 Thread Horatiu Vultur
This patch extends MRP support for Ocelot. It allows to have multiple rings and when the node has the MRC role it forwards MRP Test frames in HW. For MRM there is no change. Signed-off-by: Horatiu Vultur --- drivers/net/ethernet/mscc/ocelot.c | 6 - drivers/net/ethernet/mscc/ocelot_mrp.c

Re: [PATCH net-next] net: ocelot: Extend MRP

2021-03-10 Thread Vladimir Oltean
On Wed, Mar 10, 2021 at 09:51:40PM +0100, Horatiu Vultur wrote: > This patch extends MRP support for Ocelot. It allows to have multiple > rings and when the node has the MRC role it forwards MRP Test frames in > HW. For MRM there is no change. > > Signed-off-by: Horatiu Vultur > --- > drivers/n