Skip to content
Commit 877e7b7c authored by Colin Foster's avatar Colin Foster Committed by Paolo Abeni
Browse files

net: mscc: ocelot: issue a warning if stats are incorrectly ordered



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: default avatarColin Foster <colin.foster@in-advantage.com>
Co-developed-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent a3bb8f52
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment