mbuf: add Tx side tunneling type
authorJianfeng Tan <jianfeng.tan@intel.com>
Mon, 1 Aug 2016 03:56:53 +0000 (03:56 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 9 Oct 2016 21:18:48 +0000 (23:18 +0200)
commit63c0d74daaa9a807fbca8a3e363bbe41d6fb715f
tree55a5d09e241d83a715d8e757ef37c3ead6f6345f
parent83b1d3482fe5136dd848213ee50e263374718740
mbuf: add Tx side tunneling type

To support tunneling packet offload capabilities on Tx side, PMDs
(e.g., i40e) need to know what kind of tunneling type of this packet.
Instead of analyzing the packet itself, we depend on applications to
correctly set the tunneling type. These flags are defined inside
rte_mbuf.ol_flags.

Signed-off-by: Zhe Tao <zhe.tao@intel.com>
Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_mbuf/rte_mbuf.c
lib/librte_mbuf/rte_mbuf.h