5 #ifndef _RTE_REORDER_H_ 6 #define _RTE_REORDER_H_ 24 struct rte_reorder_buffer;
45 struct rte_reorder_buffer *
64 struct rte_reorder_buffer *
66 const char *name,
unsigned int size);
80 struct rte_reorder_buffer *
unsigned int rte_reorder_drain(struct rte_reorder_buffer *b, struct rte_mbuf **mbufs, unsigned max_mbufs)
int rte_reorder_insert(struct rte_reorder_buffer *b, struct rte_mbuf *mbuf)
struct rte_reorder_buffer * rte_reorder_find_existing(const char *name)
void rte_reorder_free(struct rte_reorder_buffer *b)
struct rte_reorder_buffer * rte_reorder_init(struct rte_reorder_buffer *b, unsigned int bufsize, const char *name, unsigned int size)
struct rte_reorder_buffer * rte_reorder_create(const char *name, unsigned socket_id, unsigned int size)
void rte_reorder_reset(struct rte_reorder_buffer *b)