mbuf: add Tx offloading flags for tunnels
authorJijiang Liu <jijiang.liu@intel.com>
Tue, 2 Dec 2014 15:06:06 +0000 (23:06 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 5 Dec 2014 15:55:00 +0000 (16:55 +0100)
commit1c3b7c33e977d507c4d6b5963f5363f9418ca880
tree01b1f20e75c281e757a5a70241d9c1c6acde9cfa
parent711ba9e23e681b97d547219de8af199ea03a33b3
mbuf: add Tx offloading flags for tunnels

Replace PKT_TX_VXLAN_CKSUM with PKT_TX_UDP_TUNNEL_PKT in order to indicate
a packet is an UDP tunneling packet, and introduce 3 TX offload flags for
outer IP TX checksum, which are PKT_TX_OUTER_IP_CKSUM, PKT_TX_OUTER_IPV4
and PKT_TX_OUTER_IPV6 respectively.
Rework csum forward engine and i40e PMD due to these changes.

Signed-off-by: Jijiang Liu <jijiang.liu@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
app/test-pmd/csumonly.c
lib/librte_mbuf/rte_mbuf.c
lib/librte_mbuf/rte_mbuf.h
lib/librte_pmd_i40e/i40e_rxtx.c