xref: /spdk/scripts/env_dpdk/22.11/24.11-rte_dev.h.patch (revision 671ee5e075565cae5d7a23767c887600496be6f0)
115a16,19
2> #ifdef __cplusplus
3> extern "C" {
4> #endif
5>
619a24
7> #include <rte_compat.h>
822,25d26
9< #ifdef __cplusplus
10< extern "C" {
11< #endif
12<
1343a45,57
14> /* Macros to check for invalid function pointers */
15> #define RTE_FUNC_PTR_OR_ERR_RET(func, retval) RTE_DEPRECATED(RTE_FUNC_PTR_OR_ERR_RET) \
16> do { \
17> 	if ((func) == NULL) \
18> 		return retval; \
19> } while (0)
20>
21> #define RTE_FUNC_PTR_OR_RET(func) RTE_DEPRECATED(RTE_FUNC_PTR_OR_RET) \
22> do { \
23> 	if ((func) == NULL) \
24> 		return; \
25> } while (0)
26>
27342a357
28> __rte_experimental
29361a377
30> __rte_experimental
31371a388,390
32>  * @warning
33>  * @b EXPERIMENTAL: this API may change without prior notice
34>  *
35386a406
36> __rte_experimental
37392a413,415
38>  * @warning
39>  * @b EXPERIMENTAL: this API may change without prior notice
40>  *
41407a431
42> __rte_experimental
43413a438,440
44>  * @warning
45>  * @b EXPERIMENTAL: this API may change without prior notice
46>  *
47421a449
48> __rte_experimental
49426a455,457
50>  * @warning
51>  * @b EXPERIMENTAL: this API may change without prior notice
52>  *
53432a464
54> __rte_experimental
55436a469,471
56>  * @warning
57>  * @b EXPERIMENTAL: this API may change without prior notice
58>  *
59442a478
60> __rte_experimental
61446a483,485
62>  * @warning
63>  * @b EXPERIMENTAL: this API may change without prior notice
64>  *
65452a492
66> __rte_experimental
67456a497,499
68>  * @warning
69>  * @b EXPERIMENTAL: this API may change without prior notice
70>  *
71462a506
72> __rte_experimental
73485a530
74> __rte_experimental
75508a554
76> __rte_experimental
77