| 21 | .name = RTE_TAILQ_STACK_NAME, |
| 22 | }; |
| 23 | EAL_REGISTER_TAILQ(rte_stack_tailq) |
| 24 | |
| 25 | |
| 26 | static void |
| 27 | rte_stack_init(struct rte_stack *s, unsigned int count, uint32_t flags) |
| 28 | { |
| 29 | memset(s, 0, sizeof(*s)); |
| 30 | |
| 31 | if (flags & RTE_STACK_F_LF) |
| 32 | rte_stack_lf_init(s, count); |
| 33 | else |
| 34 | rte_stack_std_init(s); |
| 35 | } |
| 36 | |
| 37 | static ssize_t |
| 38 | rte_stack_get_memsize(unsigned int count, uint32_t flags) |
no test coverage detected