summaryrefslogtreecommitdiffstats
path: root/dpdk/dpdk-17.08_patches/0002-crypto-qat-align-capabilities.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dpdk/dpdk-17.08_patches/0002-crypto-qat-align-capabilities.patch')
-rw-r--r--dpdk/dpdk-17.08_patches/0002-crypto-qat-align-capabilities.patch101
1 files changed, 101 insertions, 0 deletions
diff --git a/dpdk/dpdk-17.08_patches/0002-crypto-qat-align-capabilities.patch b/dpdk/dpdk-17.08_patches/0002-crypto-qat-align-capabilities.patch
new file mode 100644
index 00000000000..8179e5e6c7e
--- /dev/null
+++ b/dpdk/dpdk-17.08_patches/0002-crypto-qat-align-capabilities.patch
@@ -0,0 +1,101 @@
+From f8184af94214f1c76c0ffda45b9de9243aea287c Mon Sep 17 00:00:00 2001
+From: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
+Date: Tue, 17 Oct 2017 20:05:59 +0100
+Subject: [PATCH] crypto/qat: align capabilities
+
+Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
+---
+ drivers/crypto/qat/qat_crypto_capabilities.h | 28 ++++++++++++++--------------
+ 1 file changed, 14 insertions(+), 14 deletions(-)
+
+diff --git a/drivers/crypto/qat/qat_crypto_capabilities.h b/drivers/crypto/qat/qat_crypto_capabilities.h
+index d8d3fa1..00f8056 100644
+--- a/drivers/crypto/qat/qat_crypto_capabilities.h
++++ b/drivers/crypto/qat/qat_crypto_capabilities.h
+@@ -48,9 +48,9 @@
+ .increment = 1 \
+ }, \
+ .digest_size = { \
+- .min = 20, \
++ .min = 12, \
+ .max = 20, \
+- .increment = 0 \
++ .increment = 1 \
+ }, \
+ .iv_size = { 0 } \
+ }, } \
+@@ -69,9 +69,9 @@
+ .increment = 1 \
+ }, \
+ .digest_size = { \
+- .min = 28, \
++ .min = 14, \
+ .max = 28, \
+- .increment = 0 \
++ .increment = 1 \
+ }, \
+ .iv_size = { 0 } \
+ }, } \
+@@ -90,9 +90,9 @@
+ .increment = 1 \
+ }, \
+ .digest_size = { \
+- .min = 32, \
++ .min = 16, \
+ .max = 32, \
+- .increment = 0 \
++ .increment = 1 \
+ }, \
+ .iv_size = { 0 } \
+ }, } \
+@@ -111,9 +111,9 @@
+ .increment = 1 \
+ }, \
+ .digest_size = { \
+- .min = 48, \
++ .min = 24, \
+ .max = 48, \
+- .increment = 0 \
++ .increment = 1 \
+ }, \
+ .iv_size = { 0 } \
+ }, } \
+@@ -132,9 +132,9 @@
+ .increment = 1 \
+ }, \
+ .digest_size = { \
+- .min = 64, \
++ .min = 32, \
+ .max = 64, \
+- .increment = 0 \
++ .increment = 1 \
+ }, \
+ .iv_size = { 0 } \
+ }, } \
+@@ -153,9 +153,9 @@
+ .increment = 1 \
+ }, \
+ .digest_size = { \
+- .min = 16, \
++ .min = 12, \
+ .max = 16, \
+- .increment = 0 \
++ .increment = 1 \
+ }, \
+ .iv_size = { 0 } \
+ }, } \
+@@ -174,9 +174,9 @@
+ .increment = 0 \
+ }, \
+ .digest_size = { \
+- .min = 16, \
++ .min = 12, \
+ .max = 16, \
+- .increment = 0 \
++ .increment = 1 \
+ }, \
+ .aad_size = { 0 }, \
+ .iv_size = { 0 } \
+--
+2.9.5
+