On 9/20/2024 8:14 AM, Stefan Laesser wrote:
> Add the packet timestamp from TPACKET_V2 to the mbuf
> dynamic rx timestamp register if offload RTE_ETH_RX_OFFLOAD_TIMESTAMP
> is enabled.
>
> TPACKET_V2 provides the timestamp with nanosecond resolution
> and UNIX origo, i.e. time since 1-JAN-1970 UTC
> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Friday, 20 September 2024 16.30
>
> On Fri, 20 Sep 2024 09:14:11 +0200
> Stefan Laesser wrote:
>
> > + *RTE_MBUF_DYNFIELD(mbuf, timestamp_dynfield_offset,
> > + rte_mbuf_timestamp_t
On Fri, 20 Sep 2024 09:14:11 +0200
Stefan Laesser wrote:
> + *RTE_MBUF_DYNFIELD(mbuf, timestamp_dynfield_offset,
> + rte_mbuf_timestamp_t *) =
> + (uint64_t)ppd->tp_sec * 10 +
> ppd->tp_nsec;
Maybe the s
Add the packet timestamp from TPACKET_V2 to the mbuf
dynamic rx timestamp register if offload RTE_ETH_RX_OFFLOAD_TIMESTAMP
is enabled.
TPACKET_V2 provides the timestamp with nanosecond resolution
and UNIX origo, i.e. time since 1-JAN-1970 UTC.
Signed-off-by: Stefan Laesser
Acked-by: Morten Brøru
4 matches
Mail list logo