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 CB1A1A0C40; Thu, 29 Jul 2021 10:57:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53B3E40687; Thu, 29 Jul 2021 10:57:57 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id AFDFF40041 for ; Thu, 29 Jul 2021 10:57:54 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10059"; a="209724020" X-IronPort-AV: E=Sophos;i="5.84,278,1620716400"; d="scan'208";a="209724020" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2021 01:57:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,278,1620716400"; d="scan'208";a="438163810" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga007.fm.intel.com with ESMTP; 29 Jul 2021 01:57:53 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Thu, 29 Jul 2021 01:57:53 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Thu, 29 Jul 2021 01:57:53 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.174) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Thu, 29 Jul 2021 01:57:53 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NHwL33+EPpsyhIbXEs5LUv/CJxEy+tm+c3uRte2z1Am7Od1TEfjw09FSw1OVmgAW8DceuTx2uqdUjj6GsWJzy16xkeUI9vek66pBUgiCIfYWt27DQbcG+507WjxrfXWU0t7GJxjU9A7nAZaOL/olRFDfb/RKKEiD9krHpU06qbGgSv2dUHRaxbie5EhLMhq2Nca1XdJvb4eC+YfffAOfAFojwjrDN3OUaavHXuXAPEoIu1url1nSGhLQhBgWehGTSJUw9v66FbqCAarHCurEV9bGoHe7RQFkSU4JzqkSVG5eYpB6MOYr2vkekKIyRuw9rXhS8MFTdplfAAJy0sIyVg== 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=mf1z761Nnk7a2NHIE+ZLiEhCBp1noDYptuQ/57y+qoU=; b=A5GZi/tHO/NY4o8/0rzihI+5xnoz1Y/iOd8NXF5DKRAF593Y7gO9xHU231fWB+zLt8sxPDj3zz9PpuXl6dG18l1hvJtAqzE5ExV7qA+sY4midY4+XGMQswtfF+Mwz2Vw4Rg7Z4ycjc2UJmEhv6s/VPa8Jeo+aGciZJwPnAzHGLvkoPv4qk9OMSjngPtQxVE0MUKbIdDP6NizeZX6dw+ZuxTXLqMTg821mO5G2qRbgqCQDCBcEviviAeGbRu0CQHZ8hs1lT3hsVdcPox/8WJ67W5BIR4z+o1k9IADi6lXki+xfAiTNeZtnw45/GyEU7pRijh3gQcd6goxGkJRx7LMAA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mf1z761Nnk7a2NHIE+ZLiEhCBp1noDYptuQ/57y+qoU=; b=S61YnNLvhB0D9NNJSSTjp+EAvRX+r0GbAcWEBzfxz9ZwXXFxrfiyQJH1GzLWp9BwHtocmYB9z/ob3/mXqfsaXCXKSTnVQMT7RtQdPt5wVUJUdvald7o+DR1vFZ3BRa/57BufvciXpkgZq9crCZIy+XkcAuZhFVnJVQg5ocEqOAU= Received: from BL0PR11MB3043.namprd11.prod.outlook.com (2603:10b6:208:33::19) by MN2PR11MB4317.namprd11.prod.outlook.com (2603:10b6:208:179::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.28; Thu, 29 Jul 2021 08:57:51 +0000 Received: from BL0PR11MB3043.namprd11.prod.outlook.com ([fe80::3048:2055:b488:129f]) by BL0PR11MB3043.namprd11.prod.outlook.com ([fe80::3048:2055:b488:129f%5]) with mapi id 15.20.4373.021; Thu, 29 Jul 2021 08:57:51 +0000 From: "Zhang, Roy Fan" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "gakhil@marvell.com" , "Trahe, Fiona" Thread-Topic: [PATCH 2/2] crypto/qat: fix asymmetric crypto pmd create on gen3 Thread-Index: AQHXg8w+tyY6XzBLTkuuVAIGFX9ugatZp+yw Date: Thu, 29 Jul 2021 08:57:51 +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: zh-Hans-HK, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.0.76 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9ad95be7-130f-4ee7-6a04-08d9526ef272 x-ms-traffictypediagnostic: MN2PR11MB4317: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:128; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wzDLp27cT6F1QWTN4UoZBwc0dwzB5V+X4NCzr1i3BZsN+FkwABFm6QNS1pFzSj/sXQgAujMtuNebGnP2prrMG/9ziAcloNddDgmWHcIu/loRFo2KjDnOPQ6H5ibjj8FYSp3crHToXyRqRF2zqMANSoxUM2LtI4npUwvBZjozXCychx0ZcKrOHq1xPpKFaLNM7Z/WUgJ0+2duIuZSV49xO4arfieb7yh6TooMKuxXCpC/fX7x4NVFZR78pC3eg9SBTWVBWnIR7zIYaM2312PmU5em7BZr9g7Z9SeHdV6kqAaq1qy+4i5ZcjScr2AWb6BKNcDEr3QtJAxwNZoEsUndS9lQcBXWaZ1/yugcVZBk/6bxMnwX2O1kaac2a4dnoUsNIz6c9jFosNxGOoOi+WzwuSK2nlSp9OVhK7/0pYBL+fWG7/9aUCr7A+LI27hhvpkcF/Mw8oE7XDsRVMlu/tJV3SrWKus28+aLSBWKJb8RQJ6lKIgd5FnD1/tNXHwk64idhpngQhQduCwb50ZkZczSpJ5X5QTAQtHuZ7GD7fHAvbdwaWg9I3yQurTCbZKU+fgi/DwNUqFkzRMRL2m2CcAy7pyJ5CbONBouvJgk6bZA0S+nT9UhLBFr4wHIoAEMuEWBWPcuZahz5wylxtHJswGWS08SrqvQ+FBJEVK4rsafdymUSm8Gdt9DBGR4WGLs3pbg+Htycf87GBl7Di/flI6RCQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR11MB3043.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(316002)(66476007)(66556008)(64756008)(66446008)(66946007)(76116006)(5660300002)(2906002)(83380400001)(52536014)(7696005)(71200400001)(186003)(55016002)(53546011)(6506007)(26005)(86362001)(38070700005)(508600001)(122000001)(38100700002)(8936002)(4326008)(9686003)(8676002)(107886003)(110136005)(54906003)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?xlc7IOlnftN1yyoSli48SX8anJFmDRs/d9TupuaIuHuCTTvtaArLaW5X?= =?Windows-1252?Q?nNkdt4Kvf9lroVYNUy5iYkPFTWf/Bs36I3uZ0kaqSlZ9mFufBmWLktBV?= =?Windows-1252?Q?xgBRzn8gio52WnvonLUIvembHVOdxnwpWzE35whmQeiGC8tQI9Ed8C8J?= =?Windows-1252?Q?w8x8bqOZbrMgtQcbMFR8cFEkq7Sv2cWJvYkGDYcAf1PdVBER5o5y1qRZ?= =?Windows-1252?Q?Q+GGBdyyGS6sYwKcm0XZb/9qgqdoJY8eIpFdCgz8koznnZDri8q7+l/C?= =?Windows-1252?Q?qlgaSNT/U16jX3QfzihVz5XR3Fsxp2zO1oEQMXGRHno6lzy8JtQnXi1x?= =?Windows-1252?Q?RuJ/ffc75bkK1v0lNu+Hc0KtpDYl4vHP1+ZAJg/gzBBAMEvApTqp8C1g?= =?Windows-1252?Q?6A5audVSdWlcF8b1ptSk2M0cKZhAeGJKao1P8e6F6Pn4C+f7YmbFWHHO?= =?Windows-1252?Q?1hhTRSg3brBUTqvq+luaAgM8Zkd8WVOMUv0bCEn76uUQ4c1uOg6gDVvo?= =?Windows-1252?Q?x/WNO8JNa1qqJMGL/JGCoQAobqmO/jisgGKQC0n6FEHTPFJfI3eZreYx?= =?Windows-1252?Q?2UWfaxNpdyu+JiRN3votugdAO9cHnpC48HGxfUrZwHct0F+mHGLcPUTK?= =?Windows-1252?Q?weMBRUDD+53ehEfyYdvi+hi3hPLwHZYq30ftSbCYEbqi2ytwNVdU1+j2?= =?Windows-1252?Q?+KXeef7uxsOTQQfKdgc8UbLKMx5qt8J6hWWyZzFjlIzaRMePCgoRIXUb?= =?Windows-1252?Q?Jawml27Mp3aH1Y0TPxG/dOsLrHMM47K9Ac/C5syG+6N6UkcbDggp9Or3?= =?Windows-1252?Q?MvUrpCJMcaipneFMlIYv6lD+yz5Ds9ETPECoquZNf7XS2vlgsoh3toe9?= =?Windows-1252?Q?8jnK/f+oe7Ja50AJr083sLpbbEZsCGfET0WEc3Z+60pArVsc6VaopNbA?= =?Windows-1252?Q?eMxPaLhA3yCHnSWvd6zdtDHkP28vQeBREtAGb9Srz08AMis6zbHsXPZs?= =?Windows-1252?Q?qZu3sJs9OitjhJ5+qidgH2rNWBcgCM2CYzq7F7TsoDihjLc9+D8voj6q?= =?Windows-1252?Q?pKcxT9P/16WkThHM4DnyZA22QYaE5Wgjx2hKmebr8PPuUePSL2Mntraz?= =?Windows-1252?Q?D89DiqttLiZueK+zO9wMbQFJaIkPwvkWlkCpvPK9Nuf+wNiUfBv1hpbK?= =?Windows-1252?Q?VpjU/1OTiNV1WA7/FpM+VdK/dBFmXt1Ugr0GwUHjefx+m95/8kySEjzC?= =?Windows-1252?Q?Fnr03tmQaPoS0wOfBl10aanmG7LZmpm/mRIoKp++dqbzKggy8jI7PCLg?= =?Windows-1252?Q?n7nJtsW6sfb5SY19oqWdq2GmFsxeNpqJc8+LdFfhqCW/4jGB898Oa+mX?= =?Windows-1252?Q?4uTzKa/cKUBDOEw7d9kvIdIuK1k/yfXYZG4=3D?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL0PR11MB3043.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9ad95be7-130f-4ee7-6a04-08d9526ef272 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2021 08:57:51.6111 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +S1cRHYOmT2LJY06VKtbNfKkuINWmIlPavNIhvkzFd3lwGZM1q0TKosJK80oSv0corIUMndE0gplbc9SvH9GVQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4317 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [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" > -----Original Message----- > From: Kusztal, ArkadiuszX > Sent: Wednesday, July 28, 2021 5:19 PM > To: dev@dpdk.org > Cc: gakhil@marvell.com; Trahe, Fiona ; Zhang, Roy > Fan ; Kusztal, ArkadiuszX > > Subject: [PATCH 2/2] crypto/qat: fix asymmetric crypto pmd create on gen3 >=20 > This patch disables asymmetric crypto pmd on gen3 devices. >=20 > Fixes: 1f5e4053f9b4 ("common/qat: support GEN3 devices") >=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 Acked-by: Fan Zhang