net: ocelot: Extend MRP
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Tue, 16 Mar 2021 20:10:18 +0000 (21:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Mar 2021 22:49:52 +0000 (15:49 -0700)
commit7c588c3e96e9733a2a8a40caefd26c9189416821
treed7ea2cbf49c6c8fe053266a954bfc7764724580e
parentebb1bb401303ffac0ee994ba8ed9dfd24bb2ac5f
net: ocelot: Extend MRP

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 <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot.c
drivers/net/ethernet/mscc/ocelot_mrp.c
include/soc/mscc/ocelot.h
net/dsa/tag_ocelot.c