Re: [dpdk-dev] [PATCH v5 03/15] ethdev: register mbuf field and flags for timestamp

2020-11-01 Thread Thomas Monjalon
01/11/2020 21:10, Andrew Rybchenko: > On 10/30/20 8:29 PM, Thomas Monjalon wrote: > > + static bool done_rx, done_tx; > > Are these static fields remain by intention? May be I misunderstand > the summary of the previous discussion. Andrew, you are reading the wrong thread. The timestamp series

Re: [dpdk-dev] [PATCH v5 03/15] ethdev: register mbuf field and flags for timestamp

2020-11-01 Thread Andrew Rybchenko
On 10/30/20 8:29 PM, Thomas Monjalon wrote: During port configure or queue setup, the offload flags DEV_RX_OFFLOAD_TIMESTAMP and DEV_TX_OFFLOAD_SEND_ON_TIMESTAMP trigger the registration of the related mbuf field and flags. Previously, the Tx timestamp field and flag were registered in testpmd,

[dpdk-dev] [PATCH v5 03/15] ethdev: register mbuf field and flags for timestamp

2020-10-30 Thread Thomas Monjalon
During port configure or queue setup, the offload flags DEV_RX_OFFLOAD_TIMESTAMP and DEV_TX_OFFLOAD_SEND_ON_TIMESTAMP trigger the registration of the related mbuf field and flags. Previously, the Tx timestamp field and flag were registered in testpmd, as described in mlx5 guide. For the general us