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 1CEA643CA0; Wed, 13 Mar 2024 15:26:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 02C69406BC; Wed, 13 Mar 2024 15:26:48 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 45EE1402B8; Wed, 13 Mar 2024 15:26:46 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42D9Wifp022081; Wed, 13 Mar 2024 07:26:45 -0700 Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2168.outbound.protection.outlook.com [104.47.55.168]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3wu9kvry0x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Mar 2024 07:26:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LSwqimQxQbBW5LQk1ng/ZFewt+h2xQklNaduzS1vlFhVmu1pL2ICWwLW2vlX5WJpRdrpSKiDHJItnWWTxAB5M4GRXKSuy0THal+NuWJgvQHKeSo7d0Y6hwrbOrU8dbqotYI2ouOy1W8xHBlNbrO3PjzUmM5NSPX/pk8TYu27AL4ZY537v4eHBHdW2/KoIDVAcshyToTvNSj/FSOPt/VkWx/E1t0X+L6mi9ewu6+NK8UKPCALsdYlBuJlKVD/Vtu2vNy46jSZheCL6ovEA627yq5lTiZCfLEAlTehrSxJMoXiKnPn9EqJNX/cQz8hKRAdKydrskcyuDrMcPnBZUh7hQ== 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=rstEOWqqNsuBkQCtgJ98RknKyIXhhZJSbcq0n+10v7k=; b=IuC5dbd1R9tJEk0+v3WWCpDai8K9WaDnbx3jwDULK5GfG3GmAGOaJewS0+LluB7JxD+0WzaZ3xn/fmp6MVEjoQA4NOBQbZxotdnz5tdDH8LQ/idV7mHY1UU4eXvsSMe19kNVrYUBVTnbhbNpAQYbNATWEflOJoW/88zSN3XxB3Cucm+/UJ83tHhbzT8wnYhGyR0DWO0fROcF8jhBYjUrTX39y4l3A7hseSgvfRtps8QkFUMmsZI4zdJj7M7uFLOV897emTIe/aRVAOC8PtVzccHJapSuJ7D+dYl0e7//nQdQot59B9l602ZFjrX5M7WevwCkeCncFOVbK5Nqm9PVuA== 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.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rstEOWqqNsuBkQCtgJ98RknKyIXhhZJSbcq0n+10v7k=; b=DODaFSUj/RUs6peeEFiN/OacAUmm8M9fEH/tEZdrnkTD955/d2Jta9DwwLtS8RsFqtSl849OV5OFmZARXfiqQ47HRp6g8WEH6ldllPQ5OUXV3AxgDwGOkzTwU1W32VQUUmGEb6IvtKjNEozgBrQibdyCkb5r9V6qfENwo8Glm/Q= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO6PR18MB3892.namprd18.prod.outlook.com (2603:10b6:5:351::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35; Wed, 13 Mar 2024 14:26:42 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::4e74:4cf3:63b6:b149]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::4e74:4cf3:63b6:b149%4]) with mapi id 15.20.7386.017; Wed, 13 Mar 2024 14:26:42 +0000 From: Akhil Goyal To: Anoob Joseph , Radu Nicolau , "dev@dpdk.org" CC: "stable@dpdk.org" , Volodymyr Fialko , Ting-Kai Ku , Ciara Power , Kai Ji Subject: RE: [EXT] [PATCH v4] examples/ipsec-secgw: fix cryptodev to SA mapping Thread-Topic: [EXT] [PATCH v4] examples/ipsec-secgw: fix cryptodev to SA mapping Thread-Index: AQHaaYDqTk14Bud26E2vztmppVICDrEeNLsAgBedHVA= Date: Wed, 13 Mar 2024 14:26:42 +0000 Message-ID: References: <20231211095349.9895-1-radu.nicolau@intel.com> <20240227132846.415698-1-radu.nicolau@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|CO6PR18MB3892:EE_ x-ms-office365-filtering-correlation-id: c42f3dbb-8400-495a-26d7-08dc43699a8d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uSuedOHZgKxO4Lfds4ZLDhS+jLp/GVtqkhmTGQsDOY2sZ+AiIeIxGyKple4p8f+sDPuBwpYK4XbG6Jqfly57czNi3dIyicVNl4e9EvKPYG1wn2etw4XpzkK5YVxS24AY0DQ8ve634wlYWHjYFKArLeW8mutIJ9FlCs7VIvCJ+GsH7fLKLaxB0kv1XG42GpyzTzpvFvpYsz0Xjpfq3ByRm9I1vDp5iHo6JbMRkDGdhZiL2DQFTLq7KMiVbckRHyRckh8riVsL1hZlj+Q3vfEn/kZrbZANqWB5JUah3WoOHQ9Bn6qvhjOAlN3OFOP9nsdT1glsLHc/vmpsX/DLPQZY52zfF+i1Yhx6VP3M/sVUgUOmfMgr3Mtz/uGeBqlCTOWjsHgpytpdnSOPbjYnqPPwGXsGg3EDLyMKfU2VqzHOCIEaRWMuECUJQLjFPmiTRL8IyfHHDTlFRzxqmlH8xGWnHVxRymxq/ddJ3ImfcLdAZwinUAuVChDbNSI6sAron5nPgYH/h8pqd/feb7SWzTefkKuvqvM8Y22p2QdiTDYpfOOkLgetMK09E19gZ5ReplIC2pzyV2QFe1mZ5m0j3QKOkoU3AQRgGvq0r0ehPfI9k7C4jrBuEDq44FOEVKxYQPrCFfTBnpz10asBFL90gioSCVbHPJQBHL2WP6KXZFUayewKj5b5/ykPtL/QDeAiHGLyHN1eX7vLgONOELzphrXgYQ== 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:(13230031)(376005)(1800799015)(38070700009); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?9kfS68P7RRpFSx2TtHIZtBvKqTecCKurQrbIsd2MRuyGmBoL02Fb3fA/KzSh?= =?us-ascii?Q?tHZ5hS16qwsEWjYoDuAfPxLNKHdi1CwwqTplmEVQJkO+3nnji36FyJuvP0dj?= =?us-ascii?Q?S1FSQOA2S979SqI1myPMGyp6wfi6KGWR5thA3ByRLS6hF8YqRw/w8EyUoXil?= =?us-ascii?Q?vQQTiLPCf7mrDoPYg5rycOJfAoS1H2SkELQjYdoc38q4zqUOzJDmJpueuKz0?= =?us-ascii?Q?UqT2RfDaNCZVuX0gF6C/8hEcnXStQPpiYOfu5G+GI0+WtEbY4fTX+I0nEso+?= =?us-ascii?Q?3ybF7x+QYCe9CG/J3+8mvYnPYBnkW7FLZnnCbgNZm/LvtSwlR/HPkuUdJpY0?= =?us-ascii?Q?BJMti6sRRuevTJHniK2/RcMjYRURm1PIQwbSKOEXHYuMbcSfhvuqM0UDB+Ed?= =?us-ascii?Q?vKWgdewQBrXDLNDsgxZV3h8Wnp5sTanOvmb+EXLE+hglcfbL+sWzqo6gDgJp?= =?us-ascii?Q?7cJ6iya8wzsvm/KbOnzQ0/fFnmT+b/Byj1DToBVnv8XOQA8CIe4TcT+B218u?= =?us-ascii?Q?PXbqCq58C/FiFwyBVfW8RtZPlDL82SlvzmqCrABHpHFbiLrukPEHD/4zEdaf?= =?us-ascii?Q?8FEYfHvzgS/edjPMloj6v4jONPxeYHahmLOeh5UIplUar7UPl/H0qyNMz3DU?= =?us-ascii?Q?6nQ47/bMtPgch0GiWvRLCXTBe3aLuV2J3S+4k7aKzCITlPkFtlt30VWyzRYe?= =?us-ascii?Q?BUCBZzif0B7TlwYdGhr+XstQGNh3oVpDeRqF5vda/x9qrEv2h8FQT2pwHrTN?= =?us-ascii?Q?sUwFwDeWnlfN2L+XsnIcXsdAyZnf01cJzV8IDZh7EGezaTaiyki82mnMozE4?= =?us-ascii?Q?biKEEzar3xui9C4FShgOndLfAns71NofpGxTaHnG6wgtidHhbBbMYFdeUKlq?= =?us-ascii?Q?xzemtD/g+YkH3gsTKd61WTAUBU3Ak41ekyYI+rxKKO8WZGN101IRGRssWUrb?= =?us-ascii?Q?8j9cUC3TbQik6M0w/3o95wgKV0lC4/nYC1xdFFtieW2oOX48mSl4FKfR+p30?= =?us-ascii?Q?UHcILdZXiwJjsHfWJPx95SmgimpabFewWaihO8ytcVKIVGPyaTHwM3GNnLut?= =?us-ascii?Q?Nfm8PKUbKDsqGBO4t8VWrmMJQvee6pc0yuH1sg2dNId/1gGZthbYBZ5ULUpw?= =?us-ascii?Q?D2fCST6pgHntNSgurXpuZgQcSLwDudpjfhmcfWLxLSKmkXkEKE21u6PcaGC3?= =?us-ascii?Q?XMPNoBB6C0yzQ5kBb48KbtBqaV9f6PpAs3s8PRYaiIQJJep1cnR7n4uGkDk0?= =?us-ascii?Q?r1ehIQN4Jlh+XiFymKJ9YXy7wGBlkOSdjEmIAYeMRzrJ2DMRzxaqFEbWTBPS?= =?us-ascii?Q?q7mAPwojMVYnD9n213Sc1bRDr44VcoR0n4j4m/XUbH6eS10N6EdU2e32jlLR?= =?us-ascii?Q?wZ79t0hJHW3Drny24mklRxWZ7TXTcQ/kZXdkvuIqy6z09pZ5OnMXw2XDpXNH?= =?us-ascii?Q?+fMoUFaz1IW7rm/hG9ndyofw4lf9wnaEcwoRA9RhU1McdbT+L+Uk2bMF3FU0?= =?us-ascii?Q?Fbi0guT0Esb7+WXyOONYPOyH+e3uIoeHXB1RYl9XznZKjuHCSUByT7drmudV?= =?us-ascii?Q?hr5WHDB/qvuzZnEyTss=3D?= 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: c42f3dbb-8400-495a-26d7-08dc43699a8d X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2024 14:26:42.3239 (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: HCKHQh+0/3OURmlnpdn+Gy+6lIFzSR5qyZLCInOIkcguQW/1IV+nhrnyVyRwzrOO6L2VeYRK/43XdkIWnagIAA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB3892 X-Proofpoint-GUID: nAfxEdoeXCgdsxSOpMGHs0K7XXMbvnn3 X-Proofpoint-ORIG-GUID: nAfxEdoeXCgdsxSOpMGHs0K7XXMbvnn3 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-13_09,2024-03-12_01,2023-05-22_02 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 > > There are use cases where a SA should be able to use different cryptode= vs on > > different lcores, for example there can be cryptodevs with just 1 qp pe= r VF. > > For this purpose this patch relaxes the check in create lookaside sessi= on > > function. > > Also add a check to verify that a CQP is available for the current lcor= e. > > > > Fixes: a8ade12123c3 ("examples/ipsec-secgw: create lookaside sessions a= t > > init") > > Cc: stable@dpdk.org > > Cc: vfialko@marvell.com > > > > Signed-off-by: Radu Nicolau > > Tested-by: Ting-Kai Ku > > Acked-by: Ciara Power > > Acked-by: Kai Ji >=20 > Acked-by: Anoob Joseph >=20 Applied to dpdk-next-crypto Thanks.