Messages in this thread | | | Date | Mon, 21 Nov 2022 18:51:44 +0200 | From | Vladimir Oltean <> | Subject | Re: [PATCH v2 net-next 3/3] net: mscc: ocelot: issue a warning if stats are incorrectly ordered |
| |
On Sat, Nov 19, 2022 at 03:14:06PM -0800, Colin Foster wrote: > Ocelot uses regmap_bulk_read() operations to efficiently read stats > registers. Currently the implementation relies on the stats layout to be > ordered to be most efficient. > > Issue a warning if any future implementations happen to break this pattern. > > Signed-off-by: Colin Foster <colin.foster@in-advantage.com> > Co-developed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Assertion holds even with my MAC Merge patch set that's in preparation, so things are good.
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
| |