1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2020 Marvell International Ltd.
5 #ifndef _RTE_ETHDEV_TRACE_FP_H_
6 #define _RTE_ETHDEV_TRACE_FP_H_
11 * API for ethdev trace support
18 #include <rte_trace_point.h>
21 rte_ethdev_trace_rx_burst,
22 RTE_TRACE_POINT_ARGS(uint16_t port_id, uint16_t queue_id,
23 void **pkt_tbl, uint16_t nb_rx),
24 rte_trace_point_emit_u16(port_id);
25 rte_trace_point_emit_u16(queue_id);
26 rte_trace_point_emit_ptr(pkt_tbl);
27 rte_trace_point_emit_u16(nb_rx);
31 rte_ethdev_trace_tx_burst,
32 RTE_TRACE_POINT_ARGS(uint16_t port_id, uint16_t queue_id,
33 void **pkts_tbl, uint16_t nb_pkts),
34 rte_trace_point_emit_u16(port_id);
35 rte_trace_point_emit_u16(queue_id);
36 rte_trace_point_emit_ptr(pkts_tbl);
37 rte_trace_point_emit_u16(nb_pkts);
44 #endif /* _RTE_ETHDEV_TRACE_FP_H_ */