Re: [dpdk-dev] [RFC][PATCH v2 2/3] ethdev: add API to convert raw timestamps to nsec

2020-06-23 Thread Slava Ovsiienko
egards, Slava > -Original Message- > From: dev On Behalf Of Patrick Keroulas > Sent: Thursday, June 11, 2020 18:16 > To: dev@dpdk.org > Cc: Patrick Keroulas > Subject: [dpdk-dev] [RFC][PATCH v2 2/3] ethdev: add API to convert raw > timestamps to nsec > > Existin

[dpdk-dev] [RFC][PATCH v2 2/3] ethdev: add API to convert raw timestamps to nsec

2020-06-11 Thread Patrick Keroulas
Existing ethdev functions can read/write time from/to device but they're all related to timesync and none of them can translate a raw counter in real time unit which is usefull in a pdump application. A new API is required because the conversion is derived from dev clock info. Signed-off-by: Patr