cd1dadeb9b
Use rxtx callback to demonstrate a way to use rte_eth_read_clock to convert the hardware timestamps to an amount of cycles. This allows to get the amount of time the packet spent since its entry in the device. While the regular latency only shows the latency from when it entered the software stack. Signed-off-by: Tom Barbette <barbette@kth.se> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
15 lines
355 B
Meson
15 lines
355 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
# meson file, for building this example as part of a main DPDK build.
|
|
#
|
|
# To build this example as a standalone application with an already-installed
|
|
# DPDK instance, use 'make'
|
|
|
|
#rte_eth_read_clock is experimental
|
|
allow_experimental_apis = true
|
|
|
|
sources = files(
|
|
'main.c'
|
|
)
|