[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191107130144.GC22978@lunn.ch>
Date: Thu, 7 Nov 2019 14:01:44 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Ioana Ciornei <ioana.ciornei@....com>
Cc: "davem@...emloft.net" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] dpaa2-eth: add ethtool MAC counters
> Anyhow, I'll add this to the list of things to improve in the fw :)
Hi Ioana
I also later thought about snapshotting. Often the hardware supports
taking an atomic copy of all the statistics. You can then read back
the copy, knowing that the values should be consistent. None get
incremented while you read individual counters.
Something else you can consider adding to the firmware.
Andrew
Powered by blists - more mailing lists