From: Jingjing Wu Date: Wed, 8 Feb 2017 05:05:53 +0000 (+0800) Subject: mbuf: fix bitmask of Tx offload flags X-Git-Tag: spdx-start~4525 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=64c1375b837b7080387f898e2cad08972146d805;p=dpdk.git mbuf: fix bitmask of Tx offload flags Add missed PKT_TX_MACSEC and PKT_TX_IEEE1588_TMST flags to bitmask of all supported packet Tx offload features flags. Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation") Signed-off-by: Jingjing Wu Acked-by: Olivier Matz Acked-by: Konstantin Ananyev --- diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 0d01167ccf..ce57d47219 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -298,9 +298,11 @@ extern "C" { PKT_TX_L4_MASK | \ PKT_TX_OUTER_IP_CKSUM | \ PKT_TX_TCP_SEG | \ + PKT_TX_IEEE1588_TMST | \ PKT_TX_QINQ_PKT | \ PKT_TX_VLAN_PKT | \ - PKT_TX_TUNNEL_MASK) + PKT_TX_TUNNEL_MASK | \ + PKT_TX_MACSEC) #define __RESERVED (1ULL << 61) /**< reserved for future mbuf use */