From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 80E1F8055 for ; Thu, 11 Dec 2014 11:34:32 +0100 (CET) Received: by mail-wg0-f44.google.com with SMTP id b13so6000519wgh.3 for ; Thu, 11 Dec 2014 02:34:32 -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 :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=SDq49YwsIAdyUx9BKMbP5MRUaJmLqrBkWY8vWqqjWVM=; b=BrBzlIYOwZrOmMvVC5dOAmfI0b1Bt9nDzniXIg1ffSYzu57qXtD85hzbqBZzasUVwn XY2ro5SPqTgJTY2kC5BibR9WPDfZTsQMG/QW4wTU1T9o/g97wyv+h7pMg594UyX8pcXF gHzJRJx72Ip4T4nT7XFXccVLeO44QpprMs4D2PC2dSNAOWplQO3nPi7QLJ3QxmVBBh5u tZKY4h97Nf5kL1yDjcxDHIazD4H3hPt4ud89FKxU1JcHhNnypTUbTp2U0pQ1GbPt3fil /+67dit5jnAxR85eSScWRuH/KMhTCkWW0Owi/ue4FhG5Wwc1e5FhsUz7mV7E9Z0/nUoc LuWQ== X-Gm-Message-State: ALoCoQlltzlK239uXs65iOKEdLx62p1at2FMeIoMX+mJqf46tquHWoqO1tHRUU/67/qq4tMUYKCs X-Received: by 10.194.238.40 with SMTP id vh8mr15582547wjc.57.1418294072407; Thu, 11 Dec 2014 02:34:32 -0800 (PST) Received: from [10.16.0.195] (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id l10sm2378785wif.20.2014.12.11.02.34.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Dec 2014 02:34:32 -0800 (PST) Message-ID: <54897337.2060301@6wind.com> Date: Thu, 11 Dec 2014 11:34:31 +0100 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 To: Jijiang Liu , dev@dpdk.org References: <1418173403-30202-1-git-send-email-jijiang.liu@intel.com> <1418173403-30202-3-git-send-email-jijiang.liu@intel.com> In-Reply-To: <1418173403-30202-3-git-send-email-jijiang.liu@intel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v3 2/3] i40e:support outer IPv4 checksum capability 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: Thu, 11 Dec 2014 10:34:32 -0000 On 12/10/2014 02:03 AM, Jijiang Liu wrote: > The DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM flag is added in i40e capability set, which means the i40e supports TX checksum offload of tunneling packet. > > Signed-off-by: Jijiang Liu > --- > lib/librte_pmd_i40e/i40e_ethdev.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b/lib/librte_pmd_i40e/i40e_ethdev.c > index 87e750a..deddd0b 100644 > --- a/lib/librte_pmd_i40e/i40e_ethdev.c > +++ b/lib/librte_pmd_i40e/i40e_ethdev.c > @@ -1491,7 +1491,8 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) > DEV_TX_OFFLOAD_IPV4_CKSUM | > DEV_TX_OFFLOAD_UDP_CKSUM | > DEV_TX_OFFLOAD_TCP_CKSUM | > - DEV_TX_OFFLOAD_SCTP_CKSUM; > + DEV_TX_OFFLOAD_SCTP_CKSUM | > + DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM; > dev_info->reta_size = pf->hash_lut_size; > > dev_info->default_rxconf = (struct rte_eth_rxconf) { > Acked-by: Olivier Matz