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 6E25142DD2; Wed, 5 Jul 2023 09:32:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ED633406BC; Wed, 5 Jul 2023 09:32:39 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 9382240150 for ; Wed, 5 Jul 2023 09:32:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688542358; x=1720078358; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=TrZQGgEMJcwyLmre1WTcSkt77BeanQb1livzBK8DH5w=; b=VQJxSuWSqf5qXTckzJ8F17Fq7E9++8x77ggH+qbTQKiNKzahoNFgb8I1 sxbN3q/qRCPwLnlKr3n2yCGyi/BFu8xFXWFn1NxH4J0VecOG8KDcaJkua sNK8je7hIPvLdWHQyaMAaL3qHLXbnCAg61/MVWgo7AHCQ3IwMSBliqipa mimNSz8W2pQULqzWUKMmwJstnBJz+H3ZZUGh6WHQwKDUEnKWQbBK48UOf 1SZpdqCDT1CQQA6pOumhwt5E/K/VhbrkYx7BUKDvVsJydDOOIMMlWefM5 foboUZyhF5Kx7bLHpAJrmUJQIj1pQWp39vgG2jeB35va/XVm5LiVK2sIU g==; X-IronPort-AV: E=McAfee;i="6600,9927,10761"; a="365840328" X-IronPort-AV: E=Sophos;i="6.01,182,1684825200"; d="scan'208";a="365840328" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2023 00:32:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10761"; a="789064788" X-IronPort-AV: E=Sophos;i="6.01,182,1684825200"; d="scan'208";a="789064788" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga004.fm.intel.com with ESMTP; 05 Jul 2023 00:32:36 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.2507.27; Wed, 5 Jul 2023 00:32:36 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Wed, 5 Jul 2023 00:32:36 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Wed, 5 Jul 2023 00:32:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KWph3v+64unS6h2VjgWKQdG+aOR1zuGIeJz35FkSk+mvdgNBnQ14kq9LRwkZhJJIYkHaPwLDWVJkZHOFPuus97f5dqWLDjYDbBoePAw8xFqeEVfliPcBXW0iRrLzzYKJzAfrxPVB+tXuF0ZxpMcVB1uyXy8BezQkEGuDcI1HbpDNHUL+LiouSBD8cTsFTJB+SJk6S7jPcAGyF2D5iqyXzIPfoNzmOzW5EE4jp4QzSi+iO3H3/rcNXDRWABHlkWgxV9sGKOFtimgQEkG16lI7JQl5o88vhKvzOBjkuw2A8oOQs4qsFzgjAMhb5oVmW6uPWLF59k1kQYBcVtIQH4Cqxw== 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=TrZQGgEMJcwyLmre1WTcSkt77BeanQb1livzBK8DH5w=; b=B7Bx2sgXEVviFixOcWGZpcjjyMG/aQef8xOFDz7ZSMKxAL6fCB5d2vXRQNq9vbf2p45XNlYaiX3DRGNKGlEg5kNq4wy2sjYnikewf/au4WIbRlSqgiHlOa3/8vlfFWyI2FTVn1EOhDW+OmukJ5IdTufpRLnTd+XpWCsGEjiW9B24CES3ElL+nKPEMPKkA9iVuV3wTfF2JXlEhf7XWdlV+1Efak1W2zPrctpUf6A79R0bjNcEy+GAstWGj/TNJhO3iY7uDN5OdqW3YDvS1fJ+tOSRujQ1crYq0sYZYFTnD+Np+gnA7wuAocoKPN2dDzY9ou3t+MaxXiLVoeSWoec/mg== 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 DM8PR11MB5591.namprd11.prod.outlook.com (2603:10b6:8:38::23) by DM6PR11MB4609.namprd11.prod.outlook.com (2603:10b6:5:28f::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.17; Wed, 5 Jul 2023 07:32:34 +0000 Received: from DM8PR11MB5591.namprd11.prod.outlook.com ([fe80::9bfe:f2ec:37ee:f29b]) by DM8PR11MB5591.namprd11.prod.outlook.com ([fe80::9bfe:f2ec:37ee:f29b%7]) with mapi id 15.20.6565.016; Wed, 5 Jul 2023 07:32:34 +0000 From: "De Lara Guarch, Pablo" To: "Power, Ciara" , "dev@dpdk.org" CC: "Ji, Kai" Subject: RE: [PATCH] drivers/ipsec_mb: fix aesni_mb set session ID Thread-Topic: [PATCH] drivers/ipsec_mb: fix aesni_mb set session ID Thread-Index: AQHZqy2+uRqiVdH5a0ylHqNvyp1Gda+qzzGw Date: Wed, 5 Jul 2023 07:32:34 +0000 Message-ID: References: <20230630083441.429989-1-ciara.power@intel.com> In-Reply-To: <20230630083441.429989-1-ciara.power@intel.com> Accept-Language: en-US, en-IE, en-GB 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: DM8PR11MB5591:EE_|DM6PR11MB4609:EE_ x-ms-office365-filtering-correlation-id: dbd4df38-dfee-433d-5620-08db7d29ffe2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JWwsAXY+bRrkZKQr1NP5WUWyAVR6Rw6SS1NDjvy0q+GN+72W74R1gf81aAcMW3n22ErO8gy70DqgY9eM1wWZ/exCr6o1/J3cukZk64v7PDTp1G1BSeVZuZ5qRksDmDjy7P2vNR6f110KvwpXeVT1FfK6B1Y4312z4TUVqxhr6onrrTIKdj+lKKgJpgRl1445NVJBJkomHb+OOmLqxp+i0hQM2WMBECiudl5Dv28JdWAXPKmCXvFXi7JaOp5fERdINGfoHsjCiKEzfoiwU0xljn17VaeGZDZPF6ls+LCyxEmPnH2eoiqLq9D3eQQq5opa1hGO6su6I0/HtmydosBVmfDBaUYCI7IGehhy3BVJMuDgzx5YmyPfu6R+xX1ZmKkpMzy0b+Q5RNrQ8hIVI7Ps5Jq5Eg/GTOtW/fCnobTqVNC+L8vdRIYsIkbSs56TlxDmbwa9qTWOm0vpu0jjkK4C2bpXszFuR6YUv09QTxaT2ivZNW/POiv3WVpfWhJJTphhtj7SB6DXZ9pae8RkepNfjF/umwWRIvf5YbHy6zgwDjbnZxEiYC9JYUMRhgJpNeSx9TN9J/KdzCKZkYTaVdZH6TnpLwcCUyabv32P97Imo94yApNQeiySxMXxgF7rKkjr x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR11MB5591.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(396003)(366004)(136003)(346002)(376002)(39860400002)(451199021)(4744005)(38070700005)(38100700002)(82960400001)(122000001)(186003)(53546011)(6506007)(83380400001)(55016003)(5660300002)(55236004)(26005)(41300700001)(33656002)(52536014)(8676002)(8936002)(7696005)(86362001)(2906002)(71200400001)(9686003)(66946007)(107886003)(76116006)(316002)(66476007)(4326008)(64756008)(66556008)(110136005)(66446008)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?cdSK+sCFVjhstF4USCoozfJHz2xl6Si0HatPA5YK8fWS3Nc0vcCAj3Vmyhe5?= =?us-ascii?Q?P+BJURYEoU7NYND1aL1iegHVZXdFy/NRDT1hYq957zrbNZStI+4a1T+BMI0X?= =?us-ascii?Q?CdF5DGvbRaSk00mOXq7T/e32tPHXvCf/WvOP0LmCHWnT2D7/8Zj6UNLsSN1w?= =?us-ascii?Q?QIzMzEz6gLwc9xAJESvSUFKfcFvyYh+TYoKZRH9O5MToIvQ5gx5HnaDM39zs?= =?us-ascii?Q?9XSwmhDItqhFIFYw+iZQy4m1vAbucxm0xYSW/VIUACDLlqlH9GIAr4ldvTvZ?= =?us-ascii?Q?iKdY+rkjGjPYqUFuX2ZSEDZQ/TZ8ME7jA0+SMWYxVoN2127X63m34D9JNSCy?= =?us-ascii?Q?nb4uyX7Xwluf061HviDYN8CS6yRvOmaOUfhRBzHp2JdCgMaIwHGaeKCObUX9?= =?us-ascii?Q?VafKCGgY64neI0z2BUnfjMnROyOcItqWIRQe7IBpKrpwPlIoxELkhDAyJWfI?= =?us-ascii?Q?6a2/GHFKGD7giVwTHeyEEjPdWkHl8QZO9itjdVRwbHe30K49sq094jSakO2H?= =?us-ascii?Q?xKfGWZkoey9vmCTKqEms26G7QsdkOz6tAAjxD4CWLLtyqdtC5ddsq6+7v5Te?= =?us-ascii?Q?ntr5zSacI0QyUaW705PC0iNb4wGZN18oU9rZrsWtDuXpaGNzvLsDTvmQGplL?= =?us-ascii?Q?0d8selPL0p+CfExj50Jo/rfwlbo4scX6ad7+0fOfLV/q/IJfZGx1M4gd4tOm?= =?us-ascii?Q?bkspQv57AyZqNxEevAy4oHrfeigLDA3jIWlnJ5SF9wRc2lSwu7+d6p3ARj7F?= =?us-ascii?Q?8rlJKsiv/29B9DxrRlRnSvmtN2A+bvaF99RdZ2En8HAV7XUODNvap3D+vDp0?= =?us-ascii?Q?xVKJwnXamiJWB0B7fifYVILvMTJ+ga6PJPfEu6GAZkH83cPOpITJst8qx0R0?= =?us-ascii?Q?ldE6Lg/xE8791iNRGo5VV7CjiF+lW1xA/pgXseX+7UC74szkViARQbUcfy2t?= =?us-ascii?Q?0Ru+X6dt9PH4IjuH0HFTJ0OFagoEavLVakbYMIzv9dCuKm3NJGLzX1avsFr5?= =?us-ascii?Q?/I9yVfMpgcUWQYXLT8i2MrBx1mrG5huCubuVhvzxL54HcNpVWdJ6as3QABD4?= =?us-ascii?Q?M9Qal2EPJPdr6/Z72JlHjt66DRjXeeRrkWS9+8xhEaL/0ns3f0ucpxIEUr3v?= =?us-ascii?Q?4ondkFtDsZHT4jtBMWOjn7eImY4NknQE8E1nCjUzTW5YR7H3zHeHxnWXb9WU?= =?us-ascii?Q?cgzro1Kse5VTB6imC738lR3JelNYFKogDT5glNjVm72LlloGUcbGIKs8g5h9?= =?us-ascii?Q?GFnAoXiRHcBrnKHD0yMtl0Hzwx6MxkufQDj6kkm/DpG21nGgBNKk/+8txUO2?= =?us-ascii?Q?um5+sAn3QW7I1qn3SNMHAWipm+obSjAbSx0AbM/tC7aH1MhFhovV1UoijfV/?= =?us-ascii?Q?iA3hoKUJD+o1nji+rpYPi4cNPatESjJwopbb1wEmOA0nz/rpe/z4UqQyjhCW?= =?us-ascii?Q?MJzbl925tHDN4cZErZxCW3HyDudpzrARnPW0Uv3IRPTEYnceP1zW6w6mWRbX?= =?us-ascii?Q?wSHurP/7rNva2P9lnvHOBSHG15JkVOYAttEErhhp35SiBJu1iDF9hqWz5cpU?= =?us-ascii?Q?95eoh5diLNY7gJWOTigzIhpFRtLMYIQMaQsge0X+0LwqvDVAa6ESS0oOTZz6?= =?us-ascii?Q?4w=3D=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: DM8PR11MB5591.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dbd4df38-dfee-433d-5620-08db7d29ffe2 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2023 07:32:34.2880 (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: jNdYI7bmRL+A7+sYzkQB9n0NXlHHLuzx1hCilNa/vSqdgMFczVuswGE/8AHMCjmUejScGlnEqMbpTUZr5PW+q2n/QikScSFeWy3lR2hNfe4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4609 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: Friday, June 30, 2023 9:35 AM > To: dev@dpdk.org > Cc: Ji, Kai ; Power, Ciara ; De = Lara > Guarch, Pablo > Subject: [PATCH] drivers/ipsec_mb: fix aesni_mb set session ID >=20 > In the case of multiprocess, when the same session is being used for both > primary and secondary processes, the session ID will be the same. > However the pointers are not available to the secondary process, so in th= is > case when the session was created by a different process ID, then copy th= e > template session to the job again. >=20 > Fixes: 0fb4834e00af ("crypto/ipsec_mb: set and use session ID") > Cc: pablo.de.lara.guarch@intel.com >=20 > Signed-off-by: Ciara Power Acked-by: Pablo de Lara