From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH 2/4] mbuf: fix Tx offload mask Date: Mon, 1 Oct 2018 14:45:02 +0100 Message-ID: <20d2c484-6c86-7c55-4973-d55f1da20a6c@intel.com> References: <20180913134707.23698-1-jerin.jacob@caviumnetworks.com> <20180913134707.23698-2-jerin.jacob@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, stable@dpdk.org, jiayu.hu@intel.com To: Jerin Jacob , Olivier Matz Return-path: In-Reply-To: <20180913134707.23698-2-jerin.jacob@caviumnetworks.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 9/13/2018 2:47 PM, Jerin Jacob wrote: > Fixes missing PKT_TX_UDP_SEG value in PKT_TX_OFFLOAD_MASK. > > Fixes: 6d18505efaa6 ("vhost: support UDP Fragmentation Offload") > Cc: stable@dpdk.org > Cc: jiayu.hu@intel.com > > Signed-off-by: Jerin Jacob > --- > lib/librte_mbuf/rte_mbuf.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h > index 9ce5d76d7..6a5dbbc8f 100644 > --- a/lib/librte_mbuf/rte_mbuf.h > +++ b/lib/librte_mbuf/rte_mbuf.h > @@ -343,7 +343,8 @@ extern "C" { > PKT_TX_VLAN_PKT | \ > PKT_TX_TUNNEL_MASK | \ > PKT_TX_MACSEC | \ > - PKT_TX_SEC_OFFLOAD) > + PKT_TX_SEC_OFFLOAD | \ > + PKT_TX_UDP_SEG) Also can you sort the list, it seem there was an intention to sort from high bits to low, but broken, it makes easy to recognize missing items later.