[PATCH v4 3/3] can: xilinx_can: Add ethtool stats interface for ECC errors
Marc Kleine-Budde
mkl at pengutronix.de
Mon Sep 11 23:37:32 PDT 2023
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 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230912/e4143666/attachment.sig>
More information about the linux-arm-kernel
mailing list