[dpdk-dev] [PATCH] test/bonding: don't request CRC STRIP offload

Ferruh Yigit ferruh.yigit at intel.com
Fri Jul 20 17:59:41 CEST 2018


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 at dpdk.org

Reported-by: Meijuan Zhao <meijuanx.zhao at intel.com>
Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
---
 test/test/test_link_bonding.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/test/test/test_link_bonding.c b/test/test/test_link_bonding.c
index ff0576a54..0fe1d78eb 100644
--- a/test/test/test_link_bonding.c
+++ b/test/test/test_link_bonding.c
@@ -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,
-- 
2.17.1



More information about the dev mailing list