From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EA183A04DB for ; Wed, 2 Dec 2020 15:41:20 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DFA65C99C; Wed, 2 Dec 2020 15:41:19 +0100 (CET) Received: from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com [62.23.145.76]) by dpdk.org (Postfix) with ESMTP id CD810C99C for ; Wed, 2 Dec 2020 15:41:18 +0100 (CET) Received: from glumotte.dev.6wind.com. (unknown [10.16.0.195]) by proxy.6wind.com (Postfix) with ESMTP id B5FEC49C97E; Wed, 2 Dec 2020 15:41:17 +0100 (CET) From: Olivier Matz To: stable@dpdk.org Cc: Didier Pallard , Ankur Dwivedi Date: Wed, 2 Dec 2020 15:40:51 +0100 Message-Id: <20201202144050.26809-1-olivier.matz@6wind.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH 18.11] crypto/octeontx: fix out-of-place support X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" From: Didier Pallard [ 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 Acked-by: Ankur Dwivedi Conflicts: doc/guides/cryptodevs/features/octeontx.ini drivers/crypto/octeontx/otx_cryptodev_ops.c Signed-off-by: Olivier Matz --- 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