mbuf: use reserved space for double vlan
authorHelin Zhang <helin.zhang@intel.com>
Thu, 11 Jun 2015 07:03:55 +0000 (15:03 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 7 Jul 2015 14:39:32 +0000 (16:39 +0200)
commitdc6c911c9993b4984aa0daf30e6197e8ad7bd196
treec7f9d988bf8d04cae731ffa4bff8b1f637cb5353
parent61e4d90f273936d56c56a2ad155fd50ebe98b5fd
mbuf: use reserved space for double vlan

Use the reserved 16 bits in rte_mbuf structure for the outer vlan,
also add QinQ offloading flags for both RX and TX sides.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
lib/librte_mbuf/rte_mbuf.h