[dpdk-dev] [PATCH v4 02/16] mbuf: add Rx timestamp flag and helpers

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Tue Nov 3 13:34:23 CET 2020


On 11/3/20 3:21 PM, Thomas Monjalon wrote:
> There is already a dynamic field for timestamp,
> used only for Tx scheduling with the dedicated Tx offload flag.
> The same field can be used for Rx timestamp filled by drivers.
> 
> A new dynamic flag is defined for Rx usage.
> A new function wraps the registration of both field and Rx flag.
> The type rte_mbuf_timestamp_t is defined for the API users.
> 
> After migrating all Rx timestamp usages, it will be possible
> to remove the deprecated timestamp field.
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> Acked-by: David Marchand <david.marchand at redhat.com>

Acked-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>



More information about the dev mailing list