DPDK patches and discussions
 help / color / mirror / Atom feed
From: Akhil Goyal <gakhil@marvell.com>
To: <anoobj@marvell.com>, <dev@dpdk.org>
Cc: <adwivedi@marvell.com>, Akhil Goyal <gakhil@marvell.com>
Subject: [dpdk-dev] [PATCH] crypto/octeontx2: update min headroom and tailroom
Date: Tue, 17 Aug 2021 23:15:40 +0530	[thread overview]
Message-ID: <20210817174540.1591172-1-gakhil@marvell.com> (raw)

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(-)

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


             reply	other threads:[~2021-08-17 17:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-17 17:45 Akhil Goyal [this message]
2021-09-29  4:46 ` Anoob Joseph
2021-10-05  8:19   ` Akhil Goyal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210817174540.1591172-1-gakhil@marvell.com \
    --to=gakhil@marvell.com \
    --cc=adwivedi@marvell.com \
    --cc=anoobj@marvell.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).