Home
last modified time | relevance | path

Searched refs:RTE_DISTRIB_RETURNS_MASK (Results 1 – 3 of 3) sorted by relevance

/f-stack/dpdk/lib/librte_distributor/
H A Drte_distributor_single.c114 d->returns.mbufs[(*ret_start + *ret_count) & RTE_DISTRIB_RETURNS_MASK] in store_return()
116 *ret_start += (*ret_count == RTE_DISTRIB_RETURNS_MASK) & !!(oldbuf); in store_return()
117 *ret_count += (*ret_count != RTE_DISTRIB_RETURNS_MASK) & !!(oldbuf); in store_return()
332 unsigned idx = (returns->start + i) & RTE_DISTRIB_RETURNS_MASK; in rte_distributor_returned_pkts_single()
H A Drte_distributor.c227 d->returns.mbufs[(*ret_start + *ret_count) & RTE_DISTRIB_RETURNS_MASK] in store_return()
229 *ret_start += (*ret_count == RTE_DISTRIB_RETURNS_MASK); in store_return()
230 *ret_count += (*ret_count != RTE_DISTRIB_RETURNS_MASK); in store_return()
629 RTE_DISTRIB_RETURNS_MASK; in rte_distributor_returned_pkts()
H A Ddistributor_private.h40 #define RTE_DISTRIB_RETURNS_MASK (RTE_DISTRIB_MAX_RETURNS - 1) macro