[PATCH net-next v2 0/3] net: ocelot: Extend MRP

From: Horatiu Vultur
Date: Tue Mar 16 2021 - 16:16:04 EST


This patch series extends the current support of MRP in Ocelot driver.
Currently the forwarding of the frames happened in SW because all frames
were trapped to CPU. With this patch the MRP frames will be forward in HW.

v1 -> v2:
- create a patch series instead of single patch
- rename ocelot_mrp_find_port to ocelot_mrp_find_partner_port
- rename PGID_MRP to PGID_BLACKHOLE
- use GFP_KERNEL instead of GFP_ATOMIC
- fix other whitespace issues

Horatiu Vultur (3):
net: ocelot: Add PGID_BLACKHOLE
net: ocelot: Extend MRP
net: ocelot: Remove ocelot_xfh_get_cpuq

drivers/net/ethernet/mscc/ocelot.c | 12 +-
drivers/net/ethernet/mscc/ocelot_mrp.c | 233 +++++++++++++++++--------
include/linux/dsa/ocelot.h | 5 -
include/soc/mscc/ocelot.h | 12 +-
net/dsa/tag_ocelot.c | 8 -
5 files changed, 167 insertions(+), 103 deletions(-)

--
2.30.1