Depend on Python 3 Sphinx packages rather than Python 2
[deb_dpdk.git] / app / test / test_pmd_perf.c
index 3d56cd2..1ffd65a 100644 (file)
@@ -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);