From 7bfca3894ac022403a5fca9854cbe2f20319e523 Mon Sep 17 00:00:00 2001 From: Akhil Goyal Date: Tue, 17 Aug 2021 23:15:40 +0530 Subject: [PATCH] crypto/octeontx2: update minimum headroom and tailroom The driver consume 208B of tailroom but has min requirement as 8B and headroom needed is 48B, but minimum requirement is set as 24B. This patch correct minimum requirements which application should honour. Signed-off-by: Akhil Goyal Acked-by: Anoob Joseph --- drivers/crypto/octeontx2/otx2_cryptodev_ops.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/octeontx2/otx2_cryptodev_ops.h b/drivers/crypto/octeontx2/otx2_cryptodev_ops.h index 8d135909b3..7faf7ad034 100644 --- a/drivers/crypto/octeontx2/otx2_cryptodev_ops.h +++ b/drivers/crypto/octeontx2/otx2_cryptodev_ops.h @@ -7,8 +7,8 @@ #include -#define OTX2_CPT_MIN_HEADROOM_REQ 24 -#define OTX2_CPT_MIN_TAILROOM_REQ 8 +#define OTX2_CPT_MIN_HEADROOM_REQ 48 +#define OTX2_CPT_MIN_TAILROOM_REQ 208 extern struct rte_cryptodev_ops otx2_cpt_ops; -- 2.20.1