[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221121165144.yuwmdqkhtxyv5mia@skbuf>
Date: Mon, 21 Nov 2022 18:51:44 +0200
From: Vladimir Oltean <vladimir.oltean@....com>
To: Colin Foster <colin.foster@...advantage.com>
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
Paolo Abeni <pabeni@...hat.com>,
Eric Dumazet <edumazet@...gle.com>,
"David S. Miller" <davem@...emloft.net>,
Florian Fainelli <f.fainelli@...il.com>,
Andrew Lunn <andrew@...n.ch>, UNGLinuxDriver@...rochip.com,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Claudiu Manoil <claudiu.manoil@....com>
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@...advantage.com>
> Co-developed-by: Vladimir Oltean <vladimir.oltean@....com>
Assertion holds even with my MAC Merge patch set that's in preparation,
so things are good.
Reviewed-by: Vladimir Oltean <vladimir.oltean@....com>
Powered by blists - more mailing lists