[dpdk-dev] [PATCH v2 1/2] crypto/aesni_mb: support DOCSIS AES-256
Mairtin o Loingsigh
mairtin.oloingsigh at intel.com
Mon Apr 6 17:35:45 CEST 2020
This patch adds support for DOCSIS AES-256 when using AESNI-MB
Signed-off-by: Mairtin o Loingsigh <mairtin.oloingsigh at intel.com>
---
drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c
index 845661174..0d555ec29 100644
--- a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c
+++ b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c
@@ -319,8 +319,14 @@ static const struct rte_cryptodev_capabilities aesni_mb_pmd_capabilities[] = {
},
.iv_size = {
.min = 16,
+#if IMB_VERSION_NUM >= IMB_VERSION(0, 53, 3)
+ .max = 32,
+ .increment = 16
+#else
.max = 16,
.increment = 0
+#endif
+
}
}, }
}, }
--
2.17.1
More information about the dev
mailing list