[PATCH v3] net/af_packet: add timestamp offloading support

Stephen Hemminger stephen at networkplumber.org
Fri Sep 20 16:29:46 CEST 2024


On Fri, 20 Sep 2024 09:14:11 +0200
Stefan Laesser <stefan.laesser at omicronenergy.com> wrote:

> +			*RTE_MBUF_DYNFIELD(mbuf, timestamp_dynfield_offset,
> +				rte_mbuf_timestamp_t *) =
> +					(uint64_t)ppd->tp_sec * 1000000000 + ppd->tp_nsec;

Maybe the should be rte_timespec_to_timestamp() inline in rte_mbuf?


More information about the dev mailing list