]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit851ffc78844fbb76bdc4ee99810fdb57e0047bd0
treed7ea2cbf49c6c8fe053266a954bfc7764724580e
parent8c8e10a5fc0d7efb6633852aceb87f5c2a367b5a
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