numam-dpdk/lib/librte_mbuf
Tom Barbette 5e74137765 ethdev: add API to read device clock
Add rte_eth_read_clock to read the raw clock of a device.

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 timestamp
field to real time without the complexity of the rte_timesync* facility.
One can derivate the clock frequency by calling twice read_clock and
then keep a common time base.

Signed-off-by: Tom Barbette <barbette@kth.se>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
2019-06-06 20:21:20 +09:00
..
Makefile mbuf: add a non fatal sanity check helper 2019-01-15 02:40:40 +01:00
meson.build mbuf: add a non fatal sanity check helper 2019-01-15 02:40:40 +01:00
rte_mbuf_pool_ops.c mbuf: remove experimental tag from pool ops 2018-07-26 23:37:08 +02:00
rte_mbuf_pool_ops.h mbuf: remove experimental tag from pool ops 2018-07-26 23:37:08 +02:00
rte_mbuf_ptype.c mbuf: add IGMP packet type 2018-10-25 15:51:16 +02:00
rte_mbuf_ptype.h doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
rte_mbuf_version.map mbuf: add a non fatal sanity check helper 2019-01-15 02:40:40 +01:00
rte_mbuf.c mbuf: add a non fatal sanity check helper 2019-01-15 02:40:40 +01:00
rte_mbuf.h ethdev: add API to read device clock 2019-06-06 20:21:20 +09:00