lib: fix IPv6 tunnel checksum
authorJeff Guo <jia.guo@intel.com>
Wed, 5 Apr 2017 04:48:42 +0000 (12:48 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 10 Apr 2017 20:49:57 +0000 (22:49 +0200)
commitff643f7d026db510d4c1a847db75608ce60ce6c3
treee04c9a903fa9f089b00053f5213628047123eda8
parent60da774e6e59ea1d4eee324920c1fb56af00d17e
lib: fix IPv6 tunnel checksum

When packet is flag of "PKT_TX_OUTER_IPV6", it also need to be
considered to be tunnel case, in order to calculate the correct
csum value.

Fixes: 2b76648872c9 ("net/e1000: add Tx preparation")
Cc: stable@dpdk.org
Signed-off-by: Jeff Guo <jia.guo@intel.com>
lib/librte_net/rte_net.h