crypto/octeontx2: update min headroom and tailroom

Message ID 20210817174540.1591172-1-gakhil@marvell.com (mailing list archive)
State Accepted, archived
Delegated to: akhil goyal
Headers
Series crypto/octeontx2: update min headroom and tailroom |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/github-robot: build success github build: passed
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-aarch64-unit-testing fail Testing issues
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS

Commit Message

Akhil Goyal Aug. 17, 2021, 5:45 p.m. UTC
  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>
---
 drivers/crypto/octeontx2/otx2_cryptodev_ops.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Anoob Joseph Sept. 29, 2021, 4:46 a.m. UTC | #1
> 
> 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>
  
Akhil Goyal Oct. 5, 2021, 8:19 a.m. UTC | #2
> > 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>

Applied to dpdk-next-crypto
  

Patch

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;