[dpdk-dev] [PATCH] crypto/octeontx2: update min headroom and tailroom
Akhil Goyal
gakhil at marvell.com
Tue Aug 17 19:45:40 CEST 2021
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 <gakhil at marvell.com>
---
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 1970187f88..043bda5a94 100644
--- a/drivers/crypto/octeontx2/otx2_cryptodev_ops.h
+++ b/drivers/crypto/octeontx2/otx2_cryptodev_ops.h
@@ -7,8 +7,8 @@
#include <rte_cryptodev_pmd.h>
-#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.25.1
More information about the dev
mailing list