test/bonding: do not request CRC strip offload
authorFerruh Yigit <ferruh.yigit@intel.com>
Fri, 20 Jul 2018 15:59:41 +0000 (16:59 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 26 Jul 2018 19:46:38 +0000 (21:46 +0200)
bonding PMD doesn't announce CRC STRIP offload support, don't request
this offload in unit test otherwise unit test fails.

Fixes: f52f1a65e461 ("ethdev: force offloading API rules")
Cc: stable@dpdk.org
Reported-by: Meijuan Zhao <meijuanx.zhao@intel.com>
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
test/test/test_link_bonding.c

index ff0576a..0fe1d78 100644 (file)
@@ -137,7 +137,6 @@ static struct rte_eth_conf default_pmd_conf = {
                .mq_mode = ETH_MQ_RX_NONE,
                .split_hdr_size = 0,
                .max_rx_pkt_len = ETHER_MAX_LEN,
-               .offloads = DEV_RX_OFFLOAD_CRC_STRIP,
        },
        .txmode = {
                .mq_mode = ETH_MQ_TX_NONE,