[dpdk-dev] [PATCH] net/pcap: support hardware Tx timestamps

Vivien Didelot vivien.didelot at gmail.com
Tue Jun 16 21:02:51 CEST 2020


Hi Ferruh,

On Wed, 10 Jun 2020 15:39:38 -0400, Vivien Didelot <vivien.didelot at gmail.com> wrote:
> When hardware timestamping is enabled on Rx path, system time should
> no longer be used to calculate the timestamps when dumping packets.
> 
> Instead, use the value stored by the driver in mbuf->timestamp
> and assume it is already converted to nanoseconds (otherwise the
> application may edit the packet headers itself afterwards).
> 
> Signed-off-by: Vivien Didelot <vivien.didelot at gmail.com>
> Signed-off-by: Patrick Keroulas <patrick.keroulas at radio-canada.ca>

Any feedback on this patch?


Thank you,

	Vivien


More information about the dev mailing list