Re: [PATCH v4 3/3] can: xilinx_can: Add ethtool stats interface for ECC errors
From: Marc Kleine-Budde
Date: Tue Sep 12 2023 - 02:38:00 EST
On 01.09.2023 14:10:45, Srinivas Goud wrote:
> Add ethtool stats interface for reading FIFO 1bit/2bit
> ECC errors information.
I just figured out, that there is an u64 stats helper:
https://elixir.bootlin.com/linux/latest/source/include/linux/u64_stats_sync.h
Please make use of this one.
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Attachment:
signature.asc
Description: PGP signature