From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-eopbgr680053.outbound.protection.outlook.com [40.107.68.53]) by dpdk.org (Postfix) with ESMTP id 387EA2BD5 for ; Sun, 16 Sep 2018 11:32:50 +0200 (CEST) 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:X-MS-Exchange-SenderADCheck; bh=YCzQAmNysAIwLp9iwzyHMgr6cpA7zVldvRksot91leI=; b=dBSn656bsRneDZUE7jrZSRcA79hoaul6SQOWH19Xe/HaivE0B3CLjSxVbHqyx4Z4ZsSlLsmWYR+oUX64QySoLlWKnuW2c3j+ygcBnGo2AKj/u+6pYy0TvmMCMSeo72XMH6yeUNkll4uoWjk3VMmpTy8UuLi5mSY74fOvEQzLGDA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (106.208.114.220) by SN6PR07MB5006.namprd07.prod.outlook.com (2603:10b6:805:ac::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.21; Sun, 16 Sep 2018 09:32:42 +0000 Date: Sun, 16 Sep 2018 15:02:25 +0530 From: Jerin Jacob To: Shahaf Shuler Cc: Wenzhuo Lu , Jingjing Wu , Bernard Iremonger , John McNamara , Marko Kovacevic , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , Olivier Matz , "dev@dpdk.org" Message-ID: <20180916093200.GA1849@jerin> References: <20180913134707.23698-1-jerin.jacob@caviumnetworks.com> <20180913134707.23698-3-jerin.jacob@caviumnetworks.com> <20180914030541.GA3822@jerin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [106.208.114.220] X-ClientProxiedBy: MA1PR0101CA0066.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:20::28) To SN6PR07MB5006.namprd07.prod.outlook.com (2603:10b6:805:ac::32) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 215a231d-1241-473a-cea1-08d61bb75ce2 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:SN6PR07MB5006; X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB5006; 3:wywtVmOLbpJy02QGYiUVPKN415mn9/x8JQ2YzU0Gg3xNg/XOsgwmkuRIo7+xs22NUkpUtTukAXg2BussxoJ7mnkle6SGq4S6cHEFAZKvLwBjBd413V8nbofpIB/hUPipiRKiRjgpiVftj/5BJIzL4WQuWhcGIxGX9EZd5WjWgGlTw8SbGT9HkF40yf6gXZKsGcHadywanM1s7Pb200zjo0DGJe38eHPfaoNjXSrPpj9kjCinN6sNgxFT8Ndngm+3; 25:5it+z0meVk99kHjIiPFrBdaX2A+rn8ClBzJi+seUKAWjA9Ch4qbL+daC8Rvxb/JCNZ7PLo5hXv78CzWeIKhG9XHaSpVgCsOkBBy7FD/j2kjf88g1OQ9/u/VX6qNANLEA62LjddTFfw4aEQgzsf0DwrlUaRFf3ayRGy3Ryx14Fm2pCpaJlmqgVd1vQqP48c9HeCImt51dlQw9DCjT1xRu3IzQgriR6uEGnAYjlLfIjiylWYoLBgnXA9JTZqrw3bo1lUXZX+bsNPCmPPXz7eH1PWqWYaK3us5u7Z+IiK+1KbCr8eHwBAKDCZNtwl0Ww4b3gQhatuwdszzOxi4dawD6ag==; 31:L0eTzepC3iGKGVs5nCyDOheeiQGT56awri1eFVC51RMhcuVGX379SahkWDSieWnEaH3raNe2ngoXyuh/4RgAtKJ+ywFB5IW+pJi/OhJFvrqO+JdvnDDCTgKtiTB+UIkPlV1LXyM0eVaU0PYdduURjKNz79sObQ2U9Aoog5wX5gg16Nr2Ea4ZY6lT/UGlXfv5mycXUxXOv+q+DrLJpwVvDAZ8qLAjQpmHWbyHQZs+tKA= X-MS-TrafficTypeDiagnostic: SN6PR07MB5006: X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB5006; 20:PkWfJBmcTjQ7ebBURkX1KxnPrSEiQzZTD2K3btJ7rHrEa9x8cEEL1tYNN6ed41K3P8hrdrBNIPQTmAKAoblDpR+lxD8WlApCCwFdbkKrn66XnOGfvg1b0dVg1jX9bng59dQVsb+GdMBYt5BhmlBqPog5MWEiMkj8l5tlxFepEJEL75w9kPWKhFzgsufIoMKeL8yHQEHm43ivQKJCr4tfSu8IcNweoktnTJn+m0To1+lTZC4lNawM9oQBjCFHNbF9FnOOBKtUVFWIXw/DODNuyNG+7SMEN+llmZvcjzN6+FqPMW3XxB9pIR8W6wcHOwVZTapj0N9fODy8I35DEFX8KIQogU6G5id4ULOV3FY408VoWYXjor80qyqZTHgaebXUGyWRw7Ap+xagU3REuxetm0pr4/yZNu15vso6/hfjSf0nToGMZKOebhNncXyz53j+2gnGdXZlayNFmAcF0GWZvRPgJprInKTn1JqEZZe7o9F8V8LZupN5Lz4I0NlM93IRc11IEzciXMeQp19sE309jon1a365PphpQDvLiCVTpCv6cOkigBYG7LyBxYXOkTSQF10qsJdzfCHDQnjQ050se33lEFwg4JjqBD/71REDf28=; 4:tthUgJ+rR318KLGIJHAfZblwGbsgl/Nv0wG6vm5jOqiw4TCsNRrFzJh3rOgJ41ljEZA/8LWEyho1gjHlDuJAeIfaDA7+tgLT/qDdVZvjYYlqbxtUS3rQoUJcqMJHgI6QtEVu5cp7EOPqxcHvpOeW/wSllsvAvRc1WcdO5yA5Of7OvBYQh6TuVdVU2LPPJwlM2LuVbqL1kR8SlMEXvk8OOygS0qyTSHtgekJGPCaX5kM7le+d0BfK68FPLgeN/3afSWGNV34HYscNVQrNF/v2lJURllf6V2pw+VzVDKnbt4Bp9zko/yvxddqCL7vBKz4x X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(3231355)(944501410)(52105095)(149027)(150027)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(201708071742011)(7699050); SRVR:SN6PR07MB5006; BCL:0; PCL:0; RULEID:; SRVR:SN6PR07MB5006; X-Forefront-PRVS: 079756C6B9 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(136003)(39860400002)(346002)(366004)(376002)(13464003)(199004)(189003)(33656002)(50466002)(68736007)(956004)(72206003)(66066001)(229853002)(23726003)(2906002)(9686003)(33716001)(54906003)(446003)(8676002)(8936002)(81166006)(7736002)(386003)(81156014)(1076002)(42882007)(5660300001)(478600001)(476003)(305945005)(5009440100003)(7416002)(6496006)(486006)(53936002)(97736004)(106356001)(93886005)(55016002)(16526019)(6246003)(186003)(105586002)(6116002)(4326008)(316002)(58126008)(6666003)(6916009)(25786009)(44832011)(3846002)(16586007)(52116002)(47776003)(26005)(76176011)(11346002)(33896004)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN6PR07MB5006; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN6PR07MB5006; 23:tg/iK3OnGxSEJRLQD+OgKxvCEKjzAOG39vFD8OCau?= =?us-ascii?Q?jkXkr5jJ2i9E0xnTSp82mzqS++StnNA3QwwpWyLOlDFO/7dXZsz8WtmxDQUK?= =?us-ascii?Q?xQY/UrxOpP2frLY/fIB33boARV4dls+c/ZyTt2Gja68BCwqbP8BCSPXx1PBt?= =?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y1Noh9E+7OVZMlo+5XghpBO4rC5p?= =?us-ascii?Q?oH++z1rja59mKY/z03SeYPJLF8w5bCgVeEvimHZcgy1hwf6noJ8lVmBe6SN/?= =?us-ascii?Q?8w4ja8TlM1ILTxE3OBNstBHiOGovbbJtYcqnGAiwrOOFE7u/laUmPFBPLjEa?= =?us-ascii?Q?HrYaXyd0ZHvFVSlq6VHNEF9HojPsWfH4UtN5BiB5zYmyTIBA3u0aeILI5K8i?= =?us-ascii?Q?xM4IfIe+Gb2Yj6U3tcwzYSTIIfgvtn9lh5cHEhXcFVEAANKsrhdYm9sff6t3?= =?us-ascii?Q?PcndbTt7n0aeN6u+ppngqcadWbOa0fnKlrJjvirnmoKUVSocrhd+c5l1nMwp?= =?us-ascii?Q?PhEo0QQBnSC50canJVML40u93NpX2G+th3aJD+j/x5d8DHYpj5jg3xSgHwCg?= =?us-ascii?Q?ZFy94u0Nw=3D=3D?= X-Microsoft-Antispam-Message-Info: FRg1UrBOTj4lSwVa5y3IBE5ZoAvlt9ufAoRtzFSJRyERR80n3+mrI9qH914l1zItj6MN831i7E8WGUn3Qz61c50ibnscJrBQoi4QJK0Vdf61/zdJSuXLUKKCnIgaRYH3cVnvopZuoKIU6Ade9DUVFMrLjw+jHZZugRA2xMORw9aysNxK/oM28zmOnVwjC++RqUd5DWEvUT95UdPjrAefpiFZG4u1Wjow3dE0/pq8d3S6t6hXt8NKf8dUnfo5sC06DkV8yxec0MKikjp0S70jykSYpO1XCltnZ/GxFUJJWnde7L+GQuN1jikxmi4KfipN1rHtea7OmB5xdthcEE0H3MRpRlOjm5I2hBeXxW9JQO0= X-Microsoft-Exchange-Diagnostics: 1; SN6PR07MB5006; 6:3KYiGV6vQIADw0iMHW/wrWnQDGPJRShyXp0Yd+TYmiwzl2qPkPciHI1zEPJn/setQffP7tEpHTn6i7GcxPhUkp8kKgkuLPFkoQD9VXDul9fLwoFpsVEOkbn45sdegOjNhbUmNJG5agFo3paIRtI0Jv3uab+ZBIi1qFW00UhH7B58HVygPR+YS9FwVsog6JOkqtF2sQE4yWMqE/FEJXQgpkuin1KNqt+FpFKNbix8iEa+0I9KwuwXGF2DzF4OP+G6aaSPBYjoGqThvaW0cbR22bHXLNyzfiVJCBg0sjHmMcJnhDcQncGztAq29M2fuK4S3ouTZo0K0YBMTK5ArzAgi4U67EB6+dtlUXN2w8G8P2M04JddVnL4xrzPWesfjTrV1AVA+LkyGjfdB4lWwO9KPlR8E+tai29P59WtJbqwNUeXzWNLYVM+uk/jHIlAxs+DaXqCYZhLC00n6NYwjPAZIg==; 5:kwc3UsLdFPCfBZKVpn+isUAFB+ShKfSLCSwyJcEbvQ50MeWx+14h52nsz+dteMLba/Ill2iyifbjSkAgCSbGnpmiVtQEjcFWEp8SiVj/Vw4Y2fCH21WOMXzxBNjgvZEq9NhBo8gdw4Q7hnhPG8oWTZtm5udgSqRr2R6rA7125Bw=; 7:3WTeJE1Px7K5MxXpmCLr7UfxRJgBkoMNeTiqBO0D7ur21GJJFO9Y67m5U8/A8NKP8PPdN7W5nBlCJ8AEnlWgPTKmgLC0+OeoWbkBPRPTp+cyEgv9jXKsPOOgxDJogmbnE9Ft5FNso6kbb9dgClKVVymXAriYr/lUc8MQ2Wc+DbSsurexCT5n+i9EyHBlJKgezzXZPwrKTo0A50a96j5DqSGaaNNKxnBDYUbiawOhvP1jrvyK251XFl974Ut6LCtk SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2018 09:32:42.9647 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 215a231d-1241-473a-cea1-08d61bb75ce2 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR07MB5006 Subject: Re: [dpdk-dev] [PATCH 3/4] ethdev: add Rx offload outer L4 checksum definitions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2018 09:32:50 -0000 -----Original Message----- > Date: Sun, 16 Sep 2018 05:53:30 +0000 > From: Shahaf Shuler > To: Jerin Jacob > CC: Wenzhuo Lu , Jingjing Wu , > Bernard Iremonger , John McNamara > , Marko Kovacevic , > Thomas Monjalon , Ferruh Yigit > , Andrew Rybchenko , > Olivier Matz , "dev@dpdk.org" > Subject: RE: [dpdk-dev] [PATCH 3/4] ethdev: add Rx offload outer L4 > checksum definitions > > Friday, September 14, 2018 6:06 AM, Jerin Jacob: > > Subject: Re: [dpdk-dev] [PATCH 3/4] ethdev: add Rx offload outer L4 > > checksum definitions > > > > -----Original Message----- > > > Date: Thu, 13 Sep 2018 17:24:26 +0000 > > > From: Shahaf Shuler > > > To: Jerin Jacob , Wenzhuo Lu > > > , Jingjing Wu , Bernard > > > Iremonger , John McNamara > > > , Marko Kovacevic > > > , Thomas Monjalon > > , > > > Ferruh Yigit , Andrew Rybchenko > > > , Olivier Matz > > > CC: "dev@dpdk.org" > > > Subject: RE: [dpdk-dev] [PATCH 3/4] ethdev: add Rx offload outer L4 > > > checksum definitions > > > > > > > > > Thursday, September 13, 2018 4:47 PM, Jerin Jacob: > > > > Subject: [dpdk-dev] [PATCH 3/4] ethdev: add Rx offload outer L4 > > > > checksum definitions > > > > > > > > Introduced DEV_RX_OFFLOAD_OUTER_UDP_CKSUM, > > > > DEV_RX_OFFLOAD_OUTER_TCP_CKSUM and > > DEV_RX_OFFLOAD_OUTER_SCTP_CKSUM > > > > offload flags and > > > > > > Out of curiosity, which TCP based tunnels you target with this current > > patchset? > > > > I am not aware of any _popular_/_non proprietary_ protocols except SSTP > > for VPN. > > And your device can support such protocol inner and outer checksum check? Yes for TCP/UDP/SCTP. > From what I see the inner packet of SSTP is encrypted by SSL. > > So for outer and inner checksum validation device will need to: > 1. compute the outer TCP checksum > 2. if valid decrypt the inner PPP packet > 3. compute the PPP checksum.