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 0C5CCA0527 for ; Mon, 9 Nov 2020 19:42:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F07C672E2; Mon, 9 Nov 2020 19:42:36 +0100 (CET) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by dpdk.org (Postfix) with ESMTP id 2804C72E2 for ; Mon, 9 Nov 2020 19:42:35 +0100 (CET) Received: by mail-wm1-f44.google.com with SMTP id t67so425722wmt.5 for ; Mon, 09 Nov 2020 10:42:35 -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=cBL1KpbJXS64i1ZnxNJslMhW/fe/kKuxJSEZeiIJebE=; b=VRrQjYJdKYv5q96AzB7Usi+0IJ+3Lw9XW1VidNzHkJc1vvdZKmqn1AvlxsAhOVrY9P cNz61XEaDnC25+s6SOPGFcNZqnGJwLylG5f3Kmo6t01eKdSf81//n2Lu/aRPKlV9rBup VPmFi+a8xxSVytB3veBXSpRf3dP7FETMsmZxzCbnkR1RzXv8j0SwV/JAK66P5uqAO1vV LUsPAAbHmR3op50xjrWdNQW+hM2706WZLYr60/guiLFaqFcqzhx3kv1TScBomN7tbev6 6gFMtPJCYXb2QA1pVWHm+YuMypoqmbc/UV7R87HoWoHVFwwYFIy8QppqvElqez/3kYxK 7eOw== 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=cBL1KpbJXS64i1ZnxNJslMhW/fe/kKuxJSEZeiIJebE=; b=hlSKyzRjghIuzWk+upwIMSmoiFhtHqItMLsnewR6Kq8uFWGNHi7GJTAmQNYnwnr5gL 0TmNf2tUT2OhloUtWicMWUOTTw/SD7VvY3kGwuXCeGLduWU1D8W5ML3FRowIx63eKXya NwEoxeliBptd4XFQ0Z+DI0jmmQ599Kf5bfsto0ieTric91msdg++Cmqy35hOrxK4C/+U EaDh5WIMiQrbGi/wFNQclu6fPp7MCqXUGzLQ9jd0EDoBSROoGezlIIQ8E1PX4tH0mCUz FqGSqVUqF3xTVtC6yCMHkFDH4HsWuuzIVnkqSbAIiZVUClkK5JG7EEmlShllh1OgdvWS PvEQ== X-Gm-Message-State: AOAM530jDheHADuR+xFz2vRcNrKyKkGjTPYVdijyk3KweAXwSTKUXHXA AcHsxq/OsZZzurXnOntAwcY= X-Google-Smtp-Source: ABdhPJxje6phbUHIGxz03MSrJ4ViuikdfMm5SCxV1GdaCrFoNplss4LsLtPQwlRdIhx9m0xUEEMf0A== X-Received: by 2002:a1c:c302:: with SMTP id t2mr527939wmf.189.1604947353871; Mon, 09 Nov 2020 10:42:33 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id b14sm9715437wrs.46.2020.11.09.10.42.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:42:33 -0800 (PST) From: luca.boccassi@gmail.com To: Didier Pallard Cc: Ankur Dwivedi , dpdk stable Date: Mon, 9 Nov 2020 18:40:11 +0000 Message-Id: <20201109184111.3463090-23-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/octeontx2: 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/73299825e498d41d9b307fe8c262d3f1b6695f8c Thanks. Luca Boccassi --- >From 73299825e498d41d9b307fe8c262d3f1b6695f8c Mon Sep 17 00:00:00 2001 From: Didier Pallard Date: Tue, 27 Oct 2020 16:20:58 +0100 Subject: [PATCH] crypto/octeontx2: fix out-of-place support [ upstream commit 8bd1040a708dd1303d1f75a3bd55205b2ec605ce ] Out of place with linear buffers is supported by octeontx2 while not advertised. Fixes: 6aa9ceaddf1d ("crypto/octeontx2: add symmetric capabilities") Signed-off-by: Didier Pallard Acked-by: Ankur Dwivedi --- doc/guides/cryptodevs/features/octeontx2.ini | 1 + drivers/crypto/octeontx2/otx2_cryptodev.c | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/guides/cryptodevs/features/octeontx2.ini b/doc/guides/cryptodevs/features/octeontx2.ini index 7d07053cb1..6a205870af 100644 --- a/doc/guides/cryptodevs/features/octeontx2.ini +++ b/doc/guides/cryptodevs/features/octeontx2.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/octeontx2/otx2_cryptodev.c b/drivers/crypto/octeontx2/otx2_cryptodev.c index 2323de1f60..8523817847 100644 --- a/drivers/crypto/octeontx2/otx2_cryptodev.c +++ b/drivers/crypto/octeontx2/otx2_cryptodev.c @@ -103,6 +103,7 @@ otx2_cpt_pci_probe(struct rte_pci_driver *pci_drv __rte_unused, 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 | RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO | -- 2.27.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-11-09 18:40:12.130931749 +0000 +++ 0023-crypto-octeontx2-fix-out-of-place-support.patch 2020-11-09 18:40:11.095310722 +0000 @@ -1 +1 @@ -From 8bd1040a708dd1303d1f75a3bd55205b2ec605ce Mon Sep 17 00:00:00 2001 +From 73299825e498d41d9b307fe8c262d3f1b6695f8c Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 8bd1040a708dd1303d1f75a3bd55205b2ec605ce ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index c7e418d826..b0d50ce984 100644 +index 7d07053cb1..6a205870af 100644 @@ -23 +24 @@ -@@ -12,6 +12,7 @@ Protocol offload = Y +@@ -11,6 +11,7 @@ HW Accelerated = Y @@ -29 +29,0 @@ - Symmetric sessionless = Y @@ -30,0 +31 @@ + ; @@ -32 +33 @@ -index 1de04f4a66..e0a559b663 100644 +index 2323de1f60..8523817847 100644 @@ -35 +36 @@ -@@ -117,6 +117,7 @@ otx2_cpt_pci_probe(struct rte_pci_driver *pci_drv __rte_unused, +@@ -103,6 +103,7 @@ otx2_cpt_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,