From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 56E211B48E for ; Thu, 22 Nov 2018 17:50:51 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B7D263138B99; Thu, 22 Nov 2018 16:50:50 +0000 (UTC) Received: from ktraynor.remote.csb (unknown [10.36.118.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3205D60E3F; Thu, 22 Nov 2018 16:50:48 +0000 (UTC) From: Kevin Traynor To: Szymon Sliwa Cc: Yelena Krivosheev , Natalie Samsonov , dpdk stable Date: Thu, 22 Nov 2018 16:48:54 +0000 Message-Id: <20181122164957.13003-2-ktraynor@redhat.com> In-Reply-To: <20181122164957.13003-1-ktraynor@redhat.com> References: <20181122164957.13003-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Thu, 22 Nov 2018 16:50:50 +0000 (UTC) Subject: [dpdk-stable] patch 'crypto/mvsam: update hash digest sizes' has been queued to stable release 18.08.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2018 16:50:51 -0000 Hi, FYI, your patch has been queued to stable release 18.08.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/28/18. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Kevin Traynor --- >>From 9df0b408a73e267b0a76c430bfeb06d30568ece5 Mon Sep 17 00:00:00 2001 From: Szymon Sliwa Date: Fri, 21 Sep 2018 16:53:55 +0200 Subject: [PATCH] crypto/mvsam: update hash digest sizes [ upstream commit 2c22aa4f8f6e0be61a7130bfed14be957811b8d6 ] 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 c045562ca..e2cfc07f3 100644 --- a/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c +++ b/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c @@ -31,7 +31,7 @@ static const struct rte_cryptodev_capabilities }, .digest_size = { - .min = 16, + .min = 12, .max = 16, - .increment = 0 + .increment = 4 }, }, } @@ -51,7 +51,7 @@ static const struct rte_cryptodev_capabilities }, .digest_size = { - .min = 16, + .min = 12, .max = 16, - .increment = 0 + .increment = 4 }, }, } @@ -71,7 +71,7 @@ static const struct rte_cryptodev_capabilities }, .digest_size = { - .min = 20, + .min = 12, .max = 20, - .increment = 0 + .increment = 4 }, }, } @@ -91,7 +91,7 @@ static const struct rte_cryptodev_capabilities }, .digest_size = { - .min = 20, + .min = 12, .max = 20, - .increment = 0 + .increment = 4 }, }, } @@ -111,7 +111,7 @@ static const struct rte_cryptodev_capabilities }, .digest_size = { - .min = 28, + .min = 12, .max = 28, - .increment = 0 + .increment = 4 }, }, } @@ -131,7 +131,7 @@ static const struct rte_cryptodev_capabilities }, .digest_size = { - .min = 32, + .min = 12, .max = 32, - .increment = 0 + .increment = 4 }, }, } @@ -151,7 +151,7 @@ static const struct rte_cryptodev_capabilities }, .digest_size = { - .min = 32, + .min = 12, .max = 32, - .increment = 0 + .increment = 4 }, }, } @@ -171,7 +171,7 @@ static const struct rte_cryptodev_capabilities }, .digest_size = { - .min = 48, + .min = 12, .max = 48, - .increment = 0 + .increment = 4 }, }, } @@ -191,7 +191,7 @@ static const struct rte_cryptodev_capabilities }, .digest_size = { - .min = 48, + .min = 12, .max = 48, - .increment = 0 + .increment = 4 }, }, } @@ -211,7 +211,7 @@ static const struct rte_cryptodev_capabilities }, .digest_size = { - .min = 64, - .max = 64, - .increment = 0 + .min = 12, + .max = 48, + .increment = 4 }, }, } @@ -231,6 +231,6 @@ static const struct rte_cryptodev_capabilities }, .digest_size = { - .min = 64, - .max = 64, + .min = 12, + .max = 48, .increment = 0 }, -- 2.19.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2018-11-22 16:47:32.332376618 +0000 +++ 0002-crypto-mvsam-update-hash-digest-sizes.patch 2018-11-22 16:47:32.000000000 +0000 @@ -1,11 +1,11 @@ -From 2c22aa4f8f6e0be61a7130bfed14be957811b8d6 Mon Sep 17 00:00:00 2001 +From 9df0b408a73e267b0a76c430bfeb06d30568ece5 Mon Sep 17 00:00:00 2001 From: Szymon Sliwa Date: Fri, 21 Sep 2018 16:53:55 +0200 Subject: [PATCH] crypto/mvsam: update hash digest sizes -Update hash digest sizes to match hardware capabilities. +[ upstream commit 2c22aa4f8f6e0be61a7130bfed14be957811b8d6 ] -Cc: stable@dpdk.org +Update hash digest sizes to match hardware capabilities. Signed-off-by: Szymon Sliwa Reviewed-by: Yelena Krivosheev