Home
last modified time | relevance | path

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

/net/xdp/
Dxsk.c364 u32 nb_pkts = 0; in xsk_tx_peek_release_fallback() local
366 while (nb_pkts < max_entries && xsk_tx_peek_desc(pool, &descs[nb_pkts])) in xsk_tx_peek_release_fallback()
367 nb_pkts++; in xsk_tx_peek_release_fallback()
370 return nb_pkts; in xsk_tx_peek_release_fallback()
373 u32 xsk_tx_peek_release_desc_batch(struct xsk_buff_pool *pool, u32 nb_pkts) in xsk_tx_peek_release_desc_batch() argument
381 return xsk_tx_peek_release_fallback(pool, nb_pkts); in xsk_tx_peek_release_desc_batch()
386 nb_pkts = 0; in xsk_tx_peek_release_desc_batch()
390 nb_pkts = xskq_cons_nb_entries(xs->tx, nb_pkts); in xsk_tx_peek_release_desc_batch()
398 nb_pkts = xskq_prod_nb_free(pool->cq, nb_pkts); in xsk_tx_peek_release_desc_batch()
399 if (!nb_pkts) in xsk_tx_peek_release_desc_batch()
[all …]