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 08D9DA04B6; Sun, 11 Oct 2020 10:06:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0B8A71D420; Sun, 11 Oct 2020 10:06:26 +0200 (CEST) Received: from hqnvemgate24.nvidia.com (hqnvemgate24.nvidia.com [216.228.121.143]) by dpdk.org (Postfix) with ESMTP id A6A631C2E7 for ; Sun, 11 Oct 2020 10:06:23 +0200 (CEST) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Sun, 11 Oct 2020 01:04:28 -0700 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 11 Oct 2020 08:06:09 +0000 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.105) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 11 Oct 2020 08:06:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H8kqro5R484GosAi7kZzs2/PoTw0x0uVnhjQSAt/bvGog6gdncj1/CBnSVrfnDCPcaET3SLWYAxDdf88oQxlj6D9Ermc7gofIvGQswv3aCjDNNP3o+vcszGGeuCee1y3rsUirmjZDNpZQefmtLStXZ2fhRRz2/vWXEeyz73YfnPwm2Zym9FvhyJqupdURGLktVXHkzBxy8eI0OHqvtFur0Hz3JbihnjEeXEj34k/Ko3O8jkd7jWkyzJFDiJ+ZYHUXwIA69L8jebV1hcht9bQfYGWEjCMmezG2BhoIvy/SiFuy65SXSbaTILzOaFX4omOyJubjiHxfT0bkVvjsYHjHg== 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=uPO7JMDcGBYWxDbyhV3ETcHYup2182nT+B8jLV+LZro=; b=GMzDS+bh1nk660h2L7C9rxWlPLXe3wqXp8ljal3NEuwr1/7x98BGZk8XRe0pAJ8uCEpSFsg9UgWJNdtwZzqWzhhdnkl3RZJ/TdCRq57o4h9pteFWTPmCj50TfVzHgg7rg1EmNy0z4JaFqvPePF+YrVhbAkHfpgXwlbV1hVekx+E6Pbo6dhg5nHmT4uzTqut0LhZB5PlzEvsH98UIIWVYVV20pjSZtQrBxSPg1Dv5fOfJgfLgckn+7Bv7qk260f7pXnN3/XXWv1g02OSZBHn5Y6w2wgev3o42nsSLdWhnZViElbemkfCZYz/fn7uPIz54xQ21mZ//hwF1GC7nVaqW5g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from BYAPR12MB3285.namprd12.prod.outlook.com (2603:10b6:a03:134::14) by BYAPR12MB3510.namprd12.prod.outlook.com (2603:10b6:a03:13a::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.24; Sun, 11 Oct 2020 08:06:08 +0000 Received: from BYAPR12MB3285.namprd12.prod.outlook.com ([fe80::9577:cc9f:6780:4c6c]) by BYAPR12MB3285.namprd12.prod.outlook.com ([fe80::9577:cc9f:6780:4c6c%7]) with mapi id 15.20.3455.028; Sun, 11 Oct 2020 08:06:08 +0000 From: Tal Shnaiderman To: "rohit.raj@nxp.com" , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 5/5] eal/windows: added support for rte_bus_close API Thread-Index: AQHWnYiAfEXKrvGq0kqfKd6rAFJgAKmSDjvQ Date: Sun, 11 Oct 2020 08:06:08 +0000 Message-ID: References: <20200826055233.26075-1-rohit.raj@nxp.com> <20201008153048.19369-1-rohit.raj@nxp.com> <20201008153048.19369-5-rohit.raj@nxp.com> In-Reply-To: <20201008153048.19369-5-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=nvidia.com; x-originating-ip: [77.137.141.17] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f4c8dc82-0ce3-40de-df7a-08d86dbc8269 x-ms-traffictypediagnostic: BYAPR12MB3510: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HNMb2VaP1ihV+UVMXImFJljd7JXS2fvQx42ug58VaUjp3ZMZNdK86Qn58cGJqsVK/GyoV8pKDxdghapxqyUqVODt1kTfDPcGbzGE4dyUwzOMx53Kt2YFnPtrNJTLiJvwV2XkkYrEcxrbYwdcNKiJzdnYHNX/i6a+oYC/bc2WUg97nGABPJeXMrRvwuj/E0oJi1FmVrPYKrXPChY6+sQhIufhwJxfHfrP6lpOkJlNcqUQy/p3PfREBZXhcGUvErukawXl8AVmWtVaEzUkNyYz27oFMBG1QR6/gViFdTayJHEJ8OV2T5yLLrrZs8E/dQyo89vFzOOeHhpamy+dxieWig== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3285.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(39850400004)(136003)(396003)(366004)(86362001)(6506007)(83380400001)(33656002)(478600001)(2906002)(4744005)(4326008)(9686003)(8936002)(55016002)(316002)(26005)(186003)(64756008)(52536014)(76116006)(66946007)(71200400001)(66446008)(110136005)(7696005)(66476007)(5660300002)(66556008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: ed/whQH6EOEFr0W6HdrakWjjdJOBi8wMt+ye18jNnPjL86oE9dmzTv74fQSlmxrVseHcRP1JINcsZnFPc53p+oLkglf8HlkfeZOXH18uG7jSnzduzn1nRNWooo8uU1vL7KpWC4ODp4o1BW0+YOSxiQAmDLBEXuEI57eawHoFAGDu6ofONFolb3+bwUaI/pky+jxILa3rZxJmAgVd0NwE6lNfw2+iP3FuFpCN9fiCJrk0xoiejE6NBI0FkZzvUHcNIpgURMrgbcd97iGvcCQffuglWZtYTxgPQJvxQ+hKajdDOEZ2YTNyXV+a0hTI4Ul1yykih505mwnyGiIQa7ptA7gQilFoBdt6pmMentwkmsHjiwWj6zmLts4Y1xD1/WntKmLqhDSgPmoEvlAyPF+cd/H3169r7maVBlbOJT4ZUNIzSiaQM/PdKQq7Y+Y0nGfXNooMwdi/dPqtr2tD/hzjx9Ww3zlqy1NLag+VG/v5x0ZmQJHlC1Gf1Pl+1OQluVcG6QYHOHjKuEWLn9Ln5qIGbsUgkIg5vYANeiuqcja6Cny76D1+15KQHesRldBJuG01EBr8+/vfiiQBE8yXOv/aKfzP8S4tk/FBCxaaTTNYnpLA/yH/MZQVa5agXNCQ8xU0foMb1X8O4Ryi0d4PGbMoHg== x-ms-exchange-transport-forked: True 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: BYAPR12MB3285.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f4c8dc82-0ce3-40de-df7a-08d86dbc8269 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2020 08:06:08.0691 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: hh6eM/vPY1pbKdlIUECIShfiUItbFzHu32zWqYfGN/La77EGNLgvkxVv/O/NIaxxkrR+hclCm29BYKlKCpuNTQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB3510 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1602403469; bh=uPO7JMDcGBYWxDbyhV3ETcHYup2182nT+B8jLV+LZro=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-ms-exchange-senderadcheck: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report:x-ms-exchange-antispam-messagedata: x-ms-exchange-transport-forked:Content-Type: Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=sC3BDS3kos8TIEVqaxMFXiJ9PCCW0zLzN8YaYizpDTvlGCA19YAA58fvCvI/OaCkA Ycz79gt3kFjAMlh3kbkyU5VJgL0ZQ5qUtSLadpxqx6SmHKj38R0hNXFRMS5N2Q4AY4 3plOPv961tU+Y5n0VWyG7dzzemGrYJ8UklgjKXoRlA19ZByLZQt7KYSBqZMz2WLzLW bC59Rd9xQ1qbHwOymmiQog96l6PvJFX5QdsVWrmfZvhr7nbzCxUQ4ZHox3ckitmW29 cHODQRT0SheoRJkJ6Cj1w3BIjiIyrWkmroNRHlJTAPXOJgknWP7canmrXzR0rIwNLf iK0/EiyHZGAUQ== Subject: Re: [dpdk-dev] [PATCH v4 5/5] eal/windows: added support for rte_bus_close API 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" > Subject: [dpdk-dev] [PATCH v4 5/5] eal/windows: added support for > rte_bus_close API >=20 > External email: Use caution opening links or attachments >=20 >=20 > From: Rohit Raj >=20 > Added support for rte_bus_close API on windows to reset the devices on > the bus to default state. >=20 > Signed-off-by: Rohit Raj > --- > lib/librte_eal/windows/eal.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/lib/librte_eal/windows/eal.c b/lib/librte_eal/windows/eal.c = index > bc48f27ab..9eb32077b 100644 > --- a/lib/librte_eal/windows/eal.c > +++ b/lib/librte_eal/windows/eal.c > @@ -251,7 +251,7 @@ rte_eal_cleanup(void) { > struct internal_config *internal_conf =3D > eal_get_internal_configuration(); > - > + rte_bus_close(); > eal_cleanup_config(internal_conf); > return 0; > } > -- > 2.17.1 Hi Rohit, You need to add rte_bus_close to lib/librte_eal/rte_eal_exports.def as it i= s currently the way to export functions from eal in Windows clang build. Thanks, Tal.