summaryrefslogtreecommitdiff
path: root/examples/qos_meter
diff options
context:
space:
mode:
authorJeff Guo <jia.guo@intel.com>2017-04-08 13:56:39 +0800
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-04-10 22:36:37 +0200
commit60da774e6e59ea1d4eee324920c1fb56af00d17e (patch)
tree344547bb008bb6c26c0fabaec2cdbec237e4f6db /examples/qos_meter
parentb219c8cc07ecedef968d33a68af54d2a7a7ccc51 (diff)
downloaddpdk-next-eventdev-60da774e6e59ea1d4eee324920c1fb56af00d17e.zip
dpdk-next-eventdev-60da774e6e59ea1d4eee324920c1fb56af00d17e.tar.gz
dpdk-next-eventdev-60da774e6e59ea1d4eee324920c1fb56af00d17e.tar.xz
examples: 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 example 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 'examples/qos_meter')
-rw-r--r--examples/qos_meter/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qos_meter/main.c b/examples/qos_meter/main.c
index abe5eb8..d8a2107d 100644
--- a/examples/qos_meter/main.c
+++ b/examples/qos_meter/main.c
@@ -89,7 +89,7 @@ static struct rte_eth_conf port_conf = {
.hw_ip_checksum = 1,
.hw_vlan_filter = 0,
.jumbo_frame = 0,
- .hw_strip_crc = 0,
+ .hw_strip_crc = 1,
},
.rx_adv_conf = {
.rss_conf = {