[dpdk-stable] patch 'crypto/mvsam: update hash digest sizes' has been queued to LTS release 17.11.5

Yongseok Koh yskoh at mellanox.com
Fri Nov 30 00:10:59 CET 2018


Hi,

FYI, your patch has been queued to LTS release 17.11.5

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/01/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.

Yongseok

---
>From c10866e7bf0d41dad725e3be317369929c08b236 Mon Sep 17 00:00:00 2001
From: Szymon Sliwa <szs at semihalf.com>
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 <szs at semihalf.com>
Reviewed-by: Yelena Krivosheev <yelena at marvell.com>
Reviewed-by: Natalie Samsonov <nsamsono at marvell.com>
---
 drivers/crypto/mrvl/rte_mrvl_pmd_ops.c | 46 +++++++++++++++++-----------------
 1 file changed, 23 insertions(+), 23 deletions(-)

diff --git a/drivers/crypto/mrvl/rte_mrvl_pmd_ops.c b/drivers/crypto/mrvl/rte_mrvl_pmd_ops.c
index 434cf8509..69e1ccba6 100644
--- a/drivers/crypto/mrvl/rte_mrvl_pmd_ops.c
+++ b/drivers/crypto/mrvl/rte_mrvl_pmd_ops.c
@@ -58,9 +58,9 @@ static const struct rte_cryptodev_capabilities
 					.increment = 1
 				},
 				.digest_size = {
-					.min = 16,
+					.min = 12,
 					.max = 16,
-					.increment = 0
+					.increment = 4
 				},
 			}, }
 		}, }
@@ -78,9 +78,9 @@ static const struct rte_cryptodev_capabilities
 						.increment = 0
 					},
 					.digest_size = {
-						.min = 16,
+						.min = 12,
 						.max = 16,
-						.increment = 0
+						.increment = 4
 					},
 				}, }
 			}, }
@@ -98,9 +98,9 @@ static const struct rte_cryptodev_capabilities
 						.increment = 1
 					},
 					.digest_size = {
-						.min = 20,
+						.min = 12,
 						.max = 20,
-						.increment = 0
+						.increment = 4
 					},
 				}, }
 			}, }
@@ -118,9 +118,9 @@ static const struct rte_cryptodev_capabilities
 					.increment = 0
 				},
 				.digest_size = {
-					.min = 20,
+					.min = 12,
 					.max = 20,
-					.increment = 0
+					.increment = 4
 				},
 			}, }
 		}, }
@@ -138,9 +138,9 @@ static const struct rte_cryptodev_capabilities
 					.increment = 0
 				},
 				.digest_size = {
-					.min = 28,
+					.min = 12,
 					.max = 28,
-					.increment = 0
+					.increment = 4
 				},
 			}, }
 		}, }
@@ -158,9 +158,9 @@ static const struct rte_cryptodev_capabilities
 						.increment = 1
 					},
 					.digest_size = {
-						.min = 32,
+						.min = 12,
 						.max = 32,
-						.increment = 0
+						.increment = 4
 					},
 				}, }
 			}, }
@@ -178,9 +178,9 @@ static const struct rte_cryptodev_capabilities
 						.increment = 0
 					},
 					.digest_size = {
-						.min = 32,
+						.min = 12,
 						.max = 32,
-						.increment = 0
+						.increment = 4
 					},
 				}, }
 			}, }
@@ -198,9 +198,9 @@ static const struct rte_cryptodev_capabilities
 					.increment = 1
 				},
 				.digest_size = {
-					.min = 48,
+					.min = 12,
 					.max = 48,
-					.increment = 0
+					.increment = 4
 				},
 			}, }
 		}, }
@@ -218,9 +218,9 @@ static const struct rte_cryptodev_capabilities
 					.increment = 0
 				},
 				.digest_size = {
-					.min = 48,
+					.min = 12,
 					.max = 48,
-					.increment = 0
+					.increment = 4
 				},
 			}, }
 		}, }
@@ -238,9 +238,9 @@ static const struct rte_cryptodev_capabilities
 					.increment = 1
 				},
 				.digest_size = {
-					.min = 64,
-					.max = 64,
-					.increment = 0
+					.min = 12,
+					.max = 48,
+					.increment = 4
 				},
 			}, }
 		}, }
@@ -258,8 +258,8 @@ static const struct rte_cryptodev_capabilities
 					.increment = 0
 				},
 				.digest_size = {
-					.min = 64,
-					.max = 64,
+					.min = 12,
+					.max = 48,
 					.increment = 0
 				},
 			}, }
-- 
2.11.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2018-11-29 15:01:48.099174212 -0800
+++ 0065-crypto-mvsam-update-hash-digest-sizes.patch	2018-11-29 15:01:45.168964000 -0800
@@ -1,24 +1,24 @@
-From 2c22aa4f8f6e0be61a7130bfed14be957811b8d6 Mon Sep 17 00:00:00 2001
+From c10866e7bf0d41dad725e3be317369929c08b236 Mon Sep 17 00:00:00 2001
 From: Szymon Sliwa <szs at semihalf.com>
 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 at dpdk.org
+Update hash digest sizes to match hardware capabilities.
 
 Signed-off-by: Szymon Sliwa <szs at semihalf.com>
 Reviewed-by: Yelena Krivosheev <yelena at marvell.com>
 Reviewed-by: Natalie Samsonov <nsamsono at marvell.com>
 ---
- drivers/crypto/mvsam/rte_mrvl_pmd_ops.c | 46 ++++++++++++++++-----------------
+ drivers/crypto/mrvl/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
-@@ -30,9 +30,9 @@ static const struct rte_cryptodev_capabilities
+diff --git a/drivers/crypto/mrvl/rte_mrvl_pmd_ops.c b/drivers/crypto/mrvl/rte_mrvl_pmd_ops.c
+index 434cf8509..69e1ccba6 100644
+--- a/drivers/crypto/mrvl/rte_mrvl_pmd_ops.c
++++ b/drivers/crypto/mrvl/rte_mrvl_pmd_ops.c
+@@ -58,9 +58,9 @@ static const struct rte_cryptodev_capabilities
  					.increment = 1
  				},
  				.digest_size = {
@@ -30,7 +30,7 @@
  				},
  			}, }
  		}, }
-@@ -50,9 +50,9 @@ static const struct rte_cryptodev_capabilities
+@@ -78,9 +78,9 @@ static const struct rte_cryptodev_capabilities
  						.increment = 0
  					},
  					.digest_size = {
@@ -42,7 +42,7 @@
  					},
  				}, }
  			}, }
-@@ -70,9 +70,9 @@ static const struct rte_cryptodev_capabilities
+@@ -98,9 +98,9 @@ static const struct rte_cryptodev_capabilities
  						.increment = 1
  					},
  					.digest_size = {
@@ -54,7 +54,7 @@
  					},
  				}, }
  			}, }
-@@ -90,9 +90,9 @@ static const struct rte_cryptodev_capabilities
+@@ -118,9 +118,9 @@ static const struct rte_cryptodev_capabilities
  					.increment = 0
  				},
  				.digest_size = {
@@ -66,7 +66,7 @@
  				},
  			}, }
  		}, }
-@@ -110,9 +110,9 @@ static const struct rte_cryptodev_capabilities
+@@ -138,9 +138,9 @@ static const struct rte_cryptodev_capabilities
  					.increment = 0
  				},
  				.digest_size = {
@@ -78,7 +78,7 @@
  				},
  			}, }
  		}, }
-@@ -130,9 +130,9 @@ static const struct rte_cryptodev_capabilities
+@@ -158,9 +158,9 @@ static const struct rte_cryptodev_capabilities
  						.increment = 1
  					},
  					.digest_size = {
@@ -90,7 +90,7 @@
  					},
  				}, }
  			}, }
-@@ -150,9 +150,9 @@ static const struct rte_cryptodev_capabilities
+@@ -178,9 +178,9 @@ static const struct rte_cryptodev_capabilities
  						.increment = 0
  					},
  					.digest_size = {
@@ -102,7 +102,7 @@
  					},
  				}, }
  			}, }
-@@ -170,9 +170,9 @@ static const struct rte_cryptodev_capabilities
+@@ -198,9 +198,9 @@ static const struct rte_cryptodev_capabilities
  					.increment = 1
  				},
  				.digest_size = {
@@ -114,7 +114,7 @@
  				},
  			}, }
  		}, }
-@@ -190,9 +190,9 @@ static const struct rte_cryptodev_capabilities
+@@ -218,9 +218,9 @@ static const struct rte_cryptodev_capabilities
  					.increment = 0
  				},
  				.digest_size = {
@@ -126,7 +126,7 @@
  				},
  			}, }
  		}, }
-@@ -210,9 +210,9 @@ static const struct rte_cryptodev_capabilities
+@@ -238,9 +238,9 @@ static const struct rte_cryptodev_capabilities
  					.increment = 1
  				},
  				.digest_size = {
@@ -139,7 +139,7 @@
  				},
  			}, }
  		}, }
-@@ -230,8 +230,8 @@ static const struct rte_cryptodev_capabilities
+@@ -258,8 +258,8 @@ static const struct rte_cryptodev_capabilities
  					.increment = 0
  				},
  				.digest_size = {


More information about the stable mailing list