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

	total_outstanding = __builtin_popcountl(d->in_flight_bitmask);

	for (wkr = 0; wkr < d->num_workers; wkr++)
		total_outstanding += d->backlog[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
total_outstanding(const struct rte_distributor_single *d)
{
	unsigned wkr, total_outstanding;
	total_outstanding = __builtin_popcountl(d->in_flight_bitmask);
	for (wkr = 0; wkr < d->num_workers; wkr++)
		total_outstanding += d->backlog[wkr].count;
	return total_outstanding;
}
static inline unsigned total_outstanding ( const struct rte_distributor_single * d ) { unsigned wkr , total_outstanding ; total_outstanding = __builtin_popcountl ( d -> in_flight_bitmask ) ; for ( wkr = 0 ; wkr < d -> num_workers ; wkr ++ ) total_outstanding += d -> backlog [ 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 .