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 8CF14A00C3; Wed, 21 Sep 2022 16:50:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D44C4067C; Wed, 21 Sep 2022 16:50:31 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 725E44014F for ; Wed, 21 Sep 2022 16:50:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663771830; x=1695307830; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=QdtmZAHmADX/iSPP61eROZwWjcVsPuqvJJwoc9fQxPA=; b=Qqi9O+sQq7gj5OHAReTAxF8llu0+SxgAEQh8oLd9uA1LnPRAvkavzX+9 RyJR5V73CSW6eIpxAGMcjnVrz5HKbDzxJK6izjrIE6kr4EVdQmHabLdY8 mfujynF2hybpj5H4YpVQGq+6SmWwTWnsO+cjrncMy1DdFKIV5RP3ErD6/ zUw1cg/2KyAIdojnkjpH1OUFow95H2kd827ncUPDEir7anHfpxgsdoM4o UARwqrRQroxnGTgLD8lEe9TJ3SAUOEZJ7xttlutTixAbSirSkuRpahUOm hNPZQU0utI6RI5vEUDLs0Y/zwWZTfAALK4V277Ciphd1Chjok374tJwLT w==; X-IronPort-AV: E=McAfee;i="6500,9779,10477"; a="301424015" X-IronPort-AV: E=Sophos;i="5.93,333,1654585200"; d="scan'208";a="301424015" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2022 07:50:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,333,1654585200"; d="scan'208";a="864454421" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga006.fm.intel.com with ESMTP; 21 Sep 2022 07:50:21 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 21 Sep 2022 07:50:21 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 21 Sep 2022 07:50:21 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) 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.2375.31; Wed, 21 Sep 2022 07:50:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GnYnVpzBRFxH7Doyz0Y80OwlnY9KwCmOFw5zPqx2l4bSok27wRc/YMHWOx3pi+2aNqkpW+wUW1Oqa1f9Fc3DBINayGlLiEoTIE52IP7+tHveFKoEeacYqfm0IYxl95TrbTlK+ngH02P/eraDqlrgMBORWKuQtw7ce9H3fK5oSxZvjTentgyRxC4lIg7/YVpCUyB98tBzKsYN97gOtbz3K0qrFrArKlupgIL5zJGCX2YjQ5AWMbYc6v+RvRSQEFQkmlde4V15CWim6rAe+QXbbk6fYAANr5ELYdl2a1uaYYZ2GxtPkOs7tOYzydPGXAFPDH9o/i7arTUyguTpI49d5Q== 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=QdtmZAHmADX/iSPP61eROZwWjcVsPuqvJJwoc9fQxPA=; b=Dg9qougx9wF1b3Kg4Tb+DWR2RloDfmv9HTpTBlbhFSWRPOhvLzMylcXGEmUOl3QNSf9xkn9nswoL+IVxSvq2BjtcEo2GLoHgHAzMOxjF/7J9/ofPBz4XLbxxIbQCprzS6WjWqGT7m3Z2aOS+QFmFNHyPNf0vdDZ+9jz95J0fbF5tmtJg1S4HoFxr70u2GiFqJKnWp76bW2U2LB3wTPB5oPbsGroWXvtjehJSD1LC5jbtOj9ZB+9azd+GMbYs168RKJRkYzrm8mo8ZNH9J6XW9dMnf3412v/+PUAZVWwPf46IFvm2nWRFLXnSsYMj8rPucoNY6eEj0xA4B/WWzXyK8Q== 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 MW5PR11MB5809.namprd11.prod.outlook.com (2603:10b6:303:197::6) by SJ0PR11MB5022.namprd11.prod.outlook.com (2603:10b6:a03:2d7::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.17; Wed, 21 Sep 2022 14:50:19 +0000 Received: from MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::6ec2:a685:e63d:ab75]) by MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::6ec2:a685:e63d:ab75%7]) with mapi id 15.20.5632.019; Wed, 21 Sep 2022 14:50:19 +0000 From: "Zhang, Roy Fan" To: "Power, Ciara" , "De Lara Guarch, Pablo" CC: "dev@dpdk.org" , "Ji, Kai" Subject: RE: [PATCH v3 3/5] crypto/ipsec_mb: add remaining SGL support Thread-Topic: [PATCH v3 3/5] crypto/ipsec_mb: add remaining SGL support Thread-Index: AQHYzbjOwshOEr/4w0KpqcVE1Ktryq3p4jQg Date: Wed, 21 Sep 2022 14:50:19 +0000 Message-ID: References: <20220812132334.75707-1-ciara.power@intel.com> <20220921125036.9104-1-ciara.power@intel.com> <20220921125036.9104-4-ciara.power@intel.com> In-Reply-To: <20220921125036.9104-4-ciara.power@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.500.17 dlp-reaction: no-action dlp-product: dlpe-windows 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: MW5PR11MB5809:EE_|SJ0PR11MB5022:EE_ x-ms-office365-filtering-correlation-id: 6210b214-956c-4943-184a-08da9be09a58 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1i65QTRwpcsSoVNL2LLWoSA4TGDQ6HV6UIBHvqLjTKCodsaBxPBSmqea+iOrBIZHFjqmU+e3N0LtxwyRR06e22yGkkZD4XeOhbCBnqgz8Vopujp4Mr0r/GL3EKf2IeavunFHmFN7EpQhuER7w+8nYOo40KbQjxvveYL476H9gcCmIh+pEtJ3XHDm0h2YlwbIbIyY0MpznVFrI/NVDw8dLccs7I3olawSDcfNctmQSycDCOFJ/tjycvqMWW5udJLjAt3Fbd34EuLDSQSWwkmK5mgnInMtdIMuX7FPmqBGJf4aSr6MQRmKn9GtM6jM47J5GqzjU1luuFFQRMTlQZn273pIcrfefXG4gwf12vT93IwzFiSQORegMAOJJDd8RbIii5b3rGfeW0W+9eF5P8UrQqWGMmiwwv7o35lpsbB0Yk+8T10CJ0fZaEVhE92mkbWi6KaKDUCpPFst6Z9q4IL98KRQew/dPSc2493sVOLaej415Mgf5fVxAwnHawz8wP8UZJXbzGn/Nmm8Sp1vlbofWJnS1CgXK9PdR+q7j9RJoXo+sd1SrIKKpZIUiK7WGnnjApM84swwHRXJm8My71CK/udWIY+ina09jtpcP7mpSniii8YeOpOSllvx3qv75YyGbIATieQTxMPzph3+5hpFKCyHvOfbFWqPiDTK/jXY5X+LUglEdF/yX6Qae7sZDYe8ctgpVLthSyNK+SOSmD0l+nslJS9wPmBnJgJ5DN65u5hu1ORoWbKTjnvTzf2TXK+qL4JBfCzhVepWL7kcfQ4How== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW5PR11MB5809.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(136003)(346002)(396003)(366004)(376002)(39860400002)(451199015)(86362001)(4744005)(2906002)(54906003)(316002)(110136005)(5660300002)(6636002)(26005)(9686003)(76116006)(53546011)(41300700001)(38070700005)(66946007)(64756008)(66446008)(66476007)(66556008)(55016003)(4326008)(33656002)(52536014)(82960400001)(8676002)(38100700002)(7696005)(8936002)(6506007)(122000001)(478600001)(186003)(71200400001)(83380400001)(107886003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?O/p53CpbJ/pvJjrI/lye+AKCd0UhRZsLygjDW5wrhw+/1a4bCN6G8gUG?= =?Windows-1252?Q?wqMPjpTXr0J0mZouyWBJxASvXe6QLSwr4QxrTmtaFpFcsWIWn84zx+RC?= =?Windows-1252?Q?LF/7+4awrw8R23nOhXHbI0oyT2mUxS1cbzmOZNG0CRNhy5B8xCJ/oi/q?= =?Windows-1252?Q?25alIpHwa6qL0J5mZYLTSN4gCjbmzjXG+Pp0OsVvbQ+yKfgdGCn+f2Qg?= =?Windows-1252?Q?3LZKfgH1XsdIqiDC9OJy62a4KF8HPFEAqNa2pidHxdx1NyZCXfS8BxFv?= =?Windows-1252?Q?tEOCTJhBv3cha+Fzo575ymr2DDQFsIViQfo5iBqTSvlDFLvXmqhSPyPJ?= =?Windows-1252?Q?J8JBIz3R3cwJK37fbwm+fRIe9vEqBwKH399nmfzqT3N7DTz6O/IN2kZ/?= =?Windows-1252?Q?7mJSOe0W5BLaiEU1MZ9FN+pQCso1uamG6vRhoPZ2wiqXwYEo+nRJ4tkf?= =?Windows-1252?Q?RsTf0/QKBfsyYA7Iqe2viD3bHn38w3KkwWyz+c4Qzo6t8+ALzy+O8/Eq?= =?Windows-1252?Q?/y6uCb03jrLj/oqpPKDK8uAANc1bxLFB68h5HsVmcnhBZezo7u4BWdMs?= =?Windows-1252?Q?XqqfhmukwGXPy4HNmt0LhMeKVWJKZULPYyCQv7bH7VXkLBwZr0f9uA7s?= =?Windows-1252?Q?Qelx9cVu3lh2gljjRK+pzNwVpbBx/xMHGiLATtF4TiU6M6OL3dqi1FTt?= =?Windows-1252?Q?K0Yyue2L53Z53iT7STQxCaN59wkWMWMhxZV/d7jrr0zmLlruTbgy3L+c?= =?Windows-1252?Q?0PEw0yOxgPlRzSzHkDk8SC8Ypu22YOddSOf+81feDWvmPo7VvzHOw4Ep?= =?Windows-1252?Q?sSsJdFYM7GSNXT+QoHBxBgIbjRTmv8FYs7rRb8lSmf0NQlmC5l9aYFb6?= =?Windows-1252?Q?mogv6+TXJhUp7GsSkqriDEzZxsUyPSdY/xugvJUf+F5OC9v1HH9mBja4?= =?Windows-1252?Q?lNeYg6HQ2iP2ERI9qP0rd5C3m+upBYe1WATA/UWQf52WHHepUR6v3Bsq?= =?Windows-1252?Q?iCyqCZADLwXnWAfY8g0wytP0kIGD2AHkpnPB4HTGnRsD8TiRBAgvo1kn?= =?Windows-1252?Q?sSuSByPvFoad9+nf3L68jm+DpPZ+oHt9Jrmhjh5mnYfQmBoGHHBaoypm?= =?Windows-1252?Q?JwfrMpRWA0eKr6h+bhyDzp9C69wK3IwHnWJi+4Wp/UScrzy/S97u2/4D?= =?Windows-1252?Q?2YBLq95bmxgvh7smeaY89jtRTC7zpwGR5/SHMOXOisFyAeCr859DOMCz?= =?Windows-1252?Q?LF+/G9jVhPXzGW5lL3QqnKaUhFN2l2sO+YBDxuDwTK/IGMsSTc5DZfSK?= =?Windows-1252?Q?J680S/WFdzLg651qqnCdqBtrBdf/GNX97A49bSTWYC9VuADIGNpkolVe?= =?Windows-1252?Q?8Tizm2zjTcIlTHf+peZ9q5y5JVzIQRNKyWhPqWsaNvzfphTQRihAGNUo?= =?Windows-1252?Q?Ak6IZ2wvaE9QI3QHG73phTPHrjKCVNrwPPPeOh4giANYMpfd4QtVGiYd?= =?Windows-1252?Q?OxVgk2qTrXjjnFcwxiFlOwCFLS/FEdPueR0mt6dsEiQAwDa4mVFuKzwT?= =?Windows-1252?Q?BrXqFXzNPMTqXwuOXnyMXSQnk+imiwtPwyGYE2AHdwxLwh1nedwe7ALe?= =?Windows-1252?Q?gsPTDXQMcQhC4d5xy85wFLnVNVDAxtFfOISrgE3hvRpr15ZqD2sc0CW9?= =?Windows-1252?Q?6IfbI7QBvjKT9LeIIZhGB8WJBCahbbew?= 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: MW5PR11MB5809.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6210b214-956c-4943-184a-08da9be09a58 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Sep 2022 14:50:19.0165 (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: 3BYq7nk4cVrM9qxwFeaQ21iBjIPQyZvVs9KZnFiydWLp3Dd1+pvZ4/uyaDh7Rc90TRUCkXhiBB+Ix1DphDjMEA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5022 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 > -----Original Message----- > From: Power, Ciara > Sent: Wednesday, September 21, 2022 1:51 PM > To: Zhang, Roy Fan ; De Lara Guarch, Pablo > > Cc: dev@dpdk.org; Ji, Kai ; Power, Ciara > > Subject: [PATCH v3 3/5] crypto/ipsec_mb: add remaining SGL support >=20 > The intel-ipsec-mb library supports SGL for GCM and ChaChaPoly > algorithms using the JOB API. > This support was added to AESNI_MB PMD previously, but the SGL feature > flags could not be added due to no SGL support for other algorithms. >=20 > This patch adds a workaround SGL approach for other algorithms > using the JOB API. The segmented input buffers are copied into a > linear buffer, which is passed as a single job to intel-ipsec-mb. > The job is processed, and on return, the linear buffer is split into the > original destination segments. >=20 > Existing AESNI_MB testcases are passing with these feature flags added. >=20 > Signed-off-by: Ciara Power >=20 > --- Acked-by: Fan Zhang