Re: [RFC net-next PATCH 0/3] net: dsa: mv88e6xxx: Add RMU support
From: Andrew Lunn <andrew@lunn.ch>
Date: 2022-08-18 12:31:57
On Thu, Aug 18, 2022 at 12:29:21PM +0200, Mattias Forsblad wrote:
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.
Please try to avoid all the additional whitespace your editor/mailer has added.
Next step could be to implement single read and writes but we've found that the gain to transfer this to RMU is neglible.
I agree that RMON is a good first step. Dumping the ATU and VTU would
also make a lot of sense.
For general register access, did you try combining multiple writes and
one read into an RMU packet? At least during initial setup, i suspect
there are some code flows which follow that pattern with lots of
writes. And a collection of read/modify/write might benefit.
Andrew