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 E5509A0527 for ; Mon, 9 Nov 2020 19:42:36 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DD01D69A4; Mon, 9 Nov 2020 19:42:35 +0100 (CET) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by dpdk.org (Postfix) with ESMTP id B71A069A4 for ; Mon, 9 Nov 2020 19:42:33 +0100 (CET) Received: by mail-wr1-f48.google.com with SMTP id b8so9874950wrn.0 for ; Mon, 09 Nov 2020 10:42:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yyERTFiRDQX6/cn0KR62mclCk+fbrfk2006zJFJit5g=; b=hi2NNAQRW8hbn0snfUIYybIKKxxAy71BdzcBEEj4LpsK0iI63J9g9NoczXPnKn9y8O 6MmZthiUGhJfGUR6oeNeoOmGqvhHRzg3V6M2bU/hHRE15k803szUueiRpdfoWZFHgfkn Vh6SYbBIEQ82HVR3RdJ11r2iWGRBDM88cPnTJ7g8LtVtqqV7AsGxHDe6IPBo2OKyIS5w XcC6Re7of+pcKMPLOOIaBa4dzx9oSSf2eyoQWc9yre/UQHTVuqCePi/+mjS4A9hUDgYl vFJqLcymAYPn+6a9yf4hR6uNpEHFXs/SZa7uY06LmGjOamZlZuU+m7wVl6IeZqW2GqBe btug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yyERTFiRDQX6/cn0KR62mclCk+fbrfk2006zJFJit5g=; b=HRBmm0bXWyLu5UzCHiSMYNTEVbD2+wBnET+Rr52pMiXnRLpUhS3ywowUXUT3iRrvz4 zFVCBg9IySsbmH8PzIVigkMWhXNnfAyl4TTx+9wzRzgzO6rmX62g8OsBgzp2v5bZz/cL TTdQbUVFg92WsJ8ceyYsfn9e4JZ6xOdbxGcrUkG6iIf9UvlYZiZP3ndk4h18v5KSALKF /fDKLH2P38sr0kUQWwsB1XGSpe/jYclQh2iW048r/2+B2Pr7/peMGErg0iBkkv3N4Bmj HOvUlADoH12Eiu8h/nHjG3e5g628QA/mQfT/Q2RAzpTe6mwuxcBiXJnkYWcW7/mZOngE NPqw== X-Gm-Message-State: AOAM531IoVI4BcDMJZaL8KchPJWiS2QFRn+RCqoda/FLB/O8fIsoIfQo 6yqiCm8Id84d45zP4ev4QmMnaUBnAnzz/w== X-Google-Smtp-Source: ABdhPJxu3fIp74egW9wX6jWLnVWWg2ILyeh4raud0vXJ2BLYw0kjq+y8ijPe9Dhn0dHfLxEbjzznpg== X-Received: by 2002:adf:ea50:: with SMTP id j16mr14189266wrn.283.1604947352522; Mon, 09 Nov 2020 10:42:32 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id a17sm14377717wra.61.2020.11.09.10.42.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:42:31 -0800 (PST) From: luca.boccassi@gmail.com To: Didier Pallard Cc: Ankur Dwivedi , dpdk stable Date: Mon, 9 Nov 2020 18:40:10 +0000 Message-Id: <20201109184111.3463090-22-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201109184111.3463090-1-luca.boccassi@gmail.com> References: <20201028104606.3504127-207-luca.boccassi@gmail.com> <20201109184111.3463090-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'crypto/octeontx: fix out-of-place support' has been queued to stable release 19.11.6 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" Hi, FYI, your patch has been queued to stable release 19.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/11/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/31d465f92cdd307a811f259147161ce9bcece7fd Thanks. Luca Boccassi --- >From 31d465f92cdd307a811f259147161ce9bcece7fd Mon Sep 17 00:00:00 2001 From: Didier Pallard Date: Tue, 27 Oct 2020 16:19:43 +0100 Subject: [PATCH] crypto/octeontx: fix out-of-place support [ upstream commit 16c011472df0f9bc4a6f3fc21dabacc274e4ad1e ] Out of place with linear buffers is supported by octeontx while not advertised. Fixes: 0dc1cffa4d33 ("crypto/octeontx: add hardware init routine") Signed-off-by: Didier Pallard Acked-by: Ankur Dwivedi --- 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 1c036c5baf..629e6bfc41 100644 --- a/doc/guides/cryptodevs/features/octeontx.ini +++ b/doc/guides/cryptodevs/features/octeontx.ini @@ -11,6 +11,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 RSA PRIV OP KEY QT = Y ; diff --git a/drivers/crypto/octeontx/otx_cryptodev_ops.c b/drivers/crypto/octeontx/otx_cryptodev_ops.c index ba56b212b9..4eadb773ef 100644 --- a/drivers/crypto/octeontx/otx_cryptodev_ops.c +++ b/drivers/crypto/octeontx/otx_cryptodev_ops.c @@ -905,6 +905,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; break; -- 2.27.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-11-09 18:40:12.091901741 +0000 +++ 0022-crypto-octeontx-fix-out-of-place-support.patch 2020-11-09 18:40:11.095310722 +0000 @@ -1 +1 @@ -From 16c011472df0f9bc4a6f3fc21dabacc274e4ad1e Mon Sep 17 00:00:00 2001 +From 31d465f92cdd307a811f259147161ce9bcece7fd Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 16c011472df0f9bc4a6f3fc21dabacc274e4ad1e ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 4ce4ff1699..10d94e3f7b 100644 +index 1c036c5baf..629e6bfc41 100644 @@ -29 +29,0 @@ - Symmetric sessionless = Y @@ -30,0 +31 @@ + ; @@ -32 +33 @@ -index 14f22e3011..05d6dfff7c 100644 +index ba56b212b9..4eadb773ef 100644 @@ -35 +36 @@ -@@ -985,6 +985,7 @@ otx_cpt_dev_create(struct rte_cryptodev *c_dev) +@@ -905,6 +905,7 @@ otx_cpt_dev_create(struct rte_cryptodev *c_dev) @@ -41,2 +42,2 @@ - RTE_CRYPTODEV_FF_OOP_SGL_IN_SGL_OUT | - RTE_CRYPTODEV_FF_SYM_SESSIONLESS; + RTE_CRYPTODEV_FF_OOP_SGL_IN_SGL_OUT; + break;