From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40042.outbound.protection.outlook.com [40.107.4.42]) by dpdk.org (Postfix) with ESMTP id 4CA2A1ADD3 for ; Mon, 17 Sep 2018 15:54:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sB/4pPJlNZ3QqmkqO0bpBnEkR2JHCZGQ/6j4w8Uuv1s=; b=MkfE+tEKvBa2hOUkljFHUATe8yLcRTLiH4KEEPKQCxc8LylaN8wHGE4DMa2SjrmN0kFwAN2xHwqkN8PDXuRak3YK6kikBU7Edpwu5ZM7dyDgqG8+nHSkxyJFhivxt2LBx4inM0UlHZA0dN8f/bvSRPiW88O1yOBeeKznTKxfW8M= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from [10.232.134.144] (14.143.30.134) by AM6PR04MB4887.eurprd04.prod.outlook.com (2603:10a6:20b:6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.15; Mon, 17 Sep 2018 13:54:54 +0000 To: Tomasz Duszynski , dev@dpdk.org Cc: nsamsono@marvell.com, mw@semihalf.com, Szymon Sliwa References: <1535118895-6505-1-git-send-email-tdu@semihalf.com> <1535118895-6505-3-git-send-email-tdu@semihalf.com> From: Akhil Goyal Message-ID: Date: Mon, 17 Sep 2018 19:24:41 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1535118895-6505-3-git-send-email-tdu@semihalf.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: BM1PR0101CA0047.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::33) To AM6PR04MB4887.eurprd04.prod.outlook.com (2603:10a6:20b:6::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 14ce8c44-db94-4c11-158c-08d61ca52622 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR04MB4887; X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4887; 3:EKc0wlm3IL23IJLFNENZTz7l3MrOo7TmZTx+6/HyIJ6uq4yuUEG7W1xnkF9/iyPoVuqAe/MwbJE6XCz7wc9/SiQjMjqpBszZ0A1rKn0w1iZZI2d9ahZzOhGmDJuTANtbwkHfa1NvvGYuGZtG5DO/CoovrEWHlGN2gIVt9v8drTcOc2YjrTOtnci7d0XFp3pgenRbf4eTCajebBos8/UYxHvyDSR3DNWsI0thuVG6au5I36ljh3il5zgfmFLCtaBx; 25:gc7YULaFRReCfUCQSMmsDVnI7CcAZOAdyEtzmrgW3LxfgrpfuNCjQIrHkwqWkNrlrFSBCqrMk6uq4PcRw14fvJu13W1g/LYXktFFUZXUUhLZt6lIZBoFtoUDnCesD/RAeKS2DJG+13Zm7w36Mcr54wyt7rRfI0bu+9dwLP+qUGIlzHAeRagIScrJzIjL8Hk3DG87eEmZmUBCc2Ci6Ieia92430Z89fL8WqxdAU985nIZSREYdl+p0Mj7Ye3VXmN/uhcIkrK90zl58heQMfI+1h5YUFe3M9E6HBi/XqeDfiruAlq6Won55L9i4bDytIoHqRudAivnkBJrDw0/ydERjQ==; 31:KWmMJR/By0H8cs/QNf4Gtrz0YxXSGIjuf9wDNQM/rWU1TQ9KnCrOYbetNVfBGAEPXFLATIukuNSypRVHHDRUq7vvVfHO/VecPR/g/HxR5gu81H862nDucSFK0+mkRBRxorDX16bfgqZtrorwqBNA/z9mvSG/jrA3p3uU8avPTtSeV+48+W1Lj0uOgLGsAvoePs4AaA2jnjQWkDmHHWFWKObOSlOi21PR6MGjt85UT6s= X-MS-TrafficTypeDiagnostic: AM6PR04MB4887: X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4887; 20:2RqFhp2hEyv9TX3MZru6tPmaYrMTKeT3S1MB41pMWpMrHmz0oQh45gJOS49XvQY80ubW6R17wKaPN6/KixEdcf7CXj81ddVSC8Hd1+5v9gFA5n4OUpODgw7ErRWnpmvrsPpjr4IDnkIdw7eAc0GTfiTa4Uz70Hq/NKzzfGR8xWZR6K3vDXizGQjs4kq1aWfkiCVM2Zfx4z+Sf6CGBZdN+MAgqekv7CofitAkqxxeZAjWbWX3fOXvZBtQSfyiSYBpB4PYYkWLkCqMNz0hOJL02GXkAd5JwJDLXMOUPLaZwIuya0sFkwRRSL3XjJITmBIkxuFLVxT3m9lMaIEZycKvxZqsuYXAyamz9AtvVLl5jkV4u5Y3S14//LDiK37bMbXF1DgtBrqGKWO2bK3CfsEf2AMDYqUG890fdr92/oSehzHjleYPaRyuAkWstWv8DDlj7nN1GdwL9YuH/GnbVz1SfkpHIrk15KyhE6BPYVxADRqty2muvKYAiSNhyWp2jA7v; 4:k4zBoJSwFjO0fXtpB/9Io/vCy4i6/1ketlH6sODTZOdPWrn6rCDs7LTFfIZR27ajPg/khElNS8HxbMGlZXrJVrijvS/gJ8NQBgvx1xDDduM1WIrYfjHXFMMhUPrYvrJ90xDlW4XYSdaVonnbnecSi9BfmFGLljTQrNhoMZnPNSFpVPJnG8xfNUMMRq5WCi1YPD74eryDQvW0MUzjUZ5/6pImuQpLlD0fZjFG8jyAyCSlyMHNQG2ClX5bzldG0QEIoDFnP77wx3e4+YDv4lUK8A== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231355)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(201708071742011)(7699050); SRVR:AM6PR04MB4887; BCL:0; PCL:0; RULEID:; SRVR:AM6PR04MB4887; X-Forefront-PRVS: 0798146F16 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(396003)(366004)(136003)(39860400002)(376002)(346002)(189003)(199004)(18543002)(6486002)(65956001)(66066001)(65806001)(76176011)(4326008)(6246003)(47776003)(478600001)(52116002)(2486003)(23676004)(64126003)(52146003)(2906002)(5660300001)(97736004)(65826007)(36756003)(15650500001)(14444005)(6116002)(8676002)(230700001)(67846002)(68736007)(7736002)(3846002)(5009440100003)(305945005)(53936002)(229853002)(86362001)(26005)(31686004)(956004)(2616005)(476003)(446003)(11346002)(186003)(16526019)(44832011)(50466002)(386003)(31696002)(25786009)(3260700006)(53546011)(6666003)(58126008)(16576012)(81166006)(81156014)(316002)(8936002)(77096007)(105586002)(106356001)(486006)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB4887; H:[10.232.134.144]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTZQUjA0TUI0ODg3OzIzOk5IS3VJaWVDUm1mSHgyaFR6Z0ZCdjh5eGw5?= =?utf-8?B?ZTlBTWhZVkxpU1dLN3YwSXlZWkpPZWJFUnRJM2JZSlJnYzU3alRoOVZPQ1VW?= =?utf-8?B?em1Tc05xaVRMc2dBbGhYYWQ4Q1cwT0djZE40eWlsckJhVC80SndvUmVURVRT?= =?utf-8?B?endtdG15L0FBeElnNDEwa0lxclB6N2svU3h5WFFuRnFpZXU3M0krVVkrMldx?= =?utf-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AicJoNzxGbXXIuIsmZx16XqQB06yXxVGl11XeC1o3M/jqt6QxJMJhNXu/wFUC+tbV3UXOSpJCzBGYlhFu5mQFdo+OTpZFIvWYGKQzFOYouA01bkDK3UmsLpTzEuUCz9ISQmio=; 7:RdxaUvEL8ON+mVkNoOsZiwghMWmsjwgYE/FZNvCEjbhprciUSvV08E84nWKcVqXRxNnvjq4prkcHEU76oFE1yeRyC4ohRT7zHFixGxEj8vVicB0fCEokCLAYIO29Wo2SSCmgxbnvzsWjX484uoEFGkH5s6Mhn5/ylidUEM9Bn7H3Ev/urotEyjFjb7bl9PmVmCPMXyq2PXIr7w7UbwKpuoEVDVCPEd/Mx8Kya/BxfDcXabf1fHx2+JV8pSc0ca9Z SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2018 13:54:54.3875 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 14ce8c44-db94-4c11-158c-08d61ca52622 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4887 Subject: Re: [dpdk-dev] [PATCH 2/6] crypto/mvsam: update hash digest sizes 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: Mon, 17 Sep 2018 13:54:56 -0000 Hi Tomasz, Is this patch a fix which needs to be applied for stable as well or you have added some changes in the code which can support this. -Akhil On 8/24/2018 7:24 PM, Tomasz Duszynski wrote: > From: Szymon Sliwa > > Update hash digest sizes to match hardware capabilities. > > Signed-off-by: Szymon Sliwa > Reviewed-by: Yelena Krivosheev > Reviewed-by: Natalie Samsonov > --- > drivers/crypto/mvsam/rte_mrvl_pmd_ops.c | 46 ++++++++++++++++----------------- > 1 file changed, 23 insertions(+), 23 deletions(-) > > diff --git a/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c b/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c > index c045562..e2cfc07 100644 > --- a/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c > +++ b/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c > @@ -30,9 +30,9 @@ static const struct rte_cryptodev_capabilities > .increment = 1 > }, > .digest_size = { > - .min = 16, > + .min = 12, > .max = 16, > - .increment = 0 > + .increment = 4 > }, > }, } > }, } > @@ -50,9 +50,9 @@ static const struct rte_cryptodev_capabilities > .increment = 0 > }, > .digest_size = { > - .min = 16, > + .min = 12, > .max = 16, > - .increment = 0 > + .increment = 4 > }, > }, } > }, } > @@ -70,9 +70,9 @@ static const struct rte_cryptodev_capabilities > .increment = 1 > }, > .digest_size = { > - .min = 20, > + .min = 12, > .max = 20, > - .increment = 0 > + .increment = 4 > }, > }, } > }, } > @@ -90,9 +90,9 @@ static const struct rte_cryptodev_capabilities > .increment = 0 > }, > .digest_size = { > - .min = 20, > + .min = 12, > .max = 20, > - .increment = 0 > + .increment = 4 > }, > }, } > }, } > @@ -110,9 +110,9 @@ static const struct rte_cryptodev_capabilities > .increment = 0 > }, > .digest_size = { > - .min = 28, > + .min = 12, > .max = 28, > - .increment = 0 > + .increment = 4 > }, > }, } > }, } > @@ -130,9 +130,9 @@ static const struct rte_cryptodev_capabilities > .increment = 1 > }, > .digest_size = { > - .min = 32, > + .min = 12, > .max = 32, > - .increment = 0 > + .increment = 4 > }, > }, } > }, } > @@ -150,9 +150,9 @@ static const struct rte_cryptodev_capabilities > .increment = 0 > }, > .digest_size = { > - .min = 32, > + .min = 12, > .max = 32, > - .increment = 0 > + .increment = 4 > }, > }, } > }, } > @@ -170,9 +170,9 @@ static const struct rte_cryptodev_capabilities > .increment = 1 > }, > .digest_size = { > - .min = 48, > + .min = 12, > .max = 48, > - .increment = 0 > + .increment = 4 > }, > }, } > }, } > @@ -190,9 +190,9 @@ static const struct rte_cryptodev_capabilities > .increment = 0 > }, > .digest_size = { > - .min = 48, > + .min = 12, > .max = 48, > - .increment = 0 > + .increment = 4 > }, > }, } > }, } > @@ -210,9 +210,9 @@ static const struct rte_cryptodev_capabilities > .increment = 1 > }, > .digest_size = { > - .min = 64, > - .max = 64, > - .increment = 0 > + .min = 12, > + .max = 48, > + .increment = 4 > }, > }, } > }, } > @@ -230,8 +230,8 @@ static const struct rte_cryptodev_capabilities > .increment = 0 > }, > .digest_size = { > - .min = 64, > - .max = 64, > + .min = 12, > + .max = 48, > .increment = 0 > }, > }, }