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 B18F9A00C5; Thu, 27 Oct 2022 11:54:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2BAF242B85; Thu, 27 Oct 2022 11:54:54 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id DEDA6427F6 for ; Thu, 27 Oct 2022 11:54:52 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29R88WFZ020078; Thu, 27 Oct 2022 02:54:52 -0700 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2103.outbound.protection.outlook.com [104.47.55.103]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3kfp7aga2b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Oct 2022 02:54:51 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QMkNqb9Z4StLv0SfA3LaFt7OYwHQqix2vZHbphv7p4edmfcKM78+w3a/PTOb1owW/MEtkJ8U9cfi4n6998RDre/UGEl+qSyKlb2yVkBvpYos0+7UINjAXzuDA0OXa5cpAxa59puOASUhLZBFBQ5CfNwC16aNV9XalztgXQWVguGAClamM7XbsKUQ75Z0ZBP2UotmImfjb+tMg+VacHjQvcfHhzzSMn1RH3s/kJ5jdNWfSSi+THWpIDepFcfU6XkTR3YNHwPisINO+yYtCvguUCg4IJw7i2dxFreo5B3RuuKVK+rhwKCJmquDFW6gvjYiSrNQ+GBV2earu3J9eWUXhQ== 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=RX5p8moC2qlDT/1mN29rrsCTtKZD8/teX2xlnN+78B4=; b=Tgr9lCJQ2G2MHy9V40Ampp3k3QmN08gFnxn0XsdHhOiahXAFyD81JovUx497uc6367Mf7syjMgasBohBtM7nWMuU9weMx24M4T2FfrJPye82n6cNtVkLSEz+z4vo4sx0QZu1RLJ23QrnF/IS2WRzFk+RQIZrG7SFl4T9JUZjWWzCOcf/3TtcQpKVFENXhzGe3jKjZOUAsl1n81dAT6iYala4xB5g5Y3Cvr+hsDmNmLRYJui0+qHgCO5ZU7vQK/tdhdPlQ2vs6hg3fj2NeDGkYAJG1KVovtVUiCFteNcY8DYn+ocdsylhl3GExWG3ZoZ9LBa7j15N+EtvN5dWplELDA== 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.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RX5p8moC2qlDT/1mN29rrsCTtKZD8/teX2xlnN+78B4=; b=HKhSk4rG6FVVds2BZsm8RVoAgm/lSLnSIg7p9/OCp9NJ7/mcrBgppsINB1uGXOrBMgllGDyv7hsF51P9eavhOtQ9Z3p/aBTPeq3EAE4TQs3wHXw+MFEFkY01WUuQPssBCu8ekrV1sAoqBJ6UT2enwb/IcFQhjAyyeC0U30egSmE= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by SA0PR18MB3630.namprd18.prod.outlook.com (2603:10b6:806:9c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Thu, 27 Oct 2022 09:54:49 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::8c4f:e24e:332d:dc6d]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::8c4f:e24e:332d:dc6d%3]) with mapi id 15.20.5746.021; Thu, 27 Oct 2022 09:54:49 +0000 From: Akhil Goyal To: Kai Ji , "dev@dpdk.org" CC: Pablo de Lara , Anatoly Burakov Subject: RE: [EXT] [dpdk-dev v5] crypto/ipsec_mb: multi-process IPC request handler Thread-Topic: [EXT] [dpdk-dev v5] crypto/ipsec_mb: multi-process IPC request handler Thread-Index: AQHY6T2H2xj0QuDLPkSEOuDzR8cSOa4iAa1g Date: Thu, 27 Oct 2022 09:54:48 +0000 Message-ID: References: <20221026124854.28791-1-kai.ji@intel.com> <20221026131902.31884-1-kai.ji@intel.com> In-Reply-To: <20221026131902.31884-1-kai.ji@intel.com> 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_|SA0PR18MB3630:EE_ x-ms-office365-filtering-correlation-id: 8bd41e44-7b12-4eef-f506-08dab801493f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Tqqw6BR2rUSfEPeolezw1mx++wpst4R1U2KbXjLvP07nbCK07TaBbzBTscC+vwhXqSOZQ9ZiGLOoC374c6IYy65rlTb8i+jQrGbfiFWhe4p9o80Q3YcGDbbq1LKFLogdwVqDrx6pcDqUUQfLuoY402PA9lilTDOILxeXCtfbe7T9d4ehwaYMG7GO0MchYnB8oW7lDN5Iscvusv6+Gi0gLeSAwhFUOU/HTJES9OTvLm+j76KiGPztDadSCgay1ib93U31Ry9ta5KaJdqV+P2S9lDExN1j6G1BzZTPDGChis8M/MEuso0k3Qou/aHebQpxJYgMy814vpQvQ+feE5Z2iJ07gKSpLgynR1tjFK/M+J40ln4EHXXb/KOZYmvrvvkn7GRQ9OrsNyCzUdCKHmNoGhieT8zEefLYjouLbSDi89qQ/cAUcLqzaRep5MC5f15BrA0N0FzGeUfeE2XaqNNjRmAUtuV2m3jJ6jOwEc1+mliTbAbq2Qw/nBBr+RTPgCnJ2kzf5mblSkZYKQ/0rQ92/03vKZLusI73HdRmuvledr8UwpCMmtE3lc/fAfki/7U/2L5rwLoOBtNv2gOFNQRS7D8zSFGgcWNxKhI4ofYGcMQnLmnkVmW/gPvh5aWra/YnbMib+uzxXPTrZP1223f7tX+m0C1LLHCke8SewDbJxuqq9bEpq15QIXZBcMJFxl685bmanR66lDTj8DSdS7DgALOCNIhK1Ozl6S/w7iCZ1smE8xDY7KZtbM68KddOYqEx5o0ijiU/LIpq4AnRr3nQgg== 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:(13230022)(4636009)(366004)(136003)(346002)(376002)(396003)(39860400002)(451199015)(33656002)(86362001)(38070700005)(122000001)(38100700002)(55236004)(83380400001)(4744005)(7696005)(55016003)(2906002)(186003)(9686003)(6506007)(26005)(66476007)(71200400001)(4326008)(316002)(52536014)(64756008)(76116006)(54906003)(478600001)(8676002)(66946007)(66446008)(110136005)(66556008)(41300700001)(5660300002)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?tiSwZpERGxJJLhCxlJeDTVlo3xLDRaPAvN7AWIn0Pzvauix4gyN6k7y9M2gq?= =?us-ascii?Q?csruumsbLnKT3PDBezCZ9CZ6RTN5QhTBb3ksql07RFcGWA3prIMPz1yb5KDY?= =?us-ascii?Q?xhx58wACV1I95mnGVuIqMGTw+nCXn4Ss+9Lv+nRKiqHPgzOdubUA9w5wqAN5?= =?us-asc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vxu25bE?= =?us-ascii?Q?plTN8IZmaLWIV7DC1NS7CIRcDr67H3yRDHsIxypREM478iEKCnXOwwKKJMRB?= =?us-ascii?Q?7YbNr3PqD33V5MFOZVfIFvU9zu2KUCDryea9tviwFtNpNtQYBEOHDTPQ+/RE?= =?us-ascii?Q?2gtEgjpIhYWMblF6cWz+eyGwV4XQUcLWaoAVDvYhCSOkWtXhi1Z+w9iixqOQ?= =?us-ascii?Q?bXFja27edAxlqx0tRTba/z2N9H/s78QxN77U/weTl/Att98/xcn0EYkYNORJ?= =?us-ascii?Q?FUl2w+F3WF7kATD9nfHbPpuK3SlYWLXe3kX1qmvPUkeM9PEjw2u9nt3RlntH?= =?us-ascii?Q?0J61/3850aLUfjUtHVnDS7cNs1cwg1nx+rrUVRdzwoo8TH20rmko+UbdBk0V?= =?us-ascii?Q?ihNjwAUQBJrFLyONcsGoAUF6TtHGwS8I1xWXOPr4fS0Xbm0AjIFujFo7Db2u?= =?us-ascii?Q?fGu1iNigyI/SGG1VHGQYSswfjR3uXqO2uPaIrtQtY9+3EQUBo1E+OY/DwCJV?= =?us-ascii?Q?Fh/xkprlvD7CkPDvE3rnn7BrK9eH69u0MufQ1O+2?= 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: 8bd41e44-7b12-4eef-f506-08dab801493f X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Oct 2022 09:54:48.9440 (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: iR6DJGMAVzJcZAIVvRcE1460kzGgdoh6991TRl68YieCJsbYhp+l0feBCNIqoTY8EmOMfs4EDhKtgkp4I4TVJA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR18MB3630 X-Proofpoint-ORIG-GUID: ahwBY3AXWuJR6-96gAYGNpqxp5T6qFaB X-Proofpoint-GUID: ahwBY3AXWuJR6-96gAYGNpqxp5T6qFaB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-27_04,2022-10-26_01,2022-06-22_01 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 > As the queue pair used in secondary process needs to be set up by > the primary process, this patch adds an IPC register function to help > secondary process to send out queue-pair setup request to primary > process via IPC request messages. A new "qp_in_used_pid" param stores > the PID to provide the ownership of the queue-pair so that only the PID > matched queue-pair can be free'd in the request. >=20 > Signed-off-by: Kai Ji > Acked-by: Arek Kusztal > Acked-by: Pablo de Lara > --- > v5: > - minor updates and typo fix Applied to dpdk-next-crypto Thanks.