src/dpdk/lib/librte_distributor/rte_distributor.c
static inline unsigned int
total_outstanding(const struct rte_distributor *d)
{
	unsigned int wkr, total_outstanding = 0;

	for (wkr = 0; wkr < d->num_workers; wkr++)
		total_outstanding += d->backlog[wkr].count + d->bufs[wkr].count;

	return total_outstanding;
}
/*
 * Return the number of packets in-flight in a distributor, i.e. packets
 * being worked on or queued up in a backlog.
 */
Return the number of packets in-flight in a distributor, i.e. packets
being worked on or queued up in a backlog.
Return the number of packets in - flight in a distributor i . e . packets being worked on or queued up in a backlog .
static inline unsigned int
total_outstanding(const struct rte_distributor *d)
{
	unsigned int wkr, total_outstanding = 0;
	for (wkr = 0; wkr < d->num_workers; wkr++)
		total_outstanding += d->backlog[wkr].count + d->bufs[wkr].count;
	return total_outstanding;
}
static inline unsigned int total_outstanding ( const struct rte_distributor * d ) { unsigned int wkr , total_outstanding = 0 ; for ( wkr = 0 ; wkr < d -> num_workers ; wkr ++ ) total_outstanding += d -> backlog [ wkr ] . count + d -> bufs [ wkr ] . count ; return total_outstanding ; }
Return the number of packets in-flight in a distributor, i.e.
Return the number of packets in - flight in a distributor i . e .