Re: [PATCH net-next 0/7] net: dsa: mv88e6xxx: Add devlink regions support

2020-08-17 Thread Andrew Lunn
On Mon, Aug 17, 2020 at 10:08:07AM -0700, Florian Fainelli wrote: > On 8/16/20 12:43 PM, Andrew Lunn wrote: > > Make use of devlink regions to allow read access to some of the > > internal of the switches. The switch itself will never trigger a > > region snapshot, it is assumed it is performed fro

Re: [PATCH net-next 0/7] net: dsa: mv88e6xxx: Add devlink regions support

2020-08-17 Thread Florian Fainelli
On 8/16/20 12:43 PM, Andrew Lunn wrote: > Make use of devlink regions to allow read access to some of the > internal of the switches. The switch itself will never trigger a > region snapshot, it is assumed it is performed from user space as > needed. > > Andrew Lunn (7): > net: dsa: Add helper t

Re: [PATCH net-next 0/7] net: dsa: mv88e6xxx: Add devlink regions support

2020-08-16 Thread Chris Healy
I tested this on the Rev C Zii Vybrid Dev Board which has two Marvell 88E6390X switches. Both switches worth of port, global, and atu data show up when running the devlink show command and for each of the regions, I can dump the contents. I also tested on a different platform with a single 88E635

[PATCH net-next 0/7] net: dsa: mv88e6xxx: Add devlink regions support

2020-08-16 Thread Andrew Lunn
Make use of devlink regions to allow read access to some of the internal of the switches. The switch itself will never trigger a region snapshot, it is assumed it is performed from user space as needed. Andrew Lunn (7): net: dsa: Add helper to convert from devlink to ds net: dsa: Add devlink r