]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_mempool.c
mbuf: remove rte_ctrlmbuf
[dpdk.git] / app / test / test_mempool.c
index a83b2eefcd75ccf7fd959dad55e80cc4a7747f0c..303d2b35fc70016c3cb37b65aa3febdf39b895de 100644 (file)
@@ -455,7 +455,7 @@ test_mempool_xmem_misc(void)
        return (0);
 }
 
-int
+static int
 test_mempool(void)
 {
        rte_atomic32_init(&synchro);
@@ -521,3 +521,9 @@ test_mempool(void)
 
        return 0;
 }
+
+static struct test_command mempool_cmd = {
+       .command = "mempool_autotest",
+       .callback = test_mempool,
+};
+REGISTER_TEST_COMMAND(mempool_cmd);