From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id AD67E8055 for ; Thu, 11 Dec 2014 11:34:01 +0100 (CET) Received: by mail-wg0-f53.google.com with SMTP id l18so6027858wgh.12 for ; Thu, 11 Dec 2014 02:34:01 -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=LzdjNqePnjmLCiES5/PQxeGcyz/Rh5I15pjbkAO7QgE=; b=OZmwFq3ODn7N05fxgHQDA/dZZBPYLKiK2LXiY4MiITkeDV2WtJKUhrO7CT421dukY7 43mnQBA7Y8yV1prnBeA8yOUxdKPNfljHIdj/wMeIKacUZf8RSIgHMdZkZD3OA8HmKjY1 1kHzIX5MtWHs/x2X0P+l65DPTlP+UBs37dV7u3/yZiAy5VKoaGZP7VunfImhfd25drq5 tDBqXes31LDdaMUHCFWMiaJriNzuYNvEa/qrJKy+Omsh9q/kX8tX4Yu2UprZqjz70uNr aEUDkUdCFeDpFUPyg46zMkcBL57UFCPhLQISHcL8FDg1BkKNs4QJVKeXdjRgW/RqUAH9 zSSQ== X-Gm-Message-State: ALoCoQnqXLibmi5t5RmT7J1tF8++Hl0TCwXQiMr3N8FOsEG0PJsj/HrjWSm4NEe0+DxMGWwuyTTu X-Received: by 10.180.107.136 with SMTP id hc8mr21590607wib.32.1418294040038; Thu, 11 Dec 2014 02:34:00 -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 kn5sm1081955wjb.48.2014.12.11.02.33.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Dec 2014 02:33:59 -0800 (PST) Message-ID: <54897316.1090109@6wind.com> Date: Thu, 11 Dec 2014 11:33:58 +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-2-git-send-email-jijiang.liu@intel.com> In-Reply-To: <1418173403-30202-2-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 1/3] librte_ether:add outer IP offload capability 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: Thu, 11 Dec 2014 10:34:01 -0000 On 12/10/2014 02:03 AM, Jijiang Liu wrote: > If the flag is set in a PMD, which means the NIC(s) support TX checksum offload of tunneling packet. > > Signed-off-by: Jijiang Liu > --- > lib/librte_ether/rte_ethdev.h | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h > index f66805d..bae59c3 100644 > --- a/lib/librte_ether/rte_ethdev.h > +++ b/lib/librte_ether/rte_ethdev.h > @@ -916,6 +916,7 @@ struct rte_eth_conf { > #define DEV_TX_OFFLOAD_SCTP_CKSUM 0x00000010 > #define DEV_TX_OFFLOAD_TCP_TSO 0x00000020 > #define DEV_TX_OFFLOAD_UDP_TSO 0x00000040 > +#define DEV_TX_OFFLOAD_OUTER_IPV4_CKSUM 0x00000080 /**< Used for tunneling packet. */ > > struct rte_eth_dev_info { > struct rte_pci_device *pci_dev; /**< Device PCI information. */ > Acked-by: Olivier Matz (maybe there's an indent issue, Thomas, could you check when applying the patch?)