34 #ifndef _RTE_DISTRIB_V20_H_
35 #define _RTE_DISTRIB_V20_H_
49 #define RTE_DISTRIBUTOR_NAMESIZE 32
51 struct rte_distributor_v20;
70 struct rte_distributor_v20 *
72 unsigned int num_workers);
107 struct rte_mbuf **mbufs,
unsigned int num_mbufs);
125 struct rte_mbuf **mbufs,
unsigned int max_mbufs);
181 unsigned int worker_id,
struct rte_mbuf *oldpkt);
197 unsigned int worker_id,
struct rte_mbuf *mbuf);
221 unsigned int worker_id,
struct rte_mbuf *oldpkt);
241 unsigned int worker_id);
struct rte_mbuf * rte_distributor_poll_pkt_v20(struct rte_distributor_v20 *d, unsigned int worker_id)
int rte_distributor_flush_v20(struct rte_distributor_v20 *d)
struct rte_mbuf * rte_distributor_get_pkt_v20(struct rte_distributor_v20 *d, unsigned int worker_id, struct rte_mbuf *oldpkt)
void rte_distributor_clear_returns_v20(struct rte_distributor_v20 *d)
int rte_distributor_return_pkt_v20(struct rte_distributor_v20 *d, unsigned int worker_id, struct rte_mbuf *mbuf)
int rte_distributor_returned_pkts_v20(struct rte_distributor_v20 *d, struct rte_mbuf **mbufs, unsigned int max_mbufs)
void rte_distributor_request_pkt_v20(struct rte_distributor_v20 *d, unsigned int worker_id, struct rte_mbuf *oldpkt)
int rte_distributor_process_v20(struct rte_distributor_v20 *d, struct rte_mbuf **mbufs, unsigned int num_mbufs)
struct rte_distributor_v20 * rte_distributor_create_v20(const char *name, unsigned int socket_id, unsigned int num_workers)