From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ye Xiaolong Subject: Re: [PATCH v1] net/ixgbe: update PMD Tx offload mask Date: Thu, 25 Oct 2018 14:08:45 +0800 Message-ID: <20181025060845.GB55104@intel.com> References: <20181025134216.37416-1-zhirun.yan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, qi.z.zhang@intel.com, beilei.xing@intel.com To: Zhirun Yan Return-path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 3395B2E81 for ; Thu, 25 Oct 2018 08:08:56 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20181025134216.37416-1-zhirun.yan@intel.com> 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 10/25, Zhirun Yan wrote: >Tx offload mask is updated in following commit: >commit 1037ed842c37 ("mbuf: fix Tx offload mask") >Currently, the new added offload flags will be s/will be/are Thanks, Xiaolong >not supported in PMD and application will fail to >call PMD transmit prepare function. >This patch updates IXGBE_TX_OFFFLOAD_MASK. > >Fixes: b161f72107 ("mbuf: remove too specific flags mask") >Signed-off-by: Zhirun Yan >--- > drivers/net/ixgbe/ixgbe_rxtx.c | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c >index e6f61c900..d6e971440 100644 >--- a/drivers/net/ixgbe/ixgbe_rxtx.c >+++ b/drivers/net/ixgbe/ixgbe_rxtx.c >@@ -58,6 +58,10 @@ > #endif > /* Bit Mask to indicate what bits required for building TX context */ > #define IXGBE_TX_OFFLOAD_MASK ( \ >+ PKT_TX_OUTER_IPV6 | \ >+ PKT_TX_OUTER_IPV4| \ >+ PKT_TX_IPV6 | \ >+ PKT_TX_IPV4 | \ > PKT_TX_VLAN_PKT | \ > PKT_TX_IP_CKSUM | \ > PKT_TX_L4_MASK | \ >-- >2.17.1 >