5e74137765
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> |
||
---|---|---|
.. | ||
Makefile | ||
meson.build | ||
rte_mbuf_pool_ops.c | ||
rte_mbuf_pool_ops.h | ||
rte_mbuf_ptype.c | ||
rte_mbuf_ptype.h | ||
rte_mbuf_version.map | ||
rte_mbuf.c | ||
rte_mbuf.h |