From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH v12 0/6] add Tx preparation Date: Thu, 1 Dec 2016 02:31:47 +0530 Message-ID: <20161130210146.GA6446@svelivela-lt.caveonetworks.com> References: <1477486575-25148-1-git-send-email-tomaszx.kulasek@intel.com> <2601191342CEEE43887BDE71AB9772583F0E2444@irsmsx105.ger.corp.intel.com> <3517413.XL3bTbAyaC@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Cc: "Ananyev, Konstantin" , Harish Patil , , Rahul Lakkireddy , Stephen Hurd , Jan Medala , Jakub Palider , John Daley , Adrien Mazarguil , Alejandro Lucero , Rasesh Mody , "Jacob, Jerin" , Yuanhan Liu , Yong Wang , "Kulasek, TomaszX" , To: Thomas Monjalon Return-path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0049.outbound.protection.outlook.com [104.47.41.49]) by dpdk.org (Postfix) with ESMTP id 5B1CE5680 for ; Wed, 30 Nov 2016 22:01:59 +0100 (CET) Content-Disposition: inline In-Reply-To: <3517413.XL3bTbAyaC@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Nov 30, 2016 at 07:26:36PM +0100, Thomas Monjalon wrote: > 2016-11-30 17:42, Ananyev, Konstantin: > > > >Please, we need a comment for each driver saying > > > >"it is OK, we do not need any checksum preparation for TSO" > > > >or > > > >"yes we have to implement tx_prepare or TSO will not work in this mode" > > > > > > > > > > qede PMD doesn’t currently support TSO yet, it only supports Tx TCP/UDP/IP > > > csum offloads. > > > So Tx preparation isn’t applicable. So as of now - > > > "it is OK, we do not need any checksum preparation for TSO" > > > > Thanks for the answer. > > Though please note that it not only for TSO. > > Oh yes, sorry, my wording was incorrect. > We need to know if any checksum preparation is needed prior > offloading its final computation to the hardware or driver. > So the question applies to TSO and simple checksum offload. > > We are still waiting answers for > bnxt, cxgbe, ena, nfp, thunderx, virtio and vmxnet3. The thunderx devices don't need pseudo header checksum in the packet for TSO or TX checksum offload. So.. "it is OK, we do not need any checksum preparation for TSO" > > > This is for any TX offload for which the upper layer SW would have > > to modify the contents of the packet. > > Though as I can see for qede neither PKT_TX_IP_CKSUM or PKT_TX_TCP_CKSUM > > exhibits any extra requirements for the user. > > Is that correct? >