summaryrefslogtreecommitdiffstats
path: root/dpdk/dpdk-17.08_patches/0002-crypto-qat-align-capabilities.patch
diff options
context:
space:
mode:
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>2017-11-26 15:25:43 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2017-12-05 18:18:58 +0000
commit99214ce0aeaab67335c6adbf3327878bd3dc0fc9 (patch)
tree2e55890742cdbdc82c3c67dfdfc92b05b94ad6f6 /dpdk/dpdk-17.08_patches/0002-crypto-qat-align-capabilities.patch
parent3a699b28bbc6f33fd7e8e504ee1cff64c164881a (diff)
dpdk/ipsec: multiple fixes
- fix ESP transport mode - safely free crypto sessions - use rte_mempool_virt2phy/rte_mempool_virt2iova - align DPDK QAT capabilities for IPsec usage (DPDK 17.08) - reserve 16B for aad (reference cryptodev doc) Change-Id: I3822a7456fb5a255c767f5a44a429f91a140fe64 Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
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
+