]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_mempool_perf.c
mempool: rename functions with confusing names
[dpdk.git] / app / test / test_mempool_perf.c
index b80a1dd36eb95acc5a1218aa1628ec6954bc81c0..4fac04cd06f761214214ba0a2532c325b32c1d1b 100644 (file)
@@ -240,7 +240,7 @@ launch_cores(unsigned cores)
                   external_cache_size : (unsigned) mp->cache_size,
               cores, n_get_bulk, n_put_bulk, n_keep);
 
-       if (rte_mempool_count(mp) != MEMPOOL_SIZE) {
+       if (rte_mempool_avail_count(mp) != MEMPOOL_SIZE) {
                printf("mempool is not full\n");
                return -1;
        }