I was looking at the source code but I'm more OOP C++ than C. I found
eth_ena_recv_pkts but is it possible for me to add a software
timestamp before the mbuf is added to the ring buffer? This would be
incredibly useful.

On Mon, 9 Sept 2024 at 09:31, Brandes, Shai <shaib...@amazon.com> wrote:
>
>
> > מאת: Dpdk Newbie <dpdkuse...@gmail.com
> > <mailto:dpdkuse...@gmail.com> >
> > תאריך: 9 בספט׳ 2024 01:32
> > נושא: [EXTERNAL] Does DPDK provide RX timestamps?
> > אל: dev@dpdk.org <mailto:dev@dpdk.org>
> > ‏עותק:
> >
> >
> >
> > 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.
> >
> [Brandes, Shai] Hi, currently AWS doesn’t support HW timestamping.
> In order to get the full Rx latency you need to measure rte_eth_rx_burst as 
> it is mapped to ENA driver routine eth_ena_recv_pkts which covers the entire 
> flow including NIC to DPDK packet ring buffer flow (ena_com_rx_pkt)
>
> All the best
> Shai
>
> > 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,
>

Reply via email to