Does DPDK provide RX timestamps?
Stephen Hemminger
stephen at networkplumber.org
Mon Sep 9 02:13:55 CEST 2024
On Sun, 8 Sep 2024 23:31:36 +0100
Dpdk Newbie <dpdkuser77 at gmail.com> wrote:
> Hi. I am using Intel (i210) and AWS ENA network interface cards.
>
> I would like to measure the following RX latencies:
>
> 1) NIC to DPDK packet ring buffer
> 2) DPDK packet ring buffer to application via rte_eth_rx_burst.
>
> I don't mind measuring in nanoseconds or CPU cycles.
>
> Unfortunately I cannot find any mention of hardware timestamps.
>
> I found brief references to mbuf containing a timestamp in the dynamic
> fields, but nothing definitive.
>
> Could someone please clarify what the situation is?
>
> Thanks,
Depends on the hardware, and the dynamic field for rx timestamp
also varies in its clock value. Some are ticks, some are us, some are ns;
and the base is arbitrary so difficult to use for packet capture.
More information about the dev
mailing list