From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B3D29A0A0C for ; Tue, 3 Aug 2021 14:23:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ACA19411D1; Tue, 3 Aug 2021 14:23:22 +0200 (CEST) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by mails.dpdk.org (Postfix) with ESMTP id 0F67B40E3C for ; Tue, 3 Aug 2021 14:23:21 +0200 (CEST) Received: by mail-wm1-f50.google.com with SMTP id e25-20020a05600c4b99b0290253418ba0fbso2016778wmp.1 for ; Tue, 03 Aug 2021 05:23:21 -0700 (PDT) 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=OCK7P+ITV+oLGsrXFM5e58IIll9VQt//0W8LI9uu0+E=; b=gThj5/BoB8lrkfpPvvd+T8lhfW6LJ0AOCMd2O551vD5WkU9ABo/a+upxS0WHS3c/hn C9fyNbfljiir0Saxy7fgJj/EDzbD2xxSEmVDRybIX1JCdgDv/zY/bBTn7ddNaPCo1ZmI b79H5anat2O76yhqiZppRDdg2677892HTVNmEbmNcHnTzCGAS3pAirXEiLDRG66wTg5I ODoWX94iavhvxnx/WpKprMYx6/b8GkKhmCNn4jKn/HDILNJFgxPGWIqylTJ/m5bmO7Fd p8CCtZFUguDCH6fHo+aC4JsGDA2D7UqhV82AT+ZZBoOTyMgcueluKwTuVD6BXy0HmXKR 6Qjg== 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=OCK7P+ITV+oLGsrXFM5e58IIll9VQt//0W8LI9uu0+E=; b=LM0An7QopUmhcI3C7436XMZmqdeE29heFcrRNqGRl6lsna0XE/hXlsAWrnGh/GTLCd 1Mp+yohiU2YvZKoxQDIrmhVyexCpCPLQUsEFhzN/nNsoVXz2q+N9Kxa4ZV4v75kmT5Ck 9TD4LRlQ+vULRXMuoViGs1HQHg+WKFK1ZzabEEOfZLvneIkDsyNLnx2Bxnt7IM1KayQD Q4rwVX4QzHFn7jtQeBzZjaGff+Y1naLNEtn/5MThumxFf/0jma54XKRe9VQJKw5ZkgQb W4jUVWKVDM/ivfT54SqAMhfymwQLAN1qQcqWO6hY4HfgYQg7rZApvg/DcfVx42QW4Ybx cU/g== X-Gm-Message-State: AOAM531yfSh7W1/Hdz9gV3Uzo3+E7ekMBiGkDJCFrHSIM8T8AxnzcmEd +juTSog3A986G/nd0kJYUQM= X-Google-Smtp-Source: ABdhPJyW+si7tB3/h/oDyD9Op/lap4NlE8D+TnaHlF73oDodKxOSA1QckproyIZD2izDp00qCEn/YQ== X-Received: by 2002:a1c:7fc4:: with SMTP id a187mr21014680wmd.15.1627993400836; Tue, 03 Aug 2021 05:23:20 -0700 (PDT) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id m14sm14090477wrs.56.2021.08.03.05.23.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Aug 2021 05:23:20 -0700 (PDT) From: luca.boccassi@gmail.com To: Arek Kusztal Cc: Fan Zhang , dpdk stable Date: Tue, 3 Aug 2021 13:22:11 +0100 Message-Id: <20210803122214.1094992-22-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210803122214.1094992-1-luca.boccassi@gmail.com> References: <20210726135322.149850-59-luca.boccassi@gmail.com> <20210803122214.1094992-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'crypto/qat: disable asymmetric crypto on GEN3' has been queued to stable release 20.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 20.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 08/05/21. 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/853a9877165c214756e92658f2f535525f309e02 Thanks. Luca Boccassi --- >From 853a9877165c214756e92658f2f535525f309e02 Mon Sep 17 00:00:00 2001 From: Arek Kusztal Date: Wed, 28 Jul 2021 17:18:31 +0100 Subject: [PATCH] crypto/qat: disable asymmetric crypto on GEN3 [ upstream commit 135e3a4046793e7f68a96d61fc6f0c03c365863c ] This patch disables asymmetric crypto PMD on GEN3 devices. Fixes: 1f5e4053f9b4 ("common/qat: support GEN3 devices") Signed-off-by: Arek Kusztal Acked-by: Fan Zhang --- drivers/crypto/qat/qat_asym_pmd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/crypto/qat/qat_asym_pmd.c b/drivers/crypto/qat/qat_asym_pmd.c index a2c8aca2c1..ef47e28112 100644 --- a/drivers/crypto/qat/qat_asym_pmd.c +++ b/drivers/crypto/qat/qat_asym_pmd.c @@ -251,6 +251,10 @@ qat_asym_dev_create(struct qat_pci_device *qat_pci_dev, struct rte_cryptodev *cryptodev; struct qat_asym_dev_private *internals; + if (qat_pci_dev->qat_dev_gen == QAT_GEN3) { + QAT_LOG(ERR, "Asymmetric crypto PMD not supported on QAT c4xxx"); + return -EFAULT; + } snprintf(name, RTE_CRYPTODEV_NAME_MAX_LEN, "%s_%s", qat_pci_dev->name, "asym"); QAT_LOG(DEBUG, "Creating QAT ASYM device %s\n", name); -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-08-03 12:35:09.073796006 +0100 +++ 0022-crypto-qat-disable-asymmetric-crypto-on-GEN3.patch 2021-08-03 12:35:08.242819288 +0100 @@ -1 +1 @@ -From 135e3a4046793e7f68a96d61fc6f0c03c365863c Mon Sep 17 00:00:00 2001 +From 853a9877165c214756e92658f2f535525f309e02 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 135e3a4046793e7f68a96d61fc6f0c03c365863c ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -18 +19 @@ -index d844dd85bf..0c25cce09e 100644 +index a2c8aca2c1..ef47e28112 100644 @@ -21,4 +22,4 @@ -@@ -255,6 +255,10 @@ qat_asym_dev_create(struct qat_pci_device *qat_pci_dev, - QAT_LOG(ERR, "Asymmetric crypto PMD not supported on QAT 4xxx"); - return -EFAULT; - } +@@ -251,6 +251,10 @@ qat_asym_dev_create(struct qat_pci_device *qat_pci_dev, + struct rte_cryptodev *cryptodev; + struct qat_asym_dev_private *internals; +