18#include <rte_compat.h>
26struct rte_reorder_buffer;
28typedef uint32_t rte_reorder_seqn_t;
29extern int rte_reorder_seqn_dynfield_offset;
41static inline rte_reorder_seqn_t *
45 rte_reorder_seqn_t *);
67struct rte_reorder_buffer *
87struct rte_reorder_buffer *
89 const char *name,
unsigned int size);
103struct rte_reorder_buffer *
#define RTE_MBUF_DYNFIELD(m, offset, type)
int rte_reorder_insert(struct rte_reorder_buffer *b, struct rte_mbuf *mbuf)
unsigned int rte_reorder_drain(struct rte_reorder_buffer *b, struct rte_mbuf **mbufs, unsigned max_mbufs)
static __rte_experimental rte_reorder_seqn_t * rte_reorder_seqn(struct rte_mbuf *mbuf)
void rte_reorder_free(struct rte_reorder_buffer *b)
struct rte_reorder_buffer * rte_reorder_create(const char *name, unsigned socket_id, unsigned int size)
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_find_existing(const char *name)
void rte_reorder_reset(struct rte_reorder_buffer *b)