Home
last modified time | relevance | path

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

/dpdk/drivers/net/netvsc/
H A Dhn_rxtx.c293 txq->txdesc_pool = rte_mempool_create(name, nb_desc, in hn_dev_tx_queue_setup()
298 if (txq->txdesc_pool == NULL) { in hn_dev_tx_queue_setup()
318 rte_mempool_free(txq->txdesc_pool); in hn_dev_tx_queue_setup()
330 qinfo->nb_desc = txq->txdesc_pool->size; in hn_dev_tx_queue_info()
338 if (rte_mempool_get(txq->txdesc_pool, (void **)&txd)) { in hn_txd_get()
354 rte_mempool_put(txq->txdesc_pool, txd); in hn_txd_put()
367 rte_mempool_free(txq->txdesc_pool); in hn_dev_tx_queue_release()
387 if (offset >= rte_mempool_avail_count(txq->txdesc_pool)) in hn_dev_tx_descriptor_status()
390 if (offset < rte_mempool_in_use_count(txq->txdesc_pool)) in hn_dev_tx_descriptor_status()
1496 rte_mempool_avail_count(txq->txdesc_pool) < tx_thresh) in hn_xmit_pkts()
H A Dhn_var.h59 struct rte_mempool *txdesc_pool; member