summaryrefslogtreecommitdiff
path: root/examples/ip_fragmentation
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/ip_fragmentation
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/ip_fragmentation')
-rw-r--r--examples/ip_fragmentation/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ip_fragmentation/main.c b/examples/ip_fragmentation/main.c
index 8d2ec43..815b225 100644
--- a/examples/ip_fragmentation/main.c
+++ b/examples/ip_fragmentation/main.c
@@ -176,7 +176,7 @@ static const struct rte_eth_conf port_conf = {
.hw_ip_checksum = 1, /**< IP checksum offload enabled */
.hw_vlan_filter = 0, /**< VLAN filtering disabled */
.jumbo_frame = 1, /**< Jumbo Frame Support enabled */
- .hw_strip_crc = 0, /**< CRC stripped by hardware */
+ .hw_strip_crc = 1, /**< CRC stripped by hardware */
},
.txmode = {
.mq_mode = ETH_MQ_TX_NONE,