On 25.01.2023 12:23:42, Stefan Althöfer wrote: > > The networking stack has a proper interface for network interface > > statistics, better make use of these. > > You mean those in /sys/class/net/can0/statistics? I was not aware that > custom errors can be added here. I think these are fixed. > By no means I would want the SPI CRC errors appear in rx_crc_errors. ACK > The way you used it for the fifo errors is however justified. This was a quick solution, but proper stats via ethtool interface are better. > Or do you talk about the driver statistics reported via the ethtool > interface? ACK, I mean the ethtool interface. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: PGP signature