summaryrefslogtreecommitdiff
path: root/test/test-pipeline
diff options
context:
space:
mode:
authorJeff Guo <jia.guo@intel.com>2017-04-08 13:56:41 +0800
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-04-10 22:36:31 +0200
commitb219c8cc07ecedef968d33a68af54d2a7a7ccc51 (patch)
tree35afd3563340a65523c0b78495e8411908c6725d /test/test-pipeline
parent79dd163fcaac74006ab607b6c0d1baacc9c40d92 (diff)
downloaddpdk-b219c8cc07ecedef968d33a68af54d2a7a7ccc51.zip
dpdk-b219c8cc07ecedef968d33a68af54d2a7a7ccc51.tar.gz
dpdk-b219c8cc07ecedef968d33a68af54d2a7a7ccc51.tar.xz
test: enable HW CRC strip by default
Since VF can not disable/enable HW CRC strip for non-DPDK PF drivers, and kernel driver almost default enable that feature, if disable it in test app's rxmode, VF driver will report the VF launch failure. So this patch default to enable HW CRC strip to let VF launch successful. Cc: stable@dpdk.org Signed-off-by: Jeff Guo <jia.guo@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Diffstat (limited to 'test/test-pipeline')
-rw-r--r--test/test-pipeline/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-pipeline/init.c b/test/test-pipeline/init.c
index aef082f..00dbc27 100644
--- a/test/test-pipeline/init.c
+++ b/test/test-pipeline/init.c
@@ -105,7 +105,7 @@ static struct rte_eth_conf port_conf = {
.hw_ip_checksum = 1, /* IP checksum offload enabled */
.hw_vlan_filter = 0, /* VLAN filtering disabled */
.jumbo_frame = 0, /* Jumbo Frame Support disabled */
- .hw_strip_crc = 0, /* CRC stripped by hardware */
+ .hw_strip_crc = 1, /* CRC stripped by hardware */
},
.rx_adv_conf = {
.rss_conf = {