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 C8EF241EB0; Thu, 16 Mar 2023 13:25:32 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B934040DF6; Thu, 16 Mar 2023 13:25:32 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 5298C40A89 for ; Thu, 16 Mar 2023 13:25:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678969531; x=1710505531; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=HWRUkgvzJyLsFovEpDOZGIdt6jJVejU+ZgVCRgI4M9g=; b=FGOXpuGpafaNii2VPAuetgsVW++941IFbExU/ATOSMk08JtdtUzfyyVf UrN3YMysW+7gJceuirUZHjzS7fR8qTzb/cx97fQ+cbZ70xl40VEDqB4QV 7Jl03fELe2mNwEC/75w6uNTu5kw7yUv8XHRjpV75Jt/XKvpXv/nORCL/j itIybAGGwEenwT9QWKQKvE3d85Ff2h3vEodDQ3QeKeWPZ/QeJMl5d33J2 o0PXc/MxaXoHfxyFgTeLI/YXNdVZrO0HXgcvyeD92VUGY84YhpeTyYRaM 5DQt4jaGoRS7QLfqP1c72ig2ZBm0Y8H4ECyBlyUCEus/EzL+XOIZnAsVR A==; X-IronPort-AV: E=McAfee;i="6600,9927,10650"; a="402837253" X-IronPort-AV: E=Sophos;i="5.98,265,1673942400"; d="scan'208";a="402837253" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2023 05:25:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10650"; a="748848269" X-IronPort-AV: E=Sophos;i="5.98,265,1673942400"; d="scan'208";a="748848269" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga004.fm.intel.com with ESMTP; 16 Mar 2023 05:25:30 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 16 Mar 2023 05:25:29 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 16 Mar 2023 05:25:29 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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.2507.21 via Frontend Transport; Thu, 16 Mar 2023 05:25:29 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.172) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Thu, 16 Mar 2023 05:25:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iLeyhoZ1E55xMwD9TO4sqfhM6Ur02SNG5bKtR80WTMI9UcMVLrZ9ChUkX3bmppN7FDGgxokWJYL+wBEe9v2WwpvLG3t6Ov1IxTY4I5Zi/2vvy3/5rbn6Y8+vsRHh67FBmBkD/HgYk4ZxvsFPokZwMzqghGTOoK1WIq2tmhMesqZzQ2oCYJkM9A2sAOd1KMZUO71HcJ5tWwBWyiUyxQZSFL9gFX0S1DYOIhe9hDV0L0ETBYLhSzRTqe+btwSoJkKWOuZRGPVdK6RVVko3IvGGXiz4C/oDZzritJ9q8VZznsYtpKKCtgMp8RDM2zpKu8TnefEYL9UDBE2N2Twgp7Cl9g== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HWRUkgvzJyLsFovEpDOZGIdt6jJVejU+ZgVCRgI4M9g=; b=fX9LCX7VMI3Orszu3eYZIBtssyRwApOsnh++4KH0a35qz9rM/dKYaIuXYoJjAaoySZ65Snk7Sb0SL4SjdbSLAYZFJzesyqKavYBoorWAmjda9u8aihSZKzVS1x9iNV8Yg06ipRv7NHpI1BsyENzQ9e3jGHwK4S/0d4vJQaQWJTMsnVMoKjedGWlq+kkKhFu8dRjQ1YUtifZVx4yZD15eIPLqNC5Dz4pMXmXoZx8q1f32DQsQayZyMIQleoKD4cIKe78bgEtD4CC96T5hE9DZdSLhqrYTG+3NreomZwtA8WSKQlUrzpve0SO2/6yJZZqUGYaU712mnuDsy9bePXy//g== 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 Received: from SN6PR11MB3408.namprd11.prod.outlook.com (2603:10b6:805:bc::22) by DM6PR11MB4740.namprd11.prod.outlook.com (2603:10b6:5:2ad::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.33; Thu, 16 Mar 2023 12:25:26 +0000 Received: from SN6PR11MB3408.namprd11.prod.outlook.com ([fe80::651a:1bea:27fd:f02d]) by SN6PR11MB3408.namprd11.prod.outlook.com ([fe80::651a:1bea:27fd:f02d%4]) with mapi id 15.20.6178.031; Thu, 16 Mar 2023 12:25:26 +0000 From: "Ji, Kai" To: "O'Sullivan, Kevin" , "dev@dpdk.org" CC: "Coyle, David" Subject: RE: [PATCH v3 2/2] crypto/qat: add cipher-crc offload support Thread-Topic: [PATCH v3 2/2] crypto/qat: add cipher-crc offload support Thread-Index: AQHZVbfJ0edPMJ3CXES7WwY46xl+mq79WTEQ Date: Thu, 16 Mar 2023 12:25:26 +0000 Message-ID: References: <20230309143359.67789-1-kevin.osullivan@intel.com> <20230313142603.234169-1-kevin.osullivan@intel.com> <20230313142603.234169-3-kevin.osullivan@intel.com> In-Reply-To: <20230313142603.234169-3-kevin.osullivan@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN6PR11MB3408:EE_|DM6PR11MB4740:EE_ x-ms-office365-filtering-correlation-id: 5bda0372-89d6-42c6-210d-08db261985fc x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nl1seFNU4x6NjoU37r1PuLTosKgcq83PHF3R4sy3fc6Sue8s9jg3pHK0saUwXB77ghbUiGLjvFvPSieg742Uv3CBAwQRB5w5QXTYH/xjfmeWabkxjdKy1FmaZu1aVgGwz7mQzz7eEsQi/8OBtjAsVMQqd4l/eTVf5mK8CNAVW4SuctcmKu3NEzTKMsFpUHQ/tVXFyr/yYJ7foxg/CMI0lngdcHv+zFlqp7l9nFvqEsjdlCJVk0wI/7PaBA9gqLpG4EeRwqjawKKG6Gn/5UO736ZuAfwMhGW8IuogWGX6fu7Aa1xys9EzTh4RVThiziwRTIKRwdSJa0dM2PR9QmVzQi6h4VOqkVsmk7TZZb4XkB9RpJXUBHCZmjHdCLi0pPllpteUEZYne3+YxDf05zLBVU/yHBJ+kSDtedKFDdzlstoo+GmffT52LljeAu2yBTmfzislsluIzZz9OqAgEn0qR+QDYDuqo4HSFQuOUbCQ1QJXGTL0WKZliMayO0wcRUdLRmChVZxg/2E7GB0N67XF0b4CEL15LtLs7fjoFHMn9UuyiZopPvSgtI/cX3/pxntPo/oF5q8QlYIpNcx7RywRgaxhPNnADcpra9mHO8MZH8cH089KQCmm/0g+HqHGOXO0G2fjNnX/EilQBDFO6xGrmw58M4j2pn2z3dwUTpeVTq6UCfhngeeyTr/Hf59FzP3T/ac6SOSUyLSU4OXg8Om4Sg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3408.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(136003)(376002)(366004)(396003)(39860400002)(346002)(451199018)(38070700005)(478600001)(5660300002)(86362001)(8676002)(66946007)(66556008)(64756008)(66476007)(8936002)(41300700001)(4326008)(66446008)(76116006)(33656002)(316002)(55016003)(110136005)(83380400001)(9686003)(71200400001)(186003)(53546011)(7696005)(38100700002)(26005)(107886003)(6506007)(122000001)(2906002)(52536014)(82960400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?N5RTZ5H3S4dVuoQwbNWGdotXlucF3gu5LHFDqjxWI4QCm+F6ucweJfQ4xxwV?= =?us-ascii?Q?hjkXQdSpkK8swrVecF64W03Hjvtsa8eINdVCkrcooDbs87AZHavTPr86VUZt?= =?us-ascii?Q?wfZc5Zls5Ghz+hl4ibXgHGwQBbfJjAFe0xwn/9YM5IFPFSTF/tth2u1vGrEm?= =?us-ascii?Q?5/MQ6SRkhJGhYOCHs8i4dJYFVcFHLg20VODb3b84qNc+bEY1Oeu2jpYA9c+L?= =?us-ascii?Q?2hPWKYjea7bJgmMW/aDY8w0A77aGBH6HKCOsLxC/mlIc/GDMB7G+OeXENO3T?= =?us-ascii?Q?hruTMcVrGljnvy09kNTU95ddUR8UegNGBE0UjPbrTwzflL7cEpDCzCG+1Ug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SJFVTof9d96/BrZzfWAh8JcdMeTJdk0?= =?us-ascii?Q?Rcb/S8FRApcQPUw7wp25eZ8cB8kOXAd2OvGh+FBwPhISBCzj5/g+A14sg3eA?= =?us-ascii?Q?s5T5CKXP/iE0lCXrhIbUKsrmCtPMcc0JHmmOLXuFvBj+C0Oixez7KKFhHdox?= =?us-ascii?Q?P7HIsa+XAu4PSFdZCubaYDMQiUhCRadIvcz3g6I/jbzoJ20WB+UUtgpD/Yc5?= =?us-ascii?Q?islvHexzNm9fKt/y8Hsf0gLAOSyYeRONOV9rT2L8mUscWLuA5No2xrZ0Fv16?= =?us-ascii?Q?ZhqQvLnSXzJ29gi5pRXAOPzri5p5iXEkTrPVakndQVj2KseT034xzLzVuHJa?= =?us-ascii?Q?OlMQXQojCuqdq7OqWRI=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3408.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5bda0372-89d6-42c6-210d-08db261985fc X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Mar 2023 12:25:26.6675 (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: +arHE2ENxCOQRr/lYY9C7Ejwjq7BSNECBtpfmawgAC0KmT5pf5YFKhx8DvfDyB400GLQbor0Bo4JxIWPA+GAjQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4740 X-OriginatorOrg: intel.com 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 Acked-by: Kai Ji > -----Original Message----- > From: O'Sullivan, Kevin > Sent: Monday, March 13, 2023 2:26 PM > To: dev@dpdk.org > Cc: Ji, Kai ; O'Sullivan, Kevin > ; Coyle, David > Subject: [PATCH v3 2/2] crypto/qat: add cipher-crc offload support >=20 > This patch adds support to the QAT symmetric crypto PMD for combined > cipher-crc offload feature, primarily for DOCSIS, on gen2/gen3/gen4 QAT > devices. >=20 > A new parameter called qat_sym_cipher_crc_enable has been added to the PM= D, > which can be set on process start as follows: >=20 > -a ,qat_sym_cipher_crc_enable=3D1 >=20 > When enabled, a capability check for the combined cipher-crc offload > feature is triggered to the QAT firmware during queue pair initialization= . > If supported by the firmware, any subsequent runtime DOCSIS cipher-crc > requests handled by the QAT PMD are offloaded to the QAT device by settin= g > up the content descriptor and request accordingly. >=20 > If the combined DOCSIS cipher-crc feature is not supported by the firmwar= e, > the CRC continues to be calculated within the PMD, with just the cipher > portion of the request being offloaded to the QAT device. >=20 > Signed-off-by: Kevin O'Sullivan > Signed-off-by: David Coyle > --- > 2.34.1