src/dpdk/lib/librte_distributor/rte_distributor_single.c
void
rte_distributor_clear_returns_single(struct rte_distributor_single *d)
{
	d->returns.start = d->returns.count = 0;
#ifndef __OPTIMIZE__
	memset(d->returns.mbufs, 0, sizeof(d->returns.mbufs));
#endif
}
/* clears the internal returns array in the distributor */
clears the internal returns array in the distributor
clears the internal returns array in the distributor
void
rte_distributor_clear_returns_single(struct rte_distributor_single *d)
{
	d->returns.start = d->returns.count = 0;
#ifndef __OPTIMIZE__
	memset(d->returns.mbufs, 0, sizeof(d->returns.mbufs));
#endif
}
void rte_distributor_clear_returns_single ( struct rte_distributor_single * d ) { d -> returns . start = d -> returns . count = 0 ; #ifndef __OPTIMIZE__ memset ( d -> returns . mbufs , 0 , sizeof ( d -> returns . mbufs ) ) ; #endif }
clears the internal returns array in the distributor
clears the internal returns array in the distributor