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 CA4BDA0C40; Fri, 30 Jul 2021 21:19:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AFAF540040; Fri, 30 Jul 2021 21:19:20 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 941BA4003F; Fri, 30 Jul 2021 21:19:18 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16UJGfFW020021; Fri, 30 Jul 2021 12:19:17 -0700 Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2169.outbound.protection.outlook.com [104.47.58.169]) by mx0a-0016f401.pphosted.com with ESMTP id 3a4866udyr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Jul 2021 12:19:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nIAkW1dr+xhjmH4I9tgdNWrdZqMk06so0GSANPNi9t/2vRi/B1wpnnj+QWkyUwyAjtwEg0dF7Qnay5RBm5DCiWfkML0KEdlTshD/Ltv31BYkN4pt5zZrhXJ6X+IpcETw8UOBA0fSGT8DE3Ii4Zjth0sKFBLsZqsVo6tF+d/08Yp/UxK5/prFrsTgIk5qwi32TC9J7F3nFkBJuK9qX1MPlXzW7cFgKE1dgK46hyZwO5lrzCdCb3tO0ZCyJukutMs11ZK+aMnhCzwjZGe1NnXIRsOHztBthIIfEQl+6eouhplj4cz4hc644Yl+3i67UniNJ/hIfv1t/PE2nIEXuiNepw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yyZUuGlMIqOHl/PXaEerRqBQHKwHrBmemWkU5lvMBF4=; b=fubmy4k1ynZXPulrhuM0muLVNZRGjisuvRqJe33XoG3EnYRVTT2d2czofFv6cMteECnOcC78fsSdBVQInBP0PgzHBLMMMDm/o2tGR11C9+BG4DdFGAE7XZEm2sLtOFQrelOE6DaQbfik7fAV63ifwRQwFkZQebMJWDNfG26wcNn1Py32srHqvKn3l9U+CymbBdbu7bLyObSRATrS7WEN7/PR4A75EO/NoYoaCsJrAEYSDZEptZFpQz/8rv4bC9AdYGQvtiF14dLaoTHC7ktmoupOUuCkZUBYsLcL1EwqNBqsSvOnerkne4OxiFzlp2iSN80mnOAILDkR2tu7ujHoeg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yyZUuGlMIqOHl/PXaEerRqBQHKwHrBmemWkU5lvMBF4=; b=urtbR9Ksarg8D8NomPVQgVGn//F+g292dL16/5FhYftPO3BUMf5hNWlBOgTdWLwvSlIsOARoPm5RFimlsOyY1uqyFVx17eIJuA0nEcJn2z0byz3n+mn9qi8+KoZ2qI6FYZw3LiujvlAVjMFyqgJ8MRlLYM0NjlTNM7bjc2njLzE= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO6PR18MB4498.namprd18.prod.outlook.com (2603:10b6:5:358::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.17; Fri, 30 Jul 2021 19:19:15 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1455:9a67:a6e7:e557]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1455:9a67:a6e7:e557%7]) with mapi id 15.20.4373.025; Fri, 30 Jul 2021 19:19:15 +0000 From: Akhil Goyal To: Arek Kusztal , "dev@dpdk.org" CC: "fiona.trahe@intel.com" , "roy.fan.zhang@intel.com" , "stable@dpdk.org" Thread-Topic: [EXT] [PATCH 2/2] crypto/qat: fix asymmetric crypto pmd create on gen3 Thread-Index: AQHXg8xE4KNYgjWbsUmGv4Q3A2aHN6tb585g Date: Fri, 30 Jul 2021 19:19:15 +0000 Message-ID: References: <20210728161831.6807-1-arkadiuszx.kusztal@intel.com> <20210728161831.6807-3-arkadiuszx.kusztal@intel.com> In-Reply-To: <20210728161831.6807-3-arkadiuszx.kusztal@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=marvell.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d68977da-1bb9-4fdb-c452-08d9538eeb97 x-ms-traffictypediagnostic: CO6PR18MB4498: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:158; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UcXVaS6f2XZpP0ownL5cEMFK7R+2v3W3U94ydyakXOc66kk2wU6gI42MMhR1Js8zJsD5uzh/YvVmw1OIV/6JRSbl94EHOfh8uCJUi5bw9hDhOmpjID4UjUnx+Rqfx0AlQkx3sJpnCf/uz3VtMo2w5NCAi1C4jBCIDwOyQrCJILSjDjYhyBbzRwvVvWORNuEnIJUefNRShhtUmZmW9js4C18sA2glkrMMP8Wneryu7N5qYP4mGtqsV46B2vp9652veWdQbYjnUnsdOhzG0JEUUmFt0TtrQYNx8R6/TCjT5cUAh44W19/3d/h2DKLbgRsP+foI3hUG0HmD9vqDHcXyd+H2VYR6FU8uG9eTj7gwa58OdF3pE9cvIIJpi98q8NLYGmhjj97hD6xH9C6DsMw2HiCKBZbJwHZzY6OOTR3QAzPLKn4ekDbuUdscXlgLtSEiHD2GxT0PVgkK3MmKJ5iK4o2rd2F1P9WJITuJkXj3p3NaMN5LrmSXkcjACflVEC312pR4XZ0v8+uWNDjZXOsF3wJGYCv0wzRJKcOodLmEiaKITqSHoT2w5zjajB4mI32GJbACub7ait5JX9s/zoE9hf1kuh1nMgTrf335epuzmNG2qc8NWl1issA+3Rzc++eINA0rvo4ZOWwMF3yvyFon1m5OgSAFZfxDzH7Mbam5rSD2OFtgaV01mU36WsjXHjGFBRwhBDj653YbxUdccoT8KA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(376002)(346002)(366004)(396003)(136003)(38070700005)(8936002)(7696005)(38100700002)(2906002)(76116006)(8676002)(71200400001)(4744005)(5660300002)(186003)(66476007)(26005)(55236004)(55016002)(6506007)(122000001)(86362001)(9686003)(4326008)(52536014)(33656002)(478600001)(66556008)(54906003)(110136005)(66446008)(66946007)(316002)(64756008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?vI47l2Qf5Vd4+dkMoXUQWSmAtGC0G0eZwLKe3bMSNCEy0YixM1b5D+cO10QA?= =?us-ascii?Q?fR3h3fsKbZVUodq0Ca0rpn43Rx7z1U02lAWs/Zo9GiDwh2K4kFczwSr2uUEw?= =?us-ascii?Q?nQkj2VilCsePM+IVJX1Djthrbf5mHovUztv7yTxs6kRu2HA5M3PwIgChprNx?= =?us-ascii?Q?dnpSidMaK6de20OqPzHr0WuIdNE+TQQhQRD9MZTWtDrcjL8Gk53kIui+V+oF?= =?us-ascii?Q?zW3tPnF/O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beWm4LO4lndxuwD8Xca?= =?us-ascii?Q?/816/9IyCxrgCCCy6XkzdFlL2XDv6urkp0EoniXRuuuCj3WSq0Rc1XfwYS5q?= =?us-ascii?Q?dfR4Ffs3/SCnGVKxTQLvdS8r4zQ2xA4fcX8GJbhmt2CzR+L8ZjLo0HV56CMZ?= =?us-ascii?Q?4kmZdz79PlBxVDJ/MwyDms1MNWATbf7Rs7Jha+Pvmzk6AAHLoCxfw34YAclC?= =?us-ascii?Q?AHzvGx/gb9C7oF5Z6tz+hLVB?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d68977da-1bb9-4fdb-c452-08d9538eeb97 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jul 2021 19:19:15.1355 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: GDklZWMT2WL7HPmLTBBp0sQg9ErdbcOkcb/TCHyHU3D2j+lkZiqklP7pLHFN8nK7VydkSdAQMigyBL/aLmQqCQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB4498 X-Proofpoint-GUID: W9DWUqXopGhBbC3KcXhasUrmsnT1x-sE X-Proofpoint-ORIG-GUID: W9DWUqXopGhBbC3KcXhasUrmsnT1x-sE X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-30_11:2021-07-30, 2021-07-30 signatures=0 Subject: Re: [dpdk-dev] [EXT] [PATCH 2/2] crypto/qat: fix asymmetric crypto pmd create on gen3 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > This patch disables asymmetric crypto pmd on gen3 devices. >=20 > Fixes: 1f5e4053f9b4 ("common/qat: support GEN3 devices") Cc: stable@dpdk.org >=20 > Signed-off-by: Arek Kusztal > --- > drivers/crypto/qat/qat_asym_pmd.c | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/drivers/crypto/qat/qat_asym_pmd.c > b/drivers/crypto/qat/qat_asym_pmd.c > index d4680c3847..4891766471 100644 > --- a/drivers/crypto/qat/qat_asym_pmd.c > +++ b/drivers/crypto/qat/qat_asym_pmd.c > @@ -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); > } > + if (qat_pci_dev->qat_dev_gen =3D=3D 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 Applied to dpdk-next-crypto