Re: [dpdk-dev] [PATCH 04/15] latency: switch timestamp to dynamic mbuf field

2020-10-29 Thread Thomas Monjalon
29/10/2020 15:20, Pattan, Reshma: > > > -Original Message- > > From: Thomas Monjalon > > > > > > rte_mbuf_dynflag_register(×tamp_dynflag_desc); > > + if (timestamp_dynflag_offset < 0) { > > + RTE_LOG(ERR, LATENCY_STATS, > > + "Cannot register

Re: [dpdk-dev] [PATCH 04/15] latency: switch timestamp to dynamic mbuf field

2020-10-29 Thread Pattan, Reshma
> -Original Message- > From: Thomas Monjalon > rte_mbuf_dynflag_register(×tamp_dynflag_desc); > + if (timestamp_dynflag_offset < 0) { > + RTE_LOG(ERR, LATENCY_STATS, > + "Cannot register mbuf field for timestamp\n"); Field->flag, i.

Re: [dpdk-dev] [PATCH 04/15] latency: switch timestamp to dynamic mbuf field

2020-10-29 Thread Thomas Monjalon
29/10/2020 11:13, Andrew Rybchenko: > On 10/29/20 12:27 PM, Thomas Monjalon wrote: > > The mbuf timestamp is moved to a dynamic field > > in order to allow removal of the deprecated static field. > > The related mbuf flag is also replaced with the dynamic one. > > > > Signed-off-by: Thomas Monjalo

Re: [dpdk-dev] [PATCH 04/15] latency: switch timestamp to dynamic mbuf field

2020-10-29 Thread Andrew Rybchenko
On 10/29/20 12:27 PM, Thomas Monjalon wrote: > The mbuf timestamp is moved to a dynamic field > in order to allow removal of the deprecated static field. > The related mbuf flag is also replaced with the dynamic one. > > Signed-off-by: Thomas Monjalon [snip] > diff --git a/lib/librte_latencysta