Searched refs:txdesc_pool (Results 1 – 2 of 2) sorted by relevance
293 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 if (txq->txdesc_pool) in hn_dev_tx_queue_setup()319 rte_mempool_free(txq->txdesc_pool); in hn_dev_tx_queue_setup()331 qinfo->nb_desc = txq->txdesc_pool->size; in hn_dev_tx_queue_info()339 if (rte_mempool_get(txq->txdesc_pool, (void **)&txd)) { in hn_txd_get()355 rte_mempool_put(txq->txdesc_pool, txd); in hn_txd_put()368 if (txq->txdesc_pool) in hn_dev_tx_queue_release()369 rte_mempool_free(txq->txdesc_pool); in hn_dev_tx_queue_release()389 if (offset >= rte_mempool_avail_count(txq->txdesc_pool)) in hn_dev_tx_descriptor_status()[all …]
61 struct rte_mempool *txdesc_pool; member