5#ifndef _RTE_DISTRIB_SINGLE_H_
6#define _RTE_DISTRIB_SINGLE_H_
20#define RTE_DISTRIBUTOR_NAMESIZE 32
22struct rte_distributor_single;
41struct rte_distributor_single *
43 unsigned int num_workers);
78 struct rte_mbuf **mbufs,
unsigned int num_mbufs);
96 struct rte_mbuf **mbufs,
unsigned int max_mbufs);
152 unsigned int worker_id,
struct rte_mbuf *oldpkt);
168 unsigned int worker_id,
struct rte_mbuf *mbuf);
192 unsigned int worker_id,
struct rte_mbuf *oldpkt);
212 unsigned int worker_id);
int rte_distributor_process_single(struct rte_distributor_single *d, struct rte_mbuf **mbufs, unsigned int num_mbufs)
void rte_distributor_request_pkt_single(struct rte_distributor_single *d, unsigned int worker_id, struct rte_mbuf *oldpkt)
struct rte_mbuf * rte_distributor_get_pkt_single(struct rte_distributor_single *d, unsigned int worker_id, struct rte_mbuf *oldpkt)
struct rte_distributor_single * rte_distributor_create_single(const char *name, unsigned int socket_id, unsigned int num_workers)
struct rte_mbuf * rte_distributor_poll_pkt_single(struct rte_distributor_single *d, unsigned int worker_id)
int rte_distributor_returned_pkts_single(struct rte_distributor_single *d, struct rte_mbuf **mbufs, unsigned int max_mbufs)
int rte_distributor_return_pkt_single(struct rte_distributor_single *d, unsigned int worker_id, struct rte_mbuf *mbuf)
void rte_distributor_clear_returns_single(struct rte_distributor_single *d)
int rte_distributor_flush_single(struct rte_distributor_single *d)