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 527E8A04C3 for ; Fri, 22 Nov 2019 15:42:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 487C1374; Fri, 22 Nov 2019 15:42:49 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id C1AE7374 for ; Fri, 22 Nov 2019 15:42:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574433767; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yrvAwYj+cKHXwczhTr4Yux9sjZNfDF049zp0ygu4IXY=; b=byc9/iA5GHfZCAQlQCyp7osxlRnVDFGaof4DW3ZR8C30ns8wPq2cONMTbAYd1se9snkOU9 XCKSAaJTB5V89vXb4/df5yRlKaH2G0nxPh9l2zu0tlEY+TtrByk41zMiecMHIDAUmaxwc3 m/yIgdRfzjJla4tK4wxG9F3WbFUKdnA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-197-DyV3bimRNDKwBoPkuw6TYg-1; Fri, 22 Nov 2019 09:42:45 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9C8E88018A2; Fri, 22 Nov 2019 14:42:44 +0000 (UTC) Received: from rh.redhat.com (unknown [10.36.118.60]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8865C8516; Fri, 22 Nov 2019 14:42:43 +0000 (UTC) From: Kevin Traynor To: Thierry Herbelot Cc: Anoob Joseph , dpdk stable Date: Fri, 22 Nov 2019 14:41:18 +0000 Message-Id: <20191122144131.21231-32-ktraynor@redhat.com> In-Reply-To: <20191122144131.21231-1-ktraynor@redhat.com> References: <20191122144131.21231-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: DyV3bimRNDKwBoPkuw6TYg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'crypto/octeontx: enable unbinding' has been queued to LTS release 18.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 LTS release 18.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/29/19. 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 rebasi= ng (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/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/c17bff13a741be46a1= 07b78784b006dba544eaea Thanks. Kevin. --- >From c17bff13a741be46a107b78784b006dba544eaea Mon Sep 17 00:00:00 2001 From: Thierry Herbelot Date: Fri, 13 Sep 2019 08:40:03 +0200 Subject: [PATCH] crypto/octeontx: enable unbinding [ upstream commit 1378ddce50eaa482891fcb7ee28c5a9248335bc6 ] Like for Ethernet ports, the OCTEON TX crypto engines must first be unbound from their kernel module, then rebound to vfio-pci, before being used in DPDK. As this capability is detected at runtime by dpdk-pmdinfo, add the info in the PMD registering directives. Then an external script can be used for bind and unbind. Fixes: bfe2ae495ee2 ("crypto/octeontx: add PMD skeleton") Signed-off-by: Thierry Herbelot Acked-by: Anoob Joseph --- drivers/crypto/octeontx/otx_cryptodev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/octeontx/otx_cryptodev.c b/drivers/crypto/octeo= ntx/otx_cryptodev.c index b201e0a1b..c3076487f 100644 --- a/drivers/crypto/octeontx/otx_cryptodev.c +++ b/drivers/crypto/octeontx/otx_cryptodev.c @@ -122,4 +122,5 @@ static struct cryptodev_driver otx_cryptodev_drv; RTE_PMD_REGISTER_PCI(CRYPTODEV_NAME_OCTEONTX_PMD, otx_cryptodev_pmd); RTE_PMD_REGISTER_PCI_TABLE(CRYPTODEV_NAME_OCTEONTX_PMD, pci_id_cpt_table); +RTE_PMD_REGISTER_KMOD_DEP(CRYPTODEV_NAME_OCTEONTX_PMD, "vfio-pci"); RTE_PMD_REGISTER_CRYPTO_DRIVER(otx_cryptodev_drv, otx_cryptodev_pmd.driver= , =09=09otx_cryptodev_driver_id); --=20 2.21.0 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092019-11-22 14:36:56.922083008 +0000 +++ 0032-crypto-octeontx-enable-unbinding.patch=092019-11-22 14:36:55.20114= 9201 +0000 @@ -1 +1 @@ -From 1378ddce50eaa482891fcb7ee28c5a9248335bc6 Mon Sep 17 00:00:00 2001 +From c17bff13a741be46a107b78784b006dba544eaea Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 1378ddce50eaa482891fcb7ee28c5a9248335bc6 ] + @@ -16 +17,0 @@ -Cc: stable@dpdk.org @@ -25 +26 @@ -index fc64a5f30..8df4b710c 100644 +index b201e0a1b..c3076487f 100644 @@ -28 +29 @@ -@@ -119,4 +119,5 @@ static struct cryptodev_driver otx_cryptodev_drv; +@@ -122,4 +122,5 @@ static struct cryptodev_driver otx_cryptodev_drv;