From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f174.google.com (mail-we0-f174.google.com [74.125.82.174]) by dpdk.org (Postfix) with ESMTP id 337DA5A31 for ; Tue, 10 Feb 2015 18:08:36 +0100 (CET) Received: by mail-we0-f174.google.com with SMTP id w55so3100494wes.5 for ; Tue, 10 Feb 2015 09:08:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=0bbKmgwY5GRhzrV0wdEg/tlcq/EVuKrOa0i09dNNsK0=; b=fvT62J+hPnx4Yq4u6Hsngxi3EEMcGKwisecPoj1A/flmmfpAQtMyYL8SxKgs7Vortw nBqNqQfldG9Ik47M6PsMG6RzPC3hNdTkxHi+pE451l09lj0/BZ/ZASBzf0fQVrv8wn5P Nqa6Gl+X9CBZkeEfbPpAWx3pQEZ7bthYec/KSljOyx2zu5XblxohEPZruo4NzMz49vyr z7+5dBXEjWukTP8DxVDgYop0+zYR+AdQEkTW5J9eFSSGR4Kt0SEWc3B8otWmwIsFXXWj 5rfa6sCscwoVY3sI4TiuJ1iwaWmhKWPCGPxAjIPuycio02TRmVZtEjTiW9aT3lhQvZxz MdPQ== X-Gm-Message-State: ALoCoQmDzKYDKGbkHLIu1lKMcrilnyG/ckN4L3EsR3hirgh61lAV/z9PBO+J2CaXgWptNaboHyrE X-Received: by 10.194.201.103 with SMTP id jz7mr55252427wjc.14.1423588116028; Tue, 10 Feb 2015 09:08:36 -0800 (PST) Received: from [10.16.0.195] (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id eb10sm19638633wib.13.2015.02.10.09.08.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Feb 2015 09:08:35 -0800 (PST) Message-ID: <54DA3B13.2010202@6wind.com> Date: Tue, 10 Feb 2015 18:08:35 +0100 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 To: "Zhang, Helin" , "dev@dpdk.org" 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> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 04/20] i40e: remove the use of PKT_TX_UDP_TUNNEL_PKT flag X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2015 17:08:36 -0000 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