From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH v2 04/20] i40e: remove the use of PKT_TX_UDP_TUNNEL_PKT flag Date: Tue, 10 Feb 2015 18:08:35 +0100 Message-ID: <54DA3B13.2010202@6wind.com> References: <1422623775-8050-1-git-send-email-olivier.matz@6wind.com> <1423041925-26956-1-git-send-email-olivier.matz@6wind.com> <1423041925-26956-5-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit To: "Zhang, Helin" , "dev-VfR2kkLFssw@public.gmane.org" Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi Helin, On 02/10/2015 07:40 AM, Zhang, Helin wrote: >> diff --git a/lib/librte_pmd_i40e/i40e_rxtx.c b/lib/librte_pmd_i40e/i40e_rxtx.c >> index 9acdeee..0786255 100644 >> --- a/lib/librte_pmd_i40e/i40e_rxtx.c >> +++ b/lib/librte_pmd_i40e/i40e_rxtx.c >> @@ -482,7 +482,7 @@ i40e_txd_enable_checksum(uint64_t ol_flags, >> } >> >> /* UDP tunneling packet TX checksum offload */ >> - if (unlikely(ol_flags & PKT_TX_UDP_TUNNEL_PKT)) { >> + if (unlikely(ol_flags & PKT_TX_OUTER_IP_CKSUM)) { > Unlikely might not be suitable anymore. Right, I'll remove it. Thanks