From: Akhil Goyal Date: Tue, 17 Aug 2021 17:45:40 +0000 (+0530) Subject: crypto/octeontx2: update minimum headroom and tailroom X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7bfca3894ac022403a5fca9854cbe2f20319e523;p=dpdk.git 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 --- 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;