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

2019-04-02 Thread Tom Barbette
Le 02/04/2019 à 19:46, Ferruh Yigit a écrit : +* **[implements] eth_dev_ops**: ``read_clock``. This means for a PMD to claim 'timestamp' support, it should implement the 'read_clock' dev_ops, is it really the case? Should we say 'related' instead of 'implements' ? Ok for me. I guess this wil

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

2019-04-02 Thread Ferruh Yigit
On 3/27/2019 6:19 AM, Tom Barbette wrote: > Add rte_eth_read_clock to read the raw clock of a devide. > > The main use is to get the device clock conversion co-efficients to be > able to translate the raw clock of the timestamp field of the pkt mbuf > to a local synced time value. > > This functi

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

2019-03-26 Thread Tom Barbette
Add rte_eth_read_clock to read the raw clock of a devide. The main use is to get the device clock conversion co-efficients to be able to translate the raw clock of the timestamp field of the pkt mbuf to a local synced time value. This function was missing to allow users to convert the RX timestam