1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2019 Arm Limited
5 #ifndef _RTE_STACK_LF_STUBS_H_
6 #define _RTE_STACK_LF_STUBS_H_
8 #include <rte_common.h>
10 static __rte_always_inline unsigned int
11 __rte_stack_lf_count(struct rte_stack *s)
18 static __rte_always_inline void
19 __rte_stack_lf_push_elems(struct rte_stack_lf_list *list,
20 struct rte_stack_lf_elem *first,
21 struct rte_stack_lf_elem *last,
30 static __rte_always_inline struct rte_stack_lf_elem *
31 __rte_stack_lf_pop_elems(struct rte_stack_lf_list *list,
34 struct rte_stack_lf_elem **last)
36 RTE_SET_USED(obj_table);
44 #endif /* _RTE_STACK_LF_STUBS_H_ */