X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=app%2Ftest%2Ftest_pmd_perf.c;h=1ffd65a52a2f6fc6cf1ae93af396ab362b3d001b;hb=23cb5563dab4773a05597fb6531aa0eb40cbc091;hp=3d56cd29a5dbcd7468ebdac580b17d680c2c0a2c;hpb=809f08006d56e7ba4ce190b0a63d44acf62d8044;p=deb_dpdk.git diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c index 3d56cd29..1ffd65a5 100644 --- a/app/test/test_pmd_perf.c +++ b/app/test/test_pmd_perf.c @@ -100,7 +100,7 @@ static struct rte_eth_conf port_conf = { .hw_vlan_strip = 0, /**< VLAN strip enabled. */ .hw_vlan_extend = 0, /**< Extended VLAN disabled. */ .jumbo_frame = 0, /**< Jumbo Frame Support disabled */ - .hw_strip_crc = 0, /**< CRC stripped by hardware */ + .hw_strip_crc = 1, /**< CRC stripped by hardware */ .enable_scatter = 0, /**< scatter rx disabled */ }, .txmode = { @@ -910,8 +910,4 @@ test_set_rxtx_sc(cmdline_fixed_string_t type) return -1; } -static struct test_command pmd_perf_cmd = { - .command = "pmd_perf_autotest", - .callback = test_pmd_perf, -}; -REGISTER_TEST_COMMAND(pmd_perf_cmd); +REGISTER_TEST_COMMAND(pmd_perf_autotest, test_pmd_perf);