Re: [RFC net-next PATCH 0/3] net: dsa: mv88e6xxx: Add RMU support
From: Mattias Forsblad <hidden>
Date: 2022-08-19 05:07:18
On 2022-08-18 13:58, Vladimir Oltean wrote:
On Thu, Aug 18, 2022 at 12:29:21PM +0200, Mattias Forsblad wrote:quoted
The Marvell SOHO switches have the ability to receive and transmit Remote Management Frames (Frame2Reg) to the CPU through the switch attached network interface. These frames is handled by the Remote Management Unit (RMU) in the switch. These frames can contain different payloads: single switch register read and writes, daisy chained switch register read and writes, RMON/MIB dump/dump clear and ATU dump. The dump functions are very costly over MDIO but it's only a couple of network packets via the RMU. Handling these operations via RMU instead of MDIO also relieves access contention on the MDIO bus. This request for comment series implements RMU layer 2 and layer 3 handling and also collecting RMON counters through the RMU. Next step could be to implement single read and writes but we've found that the gain to transfer this to RMU is neglible. Regards, Mattias ForsbladHave you seen how things work with qca8k_connect_tag_protocol()/ qca8k_master_change()/qca8k_read_eth()/qca8k_write_eth()/ qca8k_phy_eth_command()?
No, I have not. I'll take a look at those. Thanks.