From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0062.outbound.protection.outlook.com [104.47.38.62]) by dpdk.org (Postfix) with ESMTP id A225AFAE8 for ; Wed, 18 Jan 2017 20:52:15 +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=FW04oNWcDDMNYkmlniTT2ooOBc2dF4shBmXyddsXUFc=; b=Lce5xcekjzrY6oidOFuSvsUFox60NOz+4uBRQztNC+CnyjTPO9wlBn1Jwu992RYrW/1Jpwo/4Km5M5bRA5aDzy3jDeeO7HkGYJQzlp/XW7t5+0TZyuUq/nlBx1ofm9hvUD5QvxsbmF2q1y3oAEu2vEGitN0AZY8ZbpwVpmjM8O4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Zbigniew.Bodek@cavium.com; Received: from [10.0.0.33] (31.172.191.173) by BLUPR07MB548.namprd07.prod.outlook.com (10.141.205.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Wed, 18 Jan 2017 19:52:12 +0000 To: "De Lara Guarch, Pablo" , "dev@dpdk.org" References: <1484668143-32522-3-git-send-email-zbigniew.bodek@caviumnetworks.com> <1484749650-24867-1-git-send-email-zbigniew.bodek@caviumnetworks.com> <1484749650-24867-5-git-send-email-zbigniew.bodek@caviumnetworks.com> CC: "Doherty, Declan" , "jerin.jacob@caviumnetworks.com" , "jianbo.liu@linaro.org" , "hemant.agrawal@nxp.com" From: Zbigniew Bodek Message-ID: Date: Wed, 18 Jan 2017 20:52:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [31.172.191.173] X-ClientProxiedBy: AM5PR0602CA0019.eurprd06.prod.outlook.com (10.175.46.157) To BLUPR07MB548.namprd07.prod.outlook.com (10.141.205.20) X-MS-Office365-Filtering-Correlation-Id: 10fc09b9-b725-439d-74f9-08d43fdb7faa X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BLUPR07MB548; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB548; 3:twf1UkWgs/f3XVxnWQNpA4RNV81B+Fl2K+Ih4Yiqlz8Ri850N3Aoc7AdvtydiHHioeOQKZlslyl3+hp0MNmkKr4WPk6i5J8eD1HF4r0ajWo5PHXRfyAsmVmbFWPu3Kv4ro0ugqkoFKxAakb8CAJ5DaXoD6xEjUeh9CBATyiDnjjBSzB/zCR2TwXk6vAbyYiIxoX/JHTo5PT0+7SuRHOWSENoaAcm2Ah7W1PP5K7OaAK4rKE9EndCimK3KxAsgdGTExBqO0lf1lgVY2xg14Ucgw== X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB548; 25:QD0NKkUzL/Av0UWZjby9UcrP5x/uGurPRngchHvZ9XWg5rmWTb51G4sdFcqlaZnrwNUuQLteOFifqwSZZaxkznwvX5W6nV6W446blObPQI8rLG+AiUWWRMDDu00cfeO1Vpo+Bx0ITTDjf8y/G8am60al9BodGJDcjxEtb0lODSAyLansmq4g2oOhxAu3fYZeW4BJFeYCMCZGHzshhYyMMxQlnhjcZ0NX+MTNdBy+OfXscgNApPOXXgt7ujidl7IYYpFgrDV3khmvHllDtCKGdDygXAEv1uNT7/elzFUU5dqoUrdPvZMYkFJLdkE38Y2hfO+57LGn/RtFTHFgUtq7s1fZl9LLeIasBoMJG/IsiBOOWmxbxBHnuTz3aygAIk//tzSawbm2vVY0wIzlfMTVQ+OHpOx7orhQsQ0SReWTQUSlWaF7O0A2/pw722HneVNGZIZFVzZGhFqYh1HJiZoW3wZXAgyMJKsLXurwg2iBOZo8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Hti19Kqwho+9gqvYc4h6fkDbViS7A2jYkFeSGmhQHQV4rt6SM+aU5NwRBB90/JTQRRSIGAw3jPmrWkEmlz4RKApVm+2CRLfFX7+t1C3houTrqQEckjBzlhrezvtm+OenGR5KQwV5wyLGBpiwt9C9cyZZKgjs/mzOd1ZXtxZZCc8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123560025)(20161123564025)(20161123562025)(20161123555025)(6072148); SRVR:BLUPR07MB548; BCL:0; PCL:0; RULEID:; SRVR:BLUPR07MB548; X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB548; 4:+RdbXAvDIVU2GqowxtUzbBpcY0ZH5esbwJhVw8hrVZajEe7wa6eGHPqOsbfGSEh8MnfUXWT8Z9yzz+T6SpGArp/q8RvIc2bUTw1LKPt5JilBk0FteOw9HiLMwu1gPzRH6Zh2+EIEBSG7C/E1ERbyhD+9pinPkt+jRPRBJzsifW8UM6f3TE6cDVsr2rMkn8cI+T5prn2bw6w25heT+gH5WuM0bBMyjCtJFIdXNEo2YS3wev7uHLEXt/JE5ZX4FiMNN6ItalGZXD1tPRMc9EvOxnwAgTt24NfGK9Kd26DnnxwG029dO1LrNCQrFEmBYWP+j5SddNTwKlz+kKnv4eG4IzvlbjOJoE0xdtiAYO4RX/mia4+kHFTwKorob6zq/UJeIjYwvgJ9aZb4I/Ke+/V5I/DQF1CIMu7OsR7nlF1CDI2jhpCNaXr19loeZvMsex/gLOFtE7jD87piocwjP67qVVVyT08Gme1FfbrSFsw/10kBHMfOJsCBUx7smgyRgPo8TLo1lJbs7RqmSa8748pKGKujQ1m45hjr9AFboyKLX6Vw1r/wJIYQ4Zm2Q9fzvADU9qvivtXQgoGF237w5Q0ZA4LudcAdmuV7cw/MmfCq22yiAI94sNnim5hSVhGkTkIF X-Forefront-PRVS: 01917B1794 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(979002)(6049001)(6009001)(7916002)(39450400003)(199003)(24454002)(13464003)(189002)(377454003)(51914003)(305945005)(2906002)(54906002)(42186005)(90366009)(93886004)(5660300001)(6486002)(25786008)(8676002)(4326007)(229853002)(47776003)(68736007)(105586002)(7736002)(83506001)(77096006)(64126003)(8656002)(106356001)(65826007)(23746002)(81156014)(81166006)(15650500001)(38730400001)(54356999)(5001770100001)(66066001)(6666003)(42882006)(2950100002)(50466002)(50986999)(31686004)(97736004)(3846002)(189998001)(4001350100001)(230700001)(53936002)(2501003)(36756003)(33646002)(65806001)(65956001)(76176999)(6116002)(92566002)(101416001)(31696002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR07MB548; H:[10.0.0.33]; 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: =?Windows-1252?Q?1; BLUPR07MB548; 23:7yljzpmFF2PIlf9umPX1akuS197mbXd8spQod8?= =?Windows-1252?Q?hLiqikwbWcqTBIxAU/98pzLhOw88xX+2wlfl4s5mMYR2IszUjmsa5Xoj?= =?Windows-1252?Q?X3by6ibVOLHZPvXFLF2yrlg+udWHq/3B6YxfQy9PoDjPx/3KijycE/rm?= =?Windows-1252?Q?A5mqWhadCZ6+tEx/+AOwjWjMizeNSMK2/K9SZqmux5UV0WKOmOmpnQ36?= =?Windows-1252?Q?LrdAnyOL+qeWai7TLTOm4dCu6pk++sojcjECQvJVawC3EshF7NceaoJM?= =?Windows-1252?Q?GJQjxWGgwKnvRNyOBAZyiqn3yxCd2MZnikm2po6dZRJVka8o8je55co8?= =?Windows-1252?Q?hqe4Sfl7bXmh9LbFEf3URF0uepdc9ZpOcnzp7vFI5E/o/8t7B+UacQiD?= =?Windows-1252?Q?vTFl6v3hPikbZ/eA4ry2E8cXO5sIF9igX3DQbbG1SDCn8q81dgLCUSex?= =?Windows-1252?Q?KAfzOSDhaPOtaxyRGGDE6KBQkc92oSc0+O4BqEYhhggUQIJu1TSoVgOA?= =?Windows-1252?Q?GnopErIHdjGlkVgOhJkpFiYnElGKSI4v0dnzFpANQG8AvdNWQuS2p44/?= =?Windows-1252?Q?5zeVwrIpcm3frOhzfjZN0S55Ay3qcl/c9eLdXhvdRBXZsKQnHufUAJ8I?= =?Windows-1252?Q?XlKXoWOoc5gPzfvhQ3sN57un49JVhFWJzlDKOT9CcystGd5/P1ek+hwt?= =?Windows-1252?Q?mKjm/LntYlALMqjpNoQL+DnkdFjadge37hPtBoqMSoOLfKSYMsdTPAs1?= =?Windows-1252?Q?UvM2EtoqlkHvzxeDFRH71mZG0bGyUEVxPIROaCR1bbqPhEes0CjivgH3?= =?Windows-1252?Q?k8VXLlQ3zYDXI6Roi6pmE+3XALbEG+CZIuR0i5oSToStqSbw5MMDGS7O?= =?Windows-1252?Q?Tb9uVqdsJso8yb52Z1uVSZsft8u5K8X8JrMmPqFotMPGQl7bA0OVW69B?= =?Windows-1252?Q?N6J7lYmIRVeUd/s9AycTwQWrHs6Cf7tuaGM/5eo3G8LziLKx+9VWrrJs?= =?Windows-1252?Q?NDpUUcfQs1lbviBav85OUZdcy/opQqIOyr9gxmDaDNpnevclNH4q++5j?= =?Windows-1252?Q?JCzCB+a5VkEdojIjIDHGNTnohF7bYaWqQL4BTab34DciD6KzrNVDpCzW?= =?Windows-1252?Q?+DOuoo8tPixnCSnUB7J0HUp3TZjxCMiiz3ejQuaL/mVl+Sof89r9+uWi?= =?Windows-1252?Q?bao6PTFZkPURbKuE465WPixIz8KT5tERW91RBPqXItnvg4K0oGXyLm3t?= =?Windows-1252?Q?Ne7+Fk1mWJH3wOGXe4YA2IMVjbRjkpDJzR7wWhZ97h/Mt48cGbKY1CJy?= =?Windows-1252?Q?AB7enjHZroIB77kBrZOtoZLcnC64jfBiwx81ieXJkd89vXR+CLeE0XBg?= =?Windows-1252?Q?RBBfZvhxSXeStti9mcvSwdF1IWrlNhAy/esG8fP+2F0LJgvOurA9xfwZ?= =?Windows-1252?Q?ETwA1AgVDaCx473Ki3FRZyxFiF5g6fAQDT1bJgW6AbKEcpwzFZnEN3IT?= =?Windows-1252?Q?Not1WSMgfZjiM8kU1Piplub5uarjliWocRxD6u4nU7OBbn153yUNg9HV?= =?Windows-1252?Q?LE0nCJ5mlzfATyb9KjDKS8aAlkIaLcpzKstbz2EhWbInYgkPzKQwGU6O?= =?Windows-1252?Q?uLQZ0U8EGg09GPPYcgWOWGjghYc4mn7zvwyitry8KYQ8Zd8GryeJoCw6?= =?Windows-1252?Q?yqhjJzyVgu31nqGkqdfiz1RFhjuPu9PCSYWOWwX/+we2egiN9v?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB548; 6:t29xAfWwijPhqmAFyijIFO0M8fzRdMO5HyR3YJeG8dAw3L8M+PFI7XfYtdV3AAhlg97w2x9vW11+890qsCNNasdQSdC0CnbIu25mN3f4Op4pKzr9vKsSjcVltvTh2tvH94m4hH1aigpWS+OxQ/AXPKnMWOEb11KBjZddJy6QgI9j8ThQDk+rsDbOsWFjw4a68+yZa24syjan2gdTdBVi0FdgnGr68olyTeA4pN0QGiVSkiCuQczggSJ4Li7hre3Y3lUzrj6prGU67/ua+wr3tOEdGE9pkH60ulTupnCdKTawlKNdB1A+2m2QB4rB7ZYUvZBe5CWbesKAVZTSw6OoX6DAOPztND+QxtLBHocXesSLMZx004xj/odktRcvhIgv8RSb+9wdvKcRnI1J198/9zr9tLm30vLEoomq2SAq8wc=; 5:Bsj9xog1EGREtNUsg6SqetyiIesfethuZwsjzhm/CfJLQO2nwzRjlreOKPOUkCCrSIw+7EbkYZJ42oMIUaEVE9Y6CzjjP5cTYTCh6OadizFkv5xNHKf6O0fvhPZli0jDjAh4QTX8/nc5IxP7sPWcZ3fA+ht4IkeEiqYiC5z4yGM=; 24:6a173RK6U//0pKFs84fO4GGHM0sQ3MxWPXiUN+d78SUwXxeeDAkF9lhj9+xTUa7U635mHtREfxMG1fOKxihfLW9y5MWkaruGWVFEFwwd6KI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR07MB548; 7:5IaeUCuq9QAtJVpQsY5BCX2yoEaLXQ0Wgx/AoPeaS4MbB//SHU5lo2+CmsXX5lEAHiW4KvWE1b8kSak61+y1BvH+xwyvnbr0e7jYhchbLg5vEczc9fWR82D1ZAuXbsv6Y7DSHhtGEgRgBuFDmCvm2sedsVao5BWqQq+QH2hOsdMHw/5h6zUOYuZivwWQgq1f7yW9dsprpojH2Lzwq0Z9IAiop0YlMrR9n7YlQnq3b47ioevwCaM/9FNugyMLjWzOfBcGPaPP+ALPD7TSPn4d9ijFSOMOak6WUWo5Dd6EQThfCa17uGxgZQK9eze5OC9uzgR/Rzzi73n2iVCZzykeMyORR5z5nak3e6zGaYZaWy42Ob+uf5mFsVoDQPzEGpENNE0SICOEiEwpvXy81RVSY6eZoJyj2JntMKCnifQByaasiVQu4PxxYQmhg4yiwauG+zaP9IKsGGmpoZAZmmzPbg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2017 19:52:12.8990 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB548 Subject: Re: [dpdk-dev] [PATCH v5 4/7] doc: update documentation about ARMv8 crypto PMD 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: Wed, 18 Jan 2017 19:52:16 -0000 Hello Pablo, Thanks for the remarks. Please check my answers in-line below. Kind regards Zbigniew On 18.01.2017 18:05, De Lara Guarch, Pablo wrote: > Hi Bodek, > >> -----Original Message----- >> From: zbigniew.bodek@caviumnetworks.com >> [mailto:zbigniew.bodek@caviumnetworks.com] >> Sent: Wednesday, January 18, 2017 2:27 PM >> To: dev@dpdk.org >> Cc: De Lara Guarch, Pablo; Doherty, Declan; >> jerin.jacob@caviumnetworks.com; jianbo.liu@linaro.org; >> hemant.agrawal@nxp.com; Zbigniew Bodek >> Subject: [PATCH v5 4/7] doc: update documentation about ARMv8 crypto >> PMD >> >> From: Zbigniew Bodek >> >> Add documentation about the driver and update >> release notes. >> >> Signed-off-by: Zbigniew Bodek >> Reviewed-by: Jerin Jacob >> --- >> doc/guides/cryptodevs/armv8.rst | 96 >> ++++++++++++++++++++++++++++++++++ >> doc/guides/cryptodevs/index.rst | 1 + >> doc/guides/rel_notes/release_17_02.rst | 5 ++ >> 3 files changed, 102 insertions(+) >> create mode 100644 doc/guides/cryptodevs/armv8.rst >> >> diff --git a/doc/guides/cryptodevs/armv8.rst >> b/doc/guides/cryptodevs/armv8.rst >> new file mode 100644 >> index 0000000..ca8781e >> --- /dev/null >> +++ b/doc/guides/cryptodevs/armv8.rst > > ... > >> + >> +ARMv8 Crypto Poll Mode Driver >> +================================ > > Extra "===" here. Fixed in the upcoming patchset. > >> + >> +This code provides the initial implementation of the ARMv8 crypto PMD. >> +The driver uses ARMv8 cryptographic extensions to process chained >> crypto >> +operations in an optimized way. The core functionality is provided by >> +a low-level library, written in the assembly code. >> + >> +Features >> +-------- >> + >> +ARMv8 Crypto PMD has support for the following algorithm pairs: >> + >> +Supported cipher algorithms: >> +* ``RTE_CRYPTO_CIPHER_AES_CBC`` > > Add a blank like before starting a list (same below). Also fixed. > >> + >> +Supported authentication algorithms: >> +* ``RTE_CRYPTO_AUTH_SHA1_HMAC`` >> +* ``RTE_CRYPTO_AUTH_SHA256_HMAC`` >> + > > Could you add an entry on the "Crypto Device Supported Functionality Matrices", > to show supported algorithms and feature flags? It is in doc/guides/cryptodevs/overview.rst. Yes, looking at that file I realized that we also could add "crypto device supported feature flags" for ARM. I created another commit in the patchset (preceding the one with the documentation update for PMD). The method of adding this flags is similar to what has been done earlier for other PMDs and their features. I used two names: * NEON - which is an ARM component so we can use this name as a unique name. * ARM_CE - for ARM cryptographic extensions. AFAIK there is no other name for that. > > There should be a column per crypto device > (I just realized that I missed one for ZUC PMD, so I will send a patch shortly, > and then you can rebase it on top of it). Done with the new flags mentioned above as well. I'm sending another patchset now and if you have some remarks to the new commits then let's do another round :-). > > The rest of the patchset looks good to me, so once you send another version, I will merge it. > > Thanks, > Pablo >