summaryrefslogtreecommitdiff
path: root/examples/l3fwd-vf
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/l3fwd-vf
parentb219c8cc07ecedef968d33a68af54d2a7a7ccc51 (diff)
downloaddpdk-60da774e6e59ea1d4eee324920c1fb56af00d17e.zip
dpdk-60da774e6e59ea1d4eee324920c1fb56af00d17e.tar.gz
dpdk-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/l3fwd-vf')
-rw-r--r--examples/l3fwd-vf/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/l3fwd-vf/main.c b/examples/l3fwd-vf/main.c
index dc3d547..797f722 100644
--- a/examples/l3fwd-vf/main.c
+++ b/examples/l3fwd-vf/main.c
@@ -197,7 +197,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 = {