Re: [RTnet-users] Rx CRC errors

2012-10-11 Thread Stéphane ANCELOT
On 11/10/2012 06:56, Jan Kiszka wrote: Regarding the drivers, the existing interface should be used (or implemented where lacking yet). Regarding a userspace interface, we only have /proc/rtnet/stats so far. Would that be sufficient for your use case, or how does you userspace need to access

Re: [RTnet-users] Rx CRC errors

2012-10-11 Thread Jan Kiszka
On 2012-10-11 08:23, Stéphane ANCELOT wrote: On 11/10/2012 06:56, Jan Kiszka wrote: Regarding the drivers, the existing interface should be used (or implemented where lacking yet). Regarding a userspace interface, we only have /proc/rtnet/stats so far. Would that be sufficient for your use

Re: [RTnet-users] Rx CRC errors

2012-10-11 Thread Stéphane ANCELOT
The reason why I would need this is as follow : One equipement begins to fail, and I receive frames with CRC errors The driver is able to watch it, not the application - this is a problem. Then a maintenance process comes and must be able using the driver to run a diagnosis program. use case 1:

Re: [RTnet-users] Rx CRC errors

2012-10-10 Thread Jan Kiszka
On 2012-10-10 14:31, Stéphane ANCELOT wrote: Hi everybody ! I would need being able to retrieve crc erros in the userspace application. What would be the nicest way doing this in rtnet driver ? an IOCTL to get stats ? Is it already done in some drivers, where I could have a look at it