Re: [RFC PATCH] can-roundtrip-stats: a tool to benchmark transmission time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26.06.2022 12:31:59, Oliver Hartkopp wrote:
> > What I was thinking is that tools such as tcpdump are able to get TX
> > packets of ethernet interfaces even if not normally visible (because
> > contrary to CAN, there is no default loopback). I was wondering if the
> > same could be done with error queues, but as you can guess my research
> > did lead anywhere. I also guess there is no official support but then,
> > I am wondering how hard it would be to hack the error queues to expose
> > them to the privileged processes.
> 
> I wonder whether error queues are the right mechanism or if control messages
> needed to be extended here - like for (hardware) rx timestamps.

I think error queues are the official way for TX timestamps. Nonetheless
tcpdump support for TX timestamps would be interesting. 

regards,
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


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux