DPDK 25.03.0-rc0
rte_ethdev_trace_fp.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2020 Marvell International Ltd.
3 */
4
5#ifndef _RTE_ETHDEV_TRACE_FP_H_
6#define _RTE_ETHDEV_TRACE_FP_H_
7
14#include <rte_trace_point.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
21 rte_ethdev_trace_rx_burst_empty,
22 RTE_TRACE_POINT_ARGS(uint16_t port_id, uint16_t queue_id,
23 void **pkt_tbl),
27)
28
30 rte_ethdev_trace_rx_burst_nonempty,
31 RTE_TRACE_POINT_ARGS(uint16_t port_id, uint16_t queue_id,
32 void **pkt_tbl, uint16_t nb_rx),
37)
38
40 rte_ethdev_trace_tx_burst,
41 RTE_TRACE_POINT_ARGS(uint16_t port_id, uint16_t queue_id,
42 void **pkts_tbl, uint16_t nb_pkts),
47)
48
50 rte_eth_trace_call_rx_callbacks_empty,
51 RTE_TRACE_POINT_ARGS(uint16_t port_id, uint16_t queue_id,
52 void **rx_pkts, uint16_t nb_pkts),
57)
58
60 rte_eth_trace_call_rx_callbacks_nonempty,
61 RTE_TRACE_POINT_ARGS(uint16_t port_id, uint16_t queue_id,
62 void **rx_pkts, uint16_t nb_rx, uint16_t nb_pkts),
68)
69
71 rte_eth_trace_call_tx_callbacks,
72 RTE_TRACE_POINT_ARGS(uint16_t port_id, uint16_t queue_id,
73 void **tx_pkts, uint16_t nb_pkts),
78)
79
81 rte_eth_trace_tx_buffer_drop_callback,
82 RTE_TRACE_POINT_ARGS(void **pkts, uint16_t unsent),
85)
86
88 rte_eth_trace_tx_buffer_count_callback,
89 RTE_TRACE_POINT_ARGS(void **pkts, uint16_t unsent, uint64_t count),
93)
94
96 rte_eth_trace_tx_queue_count,
97 RTE_TRACE_POINT_ARGS(uint16_t port_id, uint16_t queue_id, int rc),
101)
102
103#ifdef __cplusplus
104}
105#endif
106
107#endif /* _RTE_ETHDEV_TRACE_FP_H_ */
#define RTE_TRACE_POINT_FP(tp, args,...)
#define rte_trace_point_emit_u16(val)
#define RTE_TRACE_POINT_ARGS
#define rte_trace_point_emit_int(val)
#define rte_trace_point_emit_ptr(val)
#define rte_trace_point_emit_u64(val)