Re: [dpdk-dev] [RFC PATCH 1/3] rte_ethdev: Add API function to read dev clock

2018-12-08 Thread Shahaf Shuler
Hi Tom, See few nits below. Wednesday, November 28, 2018 11:52 AM, Tom Barbette: > Subject: [RFC PATCH 1/3] rte_ethdev: Add API function to read dev clock > > Add rte_eth_read_clock to read the current clock of a devide. To be explicit, the **raw** clock of the device. > > The main use is t

[dpdk-dev] [RFC PATCH 1/3] rte_ethdev: Add API function to read dev clock

2018-11-28 Thread Tom Barbette
Add rte_eth_read_clock to read the current clock of a devide. The main use is to get the current clock as written by the driver in the timestamp field of the pkt mbuf when timestamp offloading is enabled. This function was missing to allow users to convert that RX timestamp field to real time wit