From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH v3 1/3] librte_ether:add outer IP offload capability flag Date: Thu, 11 Dec 2014 11:33:58 +0100 Message-ID: <54897316.1090109@6wind.com> References: <1418173403-30202-1-git-send-email-jijiang.liu@intel.com> <1418173403-30202-2-git-send-email-jijiang.liu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: Jijiang Liu , dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1418173403-30202-2-git-send-email-jijiang.liu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> 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" 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?)