crypto/octeontx2: update minimum headroom and tailroom
authorAkhil Goyal <gakhil@marvell.com>
Tue, 17 Aug 2021 17:45:40 +0000 (23:15 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 8 Oct 2021 19:31:07 +0000 (21:31 +0200)
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@marvell.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
drivers/crypto/octeontx2/otx2_cryptodev_ops.h

index 8d135909b3c15ecf6b9f78568468d16d1bb2d153..7faf7ad03417ebaa4d442b0b4744f51f9d569d12 100644 (file)
@@ -7,8 +7,8 @@
 
 #include <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;