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 56B12A0A0C; Tue, 29 Jun 2021 14:15:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 43280411C5; Tue, 29 Jun 2021 14:15:14 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 9B17440E01 for ; Tue, 29 Jun 2021 14:15:12 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10029"; a="208078687" X-IronPort-AV: E=Sophos;i="5.83,308,1616482800"; d="scan'208";a="208078687" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jun 2021 05:15:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,308,1616482800"; d="scan'208";a="557919268" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga004.jf.intel.com with ESMTP; 29 Jun 2021 05:15:11 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Tue, 29 Jun 2021 05:15:10 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Tue, 29 Jun 2021 05:15:10 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Tue, 29 Jun 2021 05:15:10 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.177) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Tue, 29 Jun 2021 05:15:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WqCsPOq0PYAWRU7gZR+HP2CdZh0uCO3wGT2ElevcC+KEwHF7+V/cwIBK3LErF8h3COwoO9agjzMvP1tjNxrnGjkR9a3JHYdY6pH57OPxmKkF34dyysTFyHmLVoMvALPUenQTbyAe3rc3mg6QswTCXinuMlXuNCcKmRXVzuZKNaFGGXutbpBVvs6xbqh8fcYF87STyVIdX8REixiRK6X8KDdKtESf2TsPoGTZN16biU63fa6KHueQybeOUDhYvHZabIOasGtPvSP3GC8S5Y6z+TXpfugfS1pdJI/LK5pGGfy3rb2Nh0t3t/fhPYs6QfevmACl9yw4KxiO1ug7D7xG4A== 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=tS5Ub4jxdI3OeLDnCigrAAS29g0QJJnXdO+/CY0XzBY=; b=XcitPgfRt1Lu2N4Em5+hiTQ7G4+WUg3I6+Z2JF1y7RTIcnzIRO8foir/hpTblrE2oufb0yJNVMOsHl5Vt9vdgx6TBDZzWyMAYX8X+wD5LY7AncImZ3GTa2E6ob7mnJQdAY3Um/FbjCXMKQPibVNwe3cZEWgjpxmO0McZcyoGuRhX5Wv91mYJMNbSEXb7H71FSpc49FQo22VVEhqmRmOAPjxfsvjdn6n7S1LIXE/tXrZ0f2bC1i+nhyPiM5A+wd6YGo40K8YwLf/KzEUQYTRcpKBBBECSSaYOHPbt0T5v24rT036rjiDRdefO8bek9xgoye1vVKxjLSLGrA/xtPfIDA== 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=tS5Ub4jxdI3OeLDnCigrAAS29g0QJJnXdO+/CY0XzBY=; b=r9pc24ftCpY5gAxHJ2HmP86+8lrrm3qjtWBXSraCNYk006PghQmFig605ek2HrIqahL+K+Xxr8k/AnVwwBBQveX1wcePji8t1+Sbp721HO8u49wV/X6qH7NOtJKsCCQfCUGlsEnwlj7hE/cPjTvGr2DvE4fmVqiBHZozEf340MI= Received: from BL0PR11MB3043.namprd11.prod.outlook.com (2603:10b6:208:33::19) by BL0PR11MB3186.namprd11.prod.outlook.com (2603:10b6:208:65::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.23; Tue, 29 Jun 2021 12:15:07 +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.4264.026; Tue, 29 Jun 2021 12:15:07 +0000 From: "Zhang, Roy Fan" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "gakhil@marvell.com" , "Trahe, Fiona" Thread-Topic: [PATCH v2 02/16] crypto/qat: add support for generation 4 devices Thread-Index: AQHXbDuEPGFVW5JevUG0Rwqq/uWcyKsq6C5g Date: Tue, 29 Jun 2021 12:15:07 +0000 Message-ID: References: <20210628163434.77741-1-arkadiuszx.kusztal@intel.com> <20210628163434.77741-3-arkadiuszx.kusztal@intel.com> In-Reply-To: <20210628163434.77741-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-originating-ip: [95.44.220.85] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a6d210d4-346d-4079-243c-08d93af788ef x-ms-traffictypediagnostic: BL0PR11MB3186: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:196; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XwGgCfwFtC0vQOaeJBophqKPyN4W7u1eQFQcvYS+Nj8gPGD7J3rtxoaGvB/BHJHALRxcjc5WFMoJKt+4yiy0eceY6lsEc2mNzLQsr/zpVSUK497fLXrpu3YDXmk75a+fBeAFDSecLRL3TW6/JjzjaCR4gptI4Kw9o4mYVtlc90tKmNDRMoqK7GIFtnExssLMHyY/BwwZC+x0Y95OE185KdtNTG/se/ciqoImbPijiMAFZlDZB0BRcaAJ8/DFb/Ac9eWsc6cEEwkqpjdBrvabLtQlN4VvcK4bAAgnQgQCQ6DixQAugsHqyc1H/ioAWqujYoCENemRy/dg74G1Qo9lLEuOflpKZryJc3xl4gozs3NO39dc5+aL+Q9y19ETItignFMYCqbF/fLVzFIgDJ/oKMmAd36xbH6Ad/XzsCAMNa4gBJpdf7RVzhtdZnzxO0t9isAz5UJr8vqmCsLfKBfvTHGLua3NlkiNWEqwX7FUBCQEpB+wjbNl5MkZUEvpFLkA66ekITwsWfJvV1gMJeRNKLy1TPNuvlCP/BlJzv35lGaBWjucyA4yEEXjY76vV9w6IhCMAVvcn7Ta6aoY+20cawX0gM504ROOF7baJ9iG/kykPrVbjtc8Mh+eryeJntuCB2SyQug50iXaM3Ts8aQocA== 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:(136003)(396003)(39860400002)(366004)(376002)(346002)(8676002)(8936002)(71200400001)(53546011)(122000001)(2906002)(110136005)(86362001)(9686003)(55016002)(38100700002)(6506007)(478600001)(66446008)(83380400001)(64756008)(52536014)(5660300002)(33656002)(316002)(7696005)(66476007)(66946007)(186003)(26005)(107886003)(54906003)(66556008)(4326008)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?rYla0NilBtcMeh4cI2e3DALXGsC2w/rwin0z4xuIl+OW54+sEVUrQ7T4?= =?Windows-1252?Q?gCYb7QY3OoKjqFIcX3D5WKiie8G++4tHLrhe/v2MTYJae1V2RTqpy/1f?= =?Windows-1252?Q?IwW4A++8JWbEikq4I4bKV/WjBRJAmePXy0q+VkNsa0b6NH20zPDLG39c?= =?Windows-1252?Q?eh6I6o9EB9F2j+KzosU5TjfW0tIK85oDx2qW9Llw7V60TU7wDCQlVZ0G?= =?Windows-1252?Q?ybYMrofd0ltX7R2SmVZd90O7WJzjt3SKqZjexujCzExA15CKUwyW/x5F?= =?Windows-1252?Q?kA0bkN7bS34Uw9m8w2Y3fsTOjw2zBKN0DlKzfL0gcmwkP+NttKCvleU0?= =?Windows-1252?Q?bHF67sNZAJPNYQExedTB1kTiIQupoX6zc9+5ekurxEyZa8N57qHXJrA8?= =?Windows-1252?Q?OiWiuZSXFxJi1pV8TpfkSUs0YepA+DuJZZ0Ukiwa969wbW883Dk88y4S?= =?Windows-1252?Q?uFP9LnrLEjkMUTmX6HHsUkMeco0is/NXYXkXVDlIdrVBCy0P7veBaYGS?= =?Windows-1252?Q?JqEUwouIg37O2Y9QgfdRVxdQKGVi9yVhojX8PN/vUdB7Nr+G/PTWeTeT?= =?Windows-1252?Q?r4PSlRd9vn9UZdToqy44g+xMyA2O/HozQQ3moLUEfVqgf+gnbxIop8vn?= =?Windows-1252?Q?Wg6Xed0r/4Er1CP/om29MAEHSKnhxYUOnxQm/vYLcZrXEfKwQBrLQrhJ?= =?Windows-1252?Q?yXHn8RWVOMFijd7NndmJQxLJi+Id3nJ3k8Zr7ZbeEAzcnwG9xXbiFJRt?= =?Windows-1252?Q?0z2G8PObQD9UHM3lgLrPj9Kn3uQRhRHX+QaGUmncDZkUa9EFlPrlVMsx?= =?Windows-1252?Q?X3SoWIVI77TJYAyjAoNVx8KCi5Mhj7VuktODjkOzK1jXiPSDFlBxerNc?= =?Windows-1252?Q?BjS9v4oJ6AU42nGIi6XtNwBCc7sS57v+3578+5oOH5kgHHncHabQFyTz?= =?Windows-1252?Q?T43TuplU5866SjTYKzCLes5rvLEpoaKaCzIt+RqbpVJnzJ3Ka8H59/QN?= =?Windows-1252?Q?2itihwA4Nh6oEhJ36LqyKjEJFMEKXSap9sldhi4ErVD2FFk5Y99JYVv6?= =?Windows-1252?Q?G8c4GHBfKACuE0fnTV39SqknctkJK6zaUtZmuT8ABAiQHqG3Leh0EkOU?= =?Windows-1252?Q?3a8MTb/54UzPj1InhXWc9jpeOig32HdwDF18Q44t6fiblS/MdPLH9+Yf?= =?Windows-1252?Q?7MOgkprsCTHXSdjz/WhmEskXiEtCPpfN1w0iQ5u8zhp4r09k2m3QaphT?= =?Windows-1252?Q?6aO66ld4ocwSd/etJXN1ZnCvDrL+IC6nUIotqIgFNm6FlrHTQf/XF0Ym?= =?Windows-1252?Q?6RF5ZDFJRQ/LoI0nrSAQ7D7+E5xad5seR+aQHIKyhRaX5O3OKQisp1qZ?= =?Windows-1252?Q?z0e80P+jhZoUKI7HOawoEjg3PWkGMcQ7j0A=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: a6d210d4-346d-4079-243c-08d93af788ef X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2021 12:15:07.7343 (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: oZ8whanIwEFlyMaZEqJOpa8WqUaJt+jOAN/HyJKwlZx568/8iNIP3DxW+F4upgbGmGZwX1W7tlCXOaW4x/5alQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3186 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 02/16] crypto/qat: add support for generation 4 devices 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: Monday, June 28, 2021 5:34 PM > To: dev@dpdk.org > Cc: gakhil@marvell.com; Trahe, Fiona ; Zhang, Roy > Fan ; Kusztal, ArkadiuszX > > Subject: [PATCH v2 02/16] crypto/qat: add support for generation 4 device= s >=20 > This commit adds support for fourth generation (GEN4) of > Intel QuickAssist (QAT) Technology devices. >=20 > Signed-off-by: Arek Kusztal > --- > doc/guides/cryptodevs/qat.rst | 10 +- > doc/guides/rel_notes/release_21_08.rst | 6 + > .../adf_transport_access_macros_gen4.h | 52 ++++ > .../adf_transport_access_macros_gen4vf.h | 48 ++++ > drivers/common/qat/qat_common.h | 3 +- > drivers/common/qat/qat_device.c | 22 ++ > drivers/common/qat/qat_device.h | 3 + > drivers/common/qat/qat_qp.c | 243 +++++++++++++----- > drivers/common/qat/qat_qp.h | 29 ++- > drivers/compress/qat/qat_comp_pmd.c | 7 +- > drivers/crypto/qat/qat_asym_pmd.c | 7 +- > drivers/crypto/qat/qat_sym_pmd.c | 33 ++- > drivers/crypto/qat/qat_sym_session.c | 1 + > 13 files changed, 386 insertions(+), 78 deletions(-) > create mode 100644 > drivers/common/qat/qat_adf/adf_transport_access_macros_gen4.h > create mode 100644 > drivers/common/qat/qat_adf/adf_transport_access_macros_gen4vf.h Acked-by: Fan Zhang