src/dpdk/lib/librte_distributor/rte_distributor_single.c
static int
add_to_backlog(struct rte_distributor_backlog *bl, int64_t item)
{
	if (bl->count == RTE_DISTRIB_BACKLOG_SIZE)
		return -1;

	bl->pkts[(bl->start + bl->count++) & (RTE_DISTRIB_BACKLOG_MASK)]
			= item;
	return 0;
}
/* as name suggests, adds a packet to the backlog for a particular worker */
as name suggests, adds a packet to the backlog for a particular worker
as name suggests adds a packet to the backlog for a particular worker
static int
add_to_backlog(struct rte_distributor_backlog *bl, int64_t item)
{
	if (bl->count == RTE_DISTRIB_BACKLOG_SIZE)
		return -1;
	bl->pkts[(bl->start + bl->count++) & (RTE_DISTRIB_BACKLOG_MASK)]
			= item;
	return 0;
}
static int add_to_backlog ( struct rte_distributor_backlog * bl , int64_t item ) { if ( bl -> count == RTE_DISTRIB_BACKLOG_SIZE ) return -1 ; bl -> pkts [ ( bl -> start + bl -> count ++ ) & ( RTE_DISTRIB_BACKLOG_MASK ) ] = item ; return 0 ; }
as name suggests, adds a packet to the backlog for a particular worker
as name suggests adds a packet to the backlog for a particular worker