Lines Matching refs:refcnt_pool
1029 struct rte_mempool *refcnt_pool, in test_refcnt_iter() argument
1043 for (i = 0, n = rte_mempool_avail_count(refcnt_pool); in test_refcnt_iter()
1044 i != n && (m = rte_pktmbuf_alloc(refcnt_pool)) != NULL; in test_refcnt_iter()
1071 if ((i = rte_mempool_avail_count(refcnt_pool)) == n) { in test_refcnt_iter()
1086 test_refcnt_main(struct rte_mempool *refcnt_pool, in test_refcnt_main() argument
1095 test_refcnt_iter(lcore, i, refcnt_pool, refcnt_mbuf_ring); in test_refcnt_main()
1112 struct rte_mempool *refcnt_pool = NULL; in test_refcnt_mbuf() local
1124 refcnt_pool = rte_pktmbuf_pool_create(MAKE_STRING(refcnt_pool), in test_refcnt_mbuf()
1127 if (refcnt_pool == NULL) { in test_refcnt_mbuf()
1128 printf("%s: cannot allocate " MAKE_STRING(refcnt_pool) "\n", in test_refcnt_mbuf()
1147 test_refcnt_main(refcnt_pool, refcnt_mbuf_ring); in test_refcnt_mbuf()
1162 rte_mempool_dump(stdout, refcnt_pool); in test_refcnt_mbuf()
1168 rte_mempool_free(refcnt_pool); in test_refcnt_mbuf()