From: Olivier Matz <olivier.matz@6wind.com>
To: stable@dpdk.org
Cc: Didier Pallard <didier.pallard@6wind.com>,
Ankur Dwivedi <adwivedi@marvell.com>
Subject: [dpdk-stable] [PATCH 18.11] crypto/octeontx: fix out-of-place support
Date: Wed, 2 Dec 2020 15:40:51 +0100 [thread overview]
Message-ID: <20201202144050.26809-1-olivier.matz@6wind.com> (raw)
From: Didier Pallard <didier.pallard@6wind.com>
[ upstream commit 16c011472df0f9bc4a6f3fc21dabacc274e4ad1e ]
Out of place with linear buffers is supported by octeontx
while not advertised.
Fixes: 0dc1cffa4d33 ("crypto/octeontx: add hardware init routine")
Cc: stable@dpdk.org
Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
Acked-by: Ankur Dwivedi <adwivedi@marvell.com>
Conflicts:
doc/guides/cryptodevs/features/octeontx.ini
drivers/crypto/octeontx/otx_cryptodev_ops.c
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
---
doc/guides/cryptodevs/features/octeontx.ini | 1 +
drivers/crypto/octeontx/otx_cryptodev_ops.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/doc/guides/cryptodevs/features/octeontx.ini b/doc/guides/cryptodevs/features/octeontx.ini
index 1735b8f5ad..1a2738259c 100644
--- a/doc/guides/cryptodevs/features/octeontx.ini
+++ b/doc/guides/cryptodevs/features/octeontx.ini
@@ -10,6 +10,7 @@ HW Accelerated = Y
In Place SGL = Y
OOP SGL In LB Out = Y
OOP SGL In SGL Out = Y
+OOP LB In LB Out = Y
;
; Supported crypto algorithms of 'octeontx' crypto driver.
diff --git a/drivers/crypto/octeontx/otx_cryptodev_ops.c b/drivers/crypto/octeontx/otx_cryptodev_ops.c
index 90d0c14b88..583e50f165 100644
--- a/drivers/crypto/octeontx/otx_cryptodev_ops.c
+++ b/drivers/crypto/octeontx/otx_cryptodev_ops.c
@@ -509,6 +509,7 @@ otx_cpt_dev_create(struct rte_cryptodev *c_dev)
RTE_CRYPTODEV_FF_HW_ACCELERATED |
RTE_CRYPTODEV_FF_SYM_OPERATION_CHAINING |
RTE_CRYPTODEV_FF_IN_PLACE_SGL |
+ RTE_CRYPTODEV_FF_OOP_LB_IN_LB_OUT |
RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT |
RTE_CRYPTODEV_FF_OOP_SGL_IN_SGL_OUT;
--
2.25.1
next reply other threads:[~2020-12-02 14:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-02 14:40 Olivier Matz [this message]
2020-12-03 16:40 ` Kevin Traynor
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=20201202144050.26809-1-olivier.matz@6wind.com \
--to=olivier.matz@6wind.com \
--cc=adwivedi@marvell.com \
--cc=didier.pallard@6wind.com \
--cc=stable@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).