From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0054.outbound.protection.outlook.com [104.47.40.54]) by dpdk.org (Postfix) with ESMTP id 3DA4D370 for ; Thu, 8 Dec 2016 18:45: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=n+Ei2OO3SoZPiUrJxgQiQUoe7mXocGfqIDjB27TzsHo=; b=LQteh0TFmDugvTjZ1YGNJpqaKCoAG1n9DLfz/7TO2UbJVPBkWIXAfFMBm6O3mk9PxJIHU/7aA5MWz6rgiZaNerwXedueyok/TMKCcP00l2yShoZ3FOhXE86rnO6nMHJ/zFLtF5eKm9zcTiSInEDc+RxK2xRy+kIR1owYyoZZaC0= 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; Thu, 8 Dec 2016 17:45:55 +0000 Date: Thu, 8 Dec 2016 23:15:51 +0530 From: Jerin Jacob To: Zbigniew Bodek CC: Bruce Richardson , , Message-ID: <20161208174550.GA4966@svelivela-lt.caveonetworks.com> References: <1480851219-45071-1-git-send-email-zbigniew.bodek@caviumnetworks.com> <1481077985-4224-1-git-send-email-zbigniew.bodek@caviumnetworks.com> <20161208102419.GE55440@bricha3-MOBL3.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: BN6PR16CA0012.namprd16.prod.outlook.com (10.172.212.150) To CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 2:EvjErUPEIl2Dk2IJowv7hX/6lpPLfQK3LhFl6HlxOmkAptZxVdMMdxTWYU+POFazKiCEHyOoCCEdlzH+9JBRHOPynPZfs1Tkrmx2SDZyJGQXGtpQ90S2EFIZrin/4LbKi3J1Cxn34GHTHt/bjr9PHSt+XyEB/nKFkHIJ/EimI2M=; 3:y5tkSABoBbaZKpmx75vkpbM3teNihcgaQoEXzUlsA/OHt0V2G5kqYZBTZEfi+vRBnadzXE4wRENvmXkOu+UolTTA8RdjlL94q+zIVGRV2CT2osAQm5ZEOWyoyoL3j8g3vRxYLYkN1YqAaVqFJn7jVqzk3NIqLJZLAj7NBion47c= X-MS-Office365-Filtering-Correlation-Id: 500d95d4-55d5-4e8e-18dd-08d41f920fee X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 25:UqZ+H7RwKcau7/Cwcp4TT3Ec7R9KaQCOnhrwtGcmAgfBBckyZToERrfKNiRYtDLaPQeAk/K/Ij70b/OXG+3KyvoqoRvQHTgarjQUe9xKpr1TyKIZrYriiui70kIVDojXgc5jhPZoxRgMH/zwBgKuTL1OnM24grZSKymNnqTEaG1CYHJQ3TmIHOAY6iZH8kZZD/r9bEzojiK/Ba73gnC/pacCN0WpFcuhr2cBZWFkH8UHJZcRkA/9083UMpRwPsXxhOhAvXYPdqJ4qM504lAG+hl/kaxqlqhe7tVY2ceCGGg144Dzu4BuaZNJSY42sKVXU3Z65i3ysiIn9/j/euhmmXoQ11PcYQrjFNYjQy/dWI25P3Ig24gM5wXtX3TT6lk4gqO8/SO66JF6s5mGbnqrooJEY0tCWwAJrFDlmNUwT+9QYDglzkr1vJVl4tEg2C8La5NfBRQElGJDK+2KnTYnJ+md8Avvl2Ksjv/uIuT8TnbgLSdj/TasmV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EyUMSShJq4WvVmA83febSPReVN7NqjtH91pa2QKMSWhQdYmVhMdpcH96nOCzVOBRKoHRJ5LS6yN5nIbwCf4EkZ/+1ey6R/zeaCK+wZXcQ3jrHiItY2bwxGJjqW4c3LO4j2thg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(158342451672863); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123555025)(20161123564025)(20161123562025)(20161123558021)(20161123560025)(6072148); SRVR:CY1PR0701MB1727; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 4:aJOzv42kL4LNZJ0b8xe6N2M4LaiTKAt+8ZOiQlR+Z2+AhOBNorwif2bz4jPJEyxe+a2VEVt4eNRRyNbe4JND34mj3IknujA5XdCfVLP4q3LCyl8vurHZhaNRRg8iib/xErkuv4QHOXmmEZw68n5TyJ8D88ztYCtzndDYORnBGFVJqiPF3vwgulpra64A0jWLH3uP0uTaJuQF4CQ8EneSthl+v0z3Tzpzkk1Bkb5EIP0zyjXwND+kRplR5/C9tqUN6AMAOKzRhjYj2188DDtNc+oDkk/g+ODQI5lRk4U6ENxa1mTVy6Q1X9PUPvU++SL1wf9QbuNVX7rwC2dH7bbSv4guSAHTyRtd+ZmIKVD81ek7SDA67Y3Ux9VZt9jxb0JovJciWWEpvoH+EFq1AscleyS4+5gUr3TYjcu3MZVJPfdwlE/5eDjug6H8t9zTHzHbLfJ59AxbhpH6mgUCqB19XI8h+EafOlT68iTqE5EfO6lrJsmhrguG8biSEWcnjcSxL0JGzHKECtEZZG2CeIIl0gHmmHMfo0LPXv2p3OI2rG7lNXMcy2zsUxHYreN5vrJunZK/y+0feZuwBZFwAt96YPY/yU2guFwizAuKjP/GUTAr7psyefVY5FOjRoNMRS1rjBwNjobFZPwLlth+/ADgAA== X-Forefront-PRVS: 0150F3F97D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(39410400002)(39840400002)(39450400003)(39850400002)(199003)(24454002)(189002)(69596002)(6666003)(6116002)(38730400001)(305945005)(2950100002)(3846002)(106356001)(23726003)(105586002)(9686002)(53416004)(42186005)(97736004)(1076002)(50466002)(97756001)(6506006)(6862003)(81166006)(110136003)(8676002)(42882006)(81156014)(733004)(7846002)(92566002)(5660300001)(189998001)(7736002)(6636002)(229853002)(83506001)(50986999)(54356999)(76176999)(4326007)(93886004)(4001350100001)(68736007)(46406003)(47776003)(66066001)(33656002)(2906002)(101416001)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1727; H:svelivela-lt.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1727; 23:wvaPuL43370ox7wlHcE68CBOpnvSpgLpmBBbd9h?= =?us-ascii?Q?KQgB8Amu46DSAdEFy0EVE0qJXZfVL0RKO4CTdxQ3+1kmfV+IcJ7HS6Z+saTt?= =?us-ascii?Q?suwMLLVUIVTJoizErLslv+HIg1Ob88oTbZud5iOLmWtdMA+1cQY08iWXCnz5?= =?us-ascii?Q?ucIR0lUpFWOdcCsZQ3bLWCjIbIoqqKN9CMOl/8Cnfr2VmtJY45/QqVkImCz/?= =?us-ascii?Q?0OIeMqu8YPs1g9VMYbFJCtfsVmpj3jxCCFpljMC7cfMiuEoH3tgIz7hD1+5u?= =?us-ascii?Q?MO1cE5s5BXTG+GTVOXJo/kGRXzEsa71hBzyBDoT4p1sSmlEwDgk0X0mTtfwC?= =?us-ascii?Q?elDJUV08k16NB0TGHnmlrLp6yrK2p2gkIWMjZw0+NiIOL1rzLnCkrHUOrGTL?= =?us-ascii?Q?/iDgHVsiQBIbSArfGs3khcFgenQKNEGnw0D02j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zCa/kq5pFlHLbuetbigG1Bx2wh/0ZMnNzXJWBc6b1zPJuywPUa2ka?= =?us-ascii?Q?bEneAhuqjJX7z9oTj81UNL8BFPH9wZ0gf4EZL6rpP1sV5rgQ/?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 6:6mMedXNovzsRNzmQ4zdrSvYpcbpXWdSJuRUP//vlKsI0hCDm0Z1fMw3e1WP3zwkCFHt4gAMfMKznnZGUnD0jj6atUXFDw3pSh1r5AtEVHfqBxdZVJlmSKW6VkfA3C4mzTerDq8ohfjWZmmfvPEdDObLF6Zd/3oX+tBxO4pN5lGZCtHzNtmVtDs2G+xEbcpCSd7Nlwj3yBmE9X6eU8+hoFvu1/zkMjcMU311qRWabqAtule+/KYBp01luM+mLBtauvErVKQMjk59sBWULmdC68lwa2QrCF7p7KiYpSZo1NUVhm5EJH7vmvE/ePQyG7oaNcvIr0AIqsygyX2S3WABrUTb9koqHBD7hX+S5OebF3Js=; 5:2n8GsxxozAEKmJW9id+gH8QbggCUkqgQL3xkmRTbTGiHhMW6ERbJe82waZPTETpLLjEW++xJwBbzi87C+s54Sic2HA3LGynm6F7CIT2mI5PSGKU8eghDGA1a8YfG5sJXdQSm+Zf5CzeKx/ccKyfpGg==; 24:6gKYDpveh4kGx/gaINXLfhq9BNFmDD9soQROae++/6f4NAEiJCOzw7jSOiqOgOgxsUm6mblt0vWYoBOHLPV9XmRZ9MN2OCM3X3kZm+gVYvw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 7:osS/mwXW/pLqmn1ZFlGEToQoAu0iTLjXekkvCB7/Wk/CXYvCrmNACDDVcz7f1Q2keSn1alZaOnxdjkeS9MtjXBLWBPpj7zLyEhn9iz2BuAUGhlQ5QfY959NeTsqdCinqzHK0pFoAopshhvH19ailHBiVPJfvhBEoLtzlr07PkwQ6CjAxO7uPvH3xxluAty3TR2axRWltJx9VBKObdM3k/w+7gwKBY1Rz8oY+JL0vHHmPl3vvE/jY00a/DMSqNXb6FVzoktiY8V7LJFmiPqa7sM9tOhRcRnVRe4Z7v9ncSAnRQLQEEQaGLqUfwqKZENwRout2HBpecCFkdcXRuXfl0MYvia9V4gPHlcFGbgLdz7s= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2016 17:45:55.1143 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1727 Subject: Re: [dpdk-dev] [PATCH v2 00/12] Add crypto PMD optimized for ARMv8 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: Thu, 08 Dec 2016 17:45:59 -0000 On Thu, Dec 08, 2016 at 12:32:52PM +0100, Zbigniew Bodek wrote: > On 08.12.2016 11:24, Bruce Richardson wrote: > > On Tue, Dec 06, 2016 at 06:32:53PM -0800, zbigniew.bodek@caviumnetworks.com wrote: > > > From: Zbigniew Bodek > > > > > > Introduce crypto poll mode driver using ARMv8 > > > cryptographic extensions. This PMD is optimized > > > to provide performance boost for chained > > > crypto operations processing, such as: > > > * encryption + HMAC generation > > > * decryption + HMAC validation. > > > In particular, cipher only or hash only > > > operations are not provided. > > > Performance gain can be observed in tests > > > against OpenSSL PMD which also uses ARM > > > crypto extensions for packets processing. > > > > > Hi, > > > > great to see more crypto drivers coming into DPDK, thanks. > > > > Question: do you know if this code would have any export compliance > > implications for DPDK - or for those repackaging DPDK? Up till now, all > > the crypto code used by DPDK was actually packaged in separate libraries > > that were re-used, meaning that DPDK didn't contain any crypto > > algorithms itself. > > > > Hello Bruce, > > I don't know to be honest. I didn't know the reasoning behind not including > crypto code for Intel for example. I thought it was due to licensing and > code control rather than export compliance. > > Maybe someone from the DPDK community will know what are the constraints > related to including crypto algorithms to DPDK. One of the primary reason why we thought of going with this approach is for out of the box "distribution" enablement. We thought, if the core crypto algorithm sits in some git-hub code or public hosted tarball then the PMD will never be added to standard distributions and which is a setback for armv8 server ecosystem. Having said that and as Zbigniew mentioned, We are open for revisiting the crypto core algorithm and PMD split if there are community concerns about export compliance. Let us know. Jerin > > Kind regards > Zbigniew