On Thu, Dec 22, 2016 at 04:37:06AM +0000, David Hunt wrote: > Signed-off-by: David Hunt <david.h...@intel.com> > --- > + * it does nothing but return packets and count them. > + */ > +static int > +handle_work_burst(void *arg) > +{ > + //struct rte_mbuf *pkt = NULL;
Seems like their is lot test code with // in this file. Please remove it. > + struct rte_distributor_burst *d = arg; > + unsigned int count = 0; > + unsigned int num = 0; > + unsigned int id = __sync_fetch_and_add(&worker_idx, 1); Use rte_atomic equivalent