X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=app%2Ftest%2Ftest_pmd_ring_perf.c;h=af011f7db5c415e0a340ba7836f31de3327f64dc;hb=5608358c4fb189d7991cd7f5a2e615ac8e558b36;hp=3077dbad79cdaae12c2d07565d92c4e35fc7fb2d;hpb=5129044dce1f85ce4950f31bcf90f3886466f06a;p=deb_dpdk.git diff --git a/app/test/test_pmd_ring_perf.c b/app/test/test_pmd_ring_perf.c index 3077dbad..af011f7d 100644 --- a/app/test/test_pmd_ring_perf.c +++ b/app/test/test_pmd_ring_perf.c @@ -181,8 +181,4 @@ test_ring_pmd_perf(void) return 0; } -static struct test_command ring_pmd_perf_cmd = { - .command = "ring_pmd_perf_autotest", - .callback = test_ring_pmd_perf, -}; -REGISTER_TEST_COMMAND(ring_pmd_perf_cmd); +REGISTER_TEST_COMMAND(ring_pmd_perf_autotest, test_ring_pmd_perf);