From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=PgyuLEp0r/f/HcypvA5iZUEouZz3xLX99jJMW4gTyEQ=; b=hJAjdEvwtn1I8p57vEsykcI9lTxi+f5IQKpmSHGR+8OSprYJLTtLSTqdw0buruyDcfqmOpqQL2dRJ77QkdW+q7TS+lDKiiyT1w46As3/Xjs3pyOglIeHe7qoWYdf/OJK2ink2AoHDZQlQdlFDLcnWpQi2x6KOa+/Oalpr3AVEj8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from svelivela-lt.caveonetworks.com (50.233.148.156) by CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.693.12; Wed, 30 Nov 2016 21:01:52 +0000 Date: Thu, 1 Dec 2016 02:31:47 +0530 From: Jerin Jacob To: Thomas Monjalon 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" , 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3517413.XL3bTbAyaC@xps13> User-Agent: Mutt/1.7.1 (2016-10-04) X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: SN1PR08CA0034.namprd08.prod.outlook.com (10.161.221.44) To CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 2:d/v4b0zeQTngEXa4Zmsah4bcLJ7mFgelRJhvEL19uwUSWm69nwFPe+YjDiqLDmWMAzQbjKk/P55GAlTdsGdn/78eSAhSEVyVvSltsXG9Bgaj3UiHBeokzmmZ+wcP71UHbQzhuCj/2AEfeC9Xe5OP+Xek9DzM2yxhHQhyvPYIeA8=; 3:ZbLHf5wQ48P5QR1OkTtW+Siu7vP9P/scfkLFoTcrdCZzKXJR1nDg9oYjeUsEg2wi9gEEOIYzSyTuzVouT2E1qlWm/o+8Aa+/e1PcxIstddQOMrfvzLZkaXPqtadaA4BawWAE4eVmM7/ZETmprFd9T62uhzq02hV4lf2JYUYFPXI= X-MS-Office365-Filtering-Correlation-Id: ffc537e6-1005-4f04-7d8a-08d419641ce5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 25:O+i5J2zVUIhPVz8cpRuErxroGW+S7PGsYQtTkVb08OLsmrr5qTpSf71h+jTXnQEXZM+bhhed0SMhnDYxky29s76zqQqPJd+hF4vPI3TmQJs7zLqtSjcAcrlFqAEi+WrTNSPxpljawcKHf4hdlSdDWwv7lOEirOXNlxJeoETTxv/AaW8SGFHpGdMlcAHUcdIOnZ16puZ3sXYJAgiF/K7K5xpBbXSZeoJdBPxOMDXfpyaQ57a1Mc69nWNUeACAr8uw5V/+qIXZGyc7iP738rnaEYeHarwPJBoMcdTZ9OOMoxMIhorgAKCih4a9TizYfn1eA6vl/G+cQsnlwMz/Y0fUxv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42HEw4WMpDDae09KGDG/EmTNf6giZ38u5YrujCazgxcJz8Eix2k4r1goSrKu7mbBkZfUj9AErfZ/ocXzTkPPnijDF4C86xS/epAO0jATBen8PF1pU94vEQLHhMOhYVT0QF9UroFRmXHNfnlawuy3OzH+HXxVIX+sJx56weW1zUA/7vtqnbXL7c9lBCrvxc1d+tiTY1aAvBOrdTQGsTNFKQsTOh5Kx/+bJ6jgaqRKFqJfQN0i8Qvm2YW+kBoFd+IGPQvKsGavWJxzUpHnBqkWjI6fAG8RkVgY93e+0zE8vmp9fD1L6bdJ8J/M9bRc+ic1AQemzc5BMF2zrfcbble6AqU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6041248)(20161123562025)(20161123558021)(20161123555025)(20161123564025)(20161123560025)(6072148); SRVR:CY1PR0701MB1727; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 4:Ej9kUB6/ilAC6UZ6bSqL5Q68CGYOO0cYZhvg562vqEx3BFnGTs9Ywh2UxbswTrnFRNtmPx7ICpjkna35dLcOBJsGMmcw/6Lq5zfBD+3JKHFy/sIU6KHxDt+gyyKQYTI6vCtPPBUSDG8JUoZH0IF7VPLnYhKpM3hI090lNI7E+cUeSbHoLgyyGpn7lKbCYps6OJg+xoYizWIhYmU3CFOWSqBJtTyywI1JUMa8hy5OEHldXBXzq/wHnrYCuH3Pa2Cq+5pSE1ZBlUtioNYBvNVqPsIjQZxF4gtM/b5cEgz0lC07COC0JtUz8cshWt2mWQ9Ybtmjda9+1w3CVugV5SKpeVKlbIzv8INYOINoD8SLRpaByydMV5cJd8EGDyL+sy5qi/abxRRgLh1pPms1iJfHMhGlNfzHv1xAVCIV0+SqnFGwqTxVQ5Qxbq72ICH1ZIVgfTIuN0YGSII/ZwqQOOzqZBDtpAHtgrqWDw+eRXddnIwZDr+LFWqRyNsJbNIqp2Or/YgC/9hoJaoKeIpu+PROeMVAwXLCtWcTS1cCP89C8c4O23MmUfRVJWAp2BkpiJz7xab6dvNn7OS+3b2t91Dn0QHQFRIZC/b8wet+w+t/4Tw= X-Forefront-PRVS: 0142F22657 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(51914003)(377424004)(189002)(199003)(24454002)(101416001)(83506001)(66066001)(42882006)(50986999)(5660300001)(81166006)(50466002)(7846002)(6116002)(110136003)(23676002)(2950100002)(6916009)(76176999)(54356999)(81156014)(6666003)(42186005)(105586002)(53416004)(7736002)(47776003)(7416002)(8676002)(38730400001)(4001350100001)(92566002)(2870700001)(39060400001)(229853002)(68736007)(69596002)(106356001)(4001150100001)(3846002)(305945005)(189998001)(33656002)(39410400001)(2906002)(9686002)(1076002)(39450400002)(733004)(97736004)(4326007)(93886004)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1727; H:svelivela-lt.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjA3MDFNQjE3Mjc7MjM6OFgrMGRSVzcxL2tmTmFFcmRUc0xNa0wv?= =?utf-8?B?djl5L1BvKytOVnA5T2VpbUM4RDR2YlByLzZKbGpzeThNYmxpRXd6UUhNNndY?= =?utf-8?B?V3dqaWZXY2oyV3YzT0hvaVBVTVdWUXd1YWZxMjdwR0hOVDNIQnBBOUw0Tmxq?= =?utf-8?B?WkdLR1JMdFlURFFCUnF3dmhDcWtZb0wrb0JQZWhpeXJqNTdoZkt0b05NOGZx?= =?utf-8?B?RXpLb3hyYUt0QmR6a3lKREJLMmk4L1BldVJjNU1nZ0VzeCtwQnFORzU4TUQ3?= =?utf-8?B?OW4waHp1M1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jcABQC/cTDwqGrsvIUEXRmNQ6aHAwETlYcdijLO7BENNbuvZ17HGhW3nG+oXUuq4hLO9ZCljS8Hzey0h4gBOC9K8y3yN6tWok98f9DVd3t5iUgzO4m6FC6HBft4fHC1UbbRjgOxdxsWl26ofk//xJxhanMC+6vVsKP0U1G0R31y3wOnilQbYsW5QlLidXUemL7F+Qhtsmt6j/AlF8SSFa2suXzIyxnOPSOkbdhA=; 5:oN+O583wb5AMBCWA6CcyT6OKifY/LxPaJ/E4+acMVZYZyWB207JEmePLhNqPFixn/Bt+UWdU5FgHsfX01aQjo1GezpmtUr9vSEVMg0SZ7ioH+im/zytQa2CXDVeEaqJr/Vt+0O4ZAzqdT7fB8qFkGQ==; 24:0VFMqMjkbiQb5LzY/a59pNK+lNijo1RV9oIK2xl7wYO+E5Bj70e9EE01kln2btGI03bwHwWui5dRbuHO4xhEflhHPOOEfT2n1iHuN/tqmfU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 7:KPpG3eA9nXLj2+IUE4ZeJ3KN02tb2BBb5hqNFS60KFzbLf5E0EAXSNLkXQtzfy3sKcJXa1pCQU60DZDc595sbf3NzUqQ65RVKAjOQw9/nv0N3fnzM9nUq5+CCnftBpjIdFqr+yhnkU5RTXt9a9Nbg0DdMY+eRAacuB3iV+CVYzBDf1y+9b2U9QEV5rZRqHUjFhKZeesKD04W5IFpkPtltQk9LAiLSAUEL9h0Zjjd8RHsqwcvzw6xaPCCR8+k7idWZs2CY008Y/T9hwNGdbcPDjjzDW8Rh9CY2Irx5JQDGpafTvpTB5nyZ7ijqGYLIY9uYXtJ5RYkueSWLqrnV/9y58VXalVzTpPFIWaPjxP8IWY= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2016 21:01:52.4575 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1727 Subject: Re: [dpdk-dev] [PATCH v12 0/6] add Tx preparation 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: Wed, 30 Nov 2016 21:01:59 -0000 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? >