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 B41D3A0542; Wed, 26 Oct 2022 13:08:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A74FA4281C; Wed, 26 Oct 2022 13:08:02 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 2AB9740041 for ; Wed, 26 Oct 2022 13:08:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666782480; x=1698318480; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=3NlG/eqWq+UsCjR9P85uK8pzsinGg4upYQP0dlpIvCY=; b=hUsRvOIKM4GWN9/t2u6i8dZcLBFh+Tzcc1xMAqHkH0Y4gkJhQFYJBsi1 h6xRtKwx2vTVusK3zo9jacq6ul5kLrgMIB/c2KOb4a6GMVM93JEz+/qcP 0arkkbc4QIYAlObMsi9zBJX1W2cCKbdoEu3OF6Aa83XshG9jNSEkLY9lW AGWZpU1fZ0/k4W7bakoi2FwDJNpPFzEB4mbeIr+0Mecdy6FXT9yiB24xI EgvuSwCj5VRjjARUqJp1WZM/QPVu9P/b+/JgCpdNpq5pyew/S9PY0kk4r zWqQSp9JtU9VmkanXdSRCkOC4nKcObGHhUvRJZKkiS4EuLOPPvqXKhZKS A==; X-IronPort-AV: E=McAfee;i="6500,9779,10511"; a="288313805" X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="288313805" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2022 04:07:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10511"; a="665249261" X-IronPort-AV: E=Sophos;i="5.95,214,1661842800"; d="scan'208";a="665249261" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga001.jf.intel.com with ESMTP; 26 Oct 2022 04:07:59 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 26 Oct 2022 04:07:58 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) 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.2375.31; Wed, 26 Oct 2022 04:07:58 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) 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, 26 Oct 2022 04:07:58 -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, 26 Oct 2022 04:07:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PQ6oVlpTBF8i8gjhuLHVC6DHKdg5DokrXUt4QbjXhtGcNHJiil5uj4BtqiCCkISCSzXr9ZoAD/y+llwbUUTl/7lomWRIpFoaQSiUYvUbTuleSiP9wBi3fsOoA26GZuwrJpIXiwgxbur3aAQCKJvMjGuxkf86O57GO8daLF/8zQo2IkGk+tj9KLDySg6RxJZ+tXHDrLJEPTSyjPYFVVgt/jWNsBD717ypmzf2hdqDgbLlywazlQTojIRzVhGkYySKRb/kT24SLVpso59gvCZbVdvjlMvKEod/t2+gSWDbuA3gU/vTEZwn3JAzQY7DonadpIJ9q7IsiOBZo/prMrNb0A== 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=3NlG/eqWq+UsCjR9P85uK8pzsinGg4upYQP0dlpIvCY=; b=b5HCdAS8o6QmI3HCo5bM4+mUvsb40ukUjjdS6IMwegozVzLbsgsTD1YHlMuz6174AEK9UraGN0HnuEHIUo5Vk1PWwffJoSFsNpuMBAHWS15pHbrRrH5qfAcXcVXBUxHcFhJiDaaT9j/71k5u3VWsaCylqDecD4EXUcW8nRoC6Pxr3LVLJa9gfVtx+7T6kus/XvLOWvmJKeLRAnpaA/JpjxH6edJ797wtcrbYAIotXaDBQjiwS8A/bT5SDCNhcSR1nPJ6r7gRTp0EOUmOklNAaMpONuf82++Ba+0shPlFtd9EhVMHVWM1+WVuxRhtk+xW3vtTe9j2J3aymf3cNZN5Og== 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 PH0PR11MB5013.namprd11.prod.outlook.com (2603:10b6:510:30::21) by DS0PR11MB7405.namprd11.prod.outlook.com (2603:10b6:8:134::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Wed, 26 Oct 2022 11:07:55 +0000 Received: from PH0PR11MB5013.namprd11.prod.outlook.com ([fe80::47f3:df04:e365:25f5]) by PH0PR11MB5013.namprd11.prod.outlook.com ([fe80::47f3:df04:e365:25f5%7]) with mapi id 15.20.5746.028; Wed, 26 Oct 2022 11:07:54 +0000 From: "Kusztal, ArkadiuszX" To: "Ji, Kai" , "dev@dpdk.org" CC: "gakhil@marvell.com" , "Ji, Kai" , "De Lara Guarch, Pablo" , "Burakov, Anatoly" Subject: RE: [dpdk-dev v4] crypto/ipsec_mb: multi-process IPC request handler Thread-Topic: [dpdk-dev v4] crypto/ipsec_mb: multi-process IPC request handler Thread-Index: AQHY6SIHDKgmrurjIUiNpW2LHXtKPq4gd1YAgAABgYCAAAsZcA== Date: Wed, 26 Oct 2022 11:07:54 +0000 Message-ID: References: <20221026102208.15799-1-kai.ji@intel.com> <20221026102731.16683-1-kai.ji@intel.com> In-Reply-To: <20221026102731.16683-1-kai.ji@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.500.17 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: PH0PR11MB5013:EE_|DS0PR11MB7405:EE_ x-ms-office365-filtering-correlation-id: 47b9226f-c3d7-4e2b-dca0-08dab74254d8 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2x97P6yCubsPDsGN43NmTLqDWyozD9tvFsGrGr8LpcGfY7148k+LIVWtRS85JLrm94I8/RMb8/PnJjG0HSJ1tmw4YYXX0cFjFJh6tmfFoDQ6XFlVI3aTOSN2FTC7lZa0edjt3c9SEVErLU6m99yVGRZCpCPxC2my7veeaZDR01EEC3dlbJsnz9vaypRbp6B2ABZupDzSEaJcxL/yNREAnoG4zDyvT7fztmbYvtofgxa6FwebhyeX1UI7nER7oZjbvMsyTP5s8ciXnGdY1pUnOPZgU/Ig9EMqeQ58QoopJyxGhJHt7W7wVQ8p/r3e3cJl87+rOxwS9vUjNIK2adoj5K3XhbHngk5rN0Uamfw4CY4t5wpalvSfLnSo7HRiuRQK1YtRTIWBST+ubjJFWF78In2PBzfQ5BhDimp7JQ/7RsHz4z4ge2ZhZbMdbbvWwhwiV2IWoXUE+yHqcUzRL2Rsx1/o26Y/qpwk0AbmUWFob5BHWmq2W78Z7uNzivqdC3oXQK9IIfFR1N49vlrqQCdzvUEIAmTocKUE4UxHlxA96jjh3yNn8oqERWTwfVPQLesjtvZKk10pCxrF5M+jiNmIwmRvs81jMDi2+jZ49GOhHCg3YZOrpxOHmz6csN76W+JIZstCfJq3IS8NG5sAhyxbW84jmrjWPSlc6bVeh6rHYhgo/6ROUcbFB7jj4/Ys74twWD4J8qTYyBixYJly25tUZOdHZY36RenD4OAuiYduvk9Spb1PyhYKyZhRqM+irqsH x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5013.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(376002)(346002)(39860400002)(396003)(136003)(451199015)(8676002)(82960400001)(83380400001)(71200400001)(76116006)(4326008)(478600001)(33656002)(41300700001)(52536014)(107886003)(110136005)(38070700005)(9686003)(26005)(316002)(54906003)(86362001)(8936002)(122000001)(38100700002)(4744005)(2906002)(55016003)(186003)(7696005)(5660300002)(6506007)(53546011)(66946007)(66476007)(64756008)(66446008)(66556008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?WLoiHVDXV5PYAIso8P0Uw96pPMfU6CRH4/hHzgudS7+zhVkaJYHdgEN6I+1/?= =?us-ascii?Q?1e+yg4eP7Jomq6GkKBkolAC0nEyDEcMW/34O7db+Y9eE6QtgDQ6j7fxdVLaq?= =?us-ascii?Q?RuGhJUYmWtrpm4sDaengzzgL/5i/TGLpjX8zQrQvKadYWqMzzaIV7IdyMsZS?= =?us-ascii?Q?VnwHfBYOJGX8GdAzMjQRwkdHyUI8hKRTJ7Ph3kTZwbiJvEr3KcbTVVd7mWzk?= =?us-ascii?Q?sqka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+7M6xI7cvVsFwKLODN?= =?us-ascii?Q?3Zgg97+SVO96uCWsHghb1NatAOhQ5MguPUDVXQuxq+1uPN7+SwdfD4og1Ey0?= =?us-ascii?Q?5NTpE2lH4vHhqnvZfeH3jbioGLOpXYub0LpGXI3BwJ1Br+V+gPV0xSuhmobj?= =?us-ascii?Q?WFASZXgGS+ShsE5tdT13skiJsaxEgbTosZ3+QwDKpvJwwuXJjm3u4bYHZcxK?= =?us-ascii?Q?LTz99vsGpOE3nnIjZj3MlWXzMIpU9VhZuSad+jinO2X6aeQRzUbarvADFeNa?= =?us-ascii?Q?co/fLgS1CsMzsLLXtCPBVdMD0unlQyXW6N8vpwW49SBZsrCFIO5KTrPgcLUv?= =?us-ascii?Q?Zxf8nMW8Ria0WGASQ8lmeCXdncAxnOxuJfgDI9Co4DqQECKN5fRluNEe6KH9?= =?us-ascii?Q?IUf31zfqKBYaSBeCW59DnZnMTIiB51alDp6tGRTCS4+14LY/PrEVVIPtV0a2?= =?us-ascii?Q?k8U3fA5vByBqJQ5nNb1aNFAptb+gk8eDewYzi6RGw7wGHG4hbcXcyO2K4wb8?= =?us-ascii?Q?DQ=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: PH0PR11MB5013.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 47b9226f-c3d7-4e2b-dca0-08dab74254d8 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2022 11:07:54.4932 (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: gLCSKzey/AtmEjp/uTDylo1ZTN+qUQjSOrrB6JaE6Mr3jzYGfaj8aVMzjG7OfG672lWDnMdmmnWUYPcjBwLRh5W/QoSDcqnpO9bhV9HolxE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB7405 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: Kai Ji > Sent: Wednesday, October 26, 2022 12:28 PM > To: dev@dpdk.org > Cc: gakhil@marvell.com; Ji, Kai ; De Lara Guarch, Pablo > ; Burakov, Anatoly > > Subject: [dpdk-dev v4] crypto/ipsec_mb: multi-process IPC request handler >=20 > As the queue pair used in secondary process need to be setuped by the pri= mary > process, this patch add an IPC register function to help secondary proces= s to > send out queue-pair setup reguest to primary process via IPC messages. A = new > "qp_in_used_pid" param stores the PID to provide the ownership of the que= ue- > pair so that only the PID matched queue-pair can be free'd in the request= . >=20 > Signed-off-by: Kai Ji >=20 > -- > 2.17.1 Acked-by: Arek Kusztal