From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C0C6CA04AA; Tue, 8 Sep 2020 06:46:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7CC042BAB; Tue, 8 Sep 2020 06:46:14 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30048.outbound.protection.outlook.com [40.107.3.48]) by dpdk.org (Postfix) with ESMTP id EFC8FA3 for ; Tue, 8 Sep 2020 06:46:13 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a6fQgh4eSEp1oQamMjCrt8Z0YK4sL49k6ix5mO0ihLuU89yhk1+oUjBSTPKdarI5pN8bYhoI2CEj4Aj75YyBQC7/rWkZvEem51I2zgD3ICVB2ouT0mxsG5+C98AQ31jHP0toxrKIkUmBKCFItupRF/7J/fhbhEgaj9f7LXr8PzteQ2BQsTfUXGi8sNTNgH3VJ5J0Ckgjpy4OIoGeN6WN3T7hxe7S7nyZQF596dLalfGrE3oMeAW0d9zXNmkFuIIdjqef1GfW5OvWHMCRY6vK6fbsYOwkQt77E5NmmrzV4LgUIx7i9t0rG8tXv4+ctLUCH26Xzg0dI5A5sk+Nn88NBA== 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-SenderADCheck; bh=WyIOW02xtg+zrUdzYktABe6IiHGR6NuqcTy98K+lJ6k=; b=JjmSslmRrmpeWlgwCYG6VZm42kb03GcvEOVIpoLTPIx8nBtQX9FZZ4PuHeTIJHzmZjeshfCfYxVNSLrQVCNfjOqvBdhno+TqAza9synkCHDci+ejuy8cTWrcPX6CygTmjPNDthSzwdGfXabcxJy57pAyZywwB6ZgTBvnFvfCkSilkaM2ccQxWfXErzPENosRteqy/7w7Hd0l1kD5J0NJtHI0Ii+R92lYz3I/IYBspEy8/w2PYkf0RFmKvAgbHSMLq+yoo2mNR4SkaZ/MMWl7PNH4cLoTH1UmaYssobrPkjI0FbSf/lDZdh/sfiYeHlEifkWPdsx9NaW1IinJqnEbPA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WyIOW02xtg+zrUdzYktABe6IiHGR6NuqcTy98K+lJ6k=; b=iIXhJGdkbzFQXjJSfYkLMmDSFb7NSoKin/lDmtRRo4eqarsC1oJN5nYvRMqS1w9NhrSUJQVzxr0I9cSaw1PrXjvfMVbOPx//BMBBHZLC4T505+NMArEfGcSdWtvoQYU5nfI+KXQsKnTEf59dTHcVo85Xet3nHOmryziLLgnsPAI= Received: from AM6PR04MB4456.eurprd04.prod.outlook.com (2603:10a6:20b:22::25) by AM6PR04MB3974.eurprd04.prod.outlook.com (2603:10a6:209:50::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.16; Tue, 8 Sep 2020 04:46:13 +0000 Received: from AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::e024:2be5:29c3:31b0]) by AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::e024:2be5:29c3:31b0%7]) with mapi id 15.20.3348.019; Tue, 8 Sep 2020 04:46:13 +0000 From: Hemant Agrawal To: Rohit Raj , Ray Kinsella , Neil Horman CC: "dev@dpdk.org" , Rohit Raj Thread-Topic: [dpdk-dev] [PATCH v3 1/3] eal: add API for bus close Thread-Index: AQHWe20kFquEgLw2b0W/qVdCCJPYTKlePvcw Date: Tue, 8 Sep 2020 04:46:12 +0000 Message-ID: References: <20200824082414.30535-1-rohit.raj@nxp.com> <20200826055233.26075-1-rohit.raj@nxp.com> In-Reply-To: <20200826055233.26075-1-rohit.raj@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [122.176.3.89] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 0edb02fd-9ff9-4a78-20c6-08d853b21d25 x-ms-traffictypediagnostic: AM6PR04MB3974: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2887; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: lNrAcHHgZhDuIICkVhpkJFZKG/JrkLz5JSIl0QVUlb5wFqLZ0nArxXykPBVM5hy0SmG+nwsYdiCYQM26+LPBYwIR0eLphenVmkOdX6Y6NghGCxeLd7eaQxUloQELJI0wT44SacW1snfo/ujpXZrBtHtpybm7OxxtP0LGs/rSpYjrY3qwFxpc7FT5XPca7YXYBL8ClS2FGHuXiMjLDjPc0Mh/5TkepOURvf6FRMpB+2gE8WUAGXfja4PjpCmMqq6E4MqLzkGwlPEj8Nec+RYJguQOJmcnzzCm7gIwQfEx6riUKRziLzt2bo31WK6ubKgAMrmmXIAsodzfDvOL3Kr2hQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4456.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(376002)(366004)(346002)(396003)(136003)(8936002)(76116006)(71200400001)(7696005)(186003)(66476007)(66446008)(64756008)(52536014)(66556008)(5660300002)(6506007)(9686003)(55236004)(316002)(8676002)(53546011)(66946007)(55016002)(86362001)(4744005)(478600001)(83380400001)(33656002)(26005)(2906002)(110136005)(44832011)(54906003)(4326008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: D37bbRmw6+wnWij/lvPVnfme9sFzOOT13+1+vMAhxYfOLV0fREE0SD1+JDRNVdv5pQoBukh3AsxLv6BcjEKF/KnnowMmFcUyWMIyGy1TmpD52Ua/ZkDTTy2EyHPxFCq7vk8VxY7Y4GXi19J6JCiRvhONXGuruRmzzWxNqp6mdnJzRPsFHae+RbsXbMmrZKOK2tvPiLdGAv59Fy9NsZff3Frx9ZPC3bMABTEKP/LauYXtRMiJHkL51GjW7EDWxJguJhCSGvf6k5MivQfAKo15JYZ7EQ7+DAqlP+uK0u7jXKpVJ0eFh0u51SUftuVfPHJKyuR5yeKkWwWKNvlDMv7E5cnzgT8HVUT2CDC20RAiJs4jUi5XDnwpsEXQS6JpJDl3DMyYzot6vF24LNWqIw+K5ZM5g9W7DlIeKcpwP0a5Vuu2kC+IGjeDg1pfMC8NTxXDpAnRsENR7tf0GfMUcJCrb90ynyv8HEKierDg+qFNHFseXWaMe6LWBzprGmE6BGeMIXV3dOxKxd0WviiMNVmkEJklW0z48FIyGTIFLZyecev2tFDvEC7Id5X8/ZqjsMKEFk9373N0Hd8hs/DccxKCy4lOTZqpcmg8se8q/WB5ecDq5uAhQYdBtdJAgwCZViBMs4qGfXBSeduUKIveTwdMZw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4456.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0edb02fd-9ff9-4a78-20c6-08d853b21d25 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Sep 2020 04:46:12.9782 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: iGK8g761JJ0n6ki5OClv2gpzDydmD+HnH8LbZ5aMpgiivbq/c8Q4ve53vgmsIKU/0MhMyqiVbhY+G9oKQeWTsg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB3974 Subject: Re: [dpdk-dev] [PATCH v3 1/3] eal: add API for bus close X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" -----Original Message----- > From: dev On Behalf Of rohit.raj@nxp.com > Sent: Wednesday, August 26, 2020 11:23 AM > To: Ray Kinsella ; Neil Horman > Cc: dev@dpdk.org; Rohit Raj > Subject: [dpdk-dev] [PATCH v3 1/3] eal: add API for bus close >=20 > From: Rohit Raj >=20 > As per the current code we have API for bus probe, but the bus close API = is > missing. This breaks the multi process scenarios as objects are not clean= ed > while terminating the secondary processes. >=20 > This patch adds a new API rte_bus_close() for cleanup of bus objects whic= h > were acquired during probe. >=20 > Signed-off-by: Rohit Raj Acked-by: Hemant Agrawal