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 85F17A04BC; Thu, 8 Oct 2020 17:31:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4AC711C1C0; Thu, 8 Oct 2020 17:31:01 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 0CC371C1B8 for ; Thu, 8 Oct 2020 17:30:57 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E2D3F200BEA; Thu, 8 Oct 2020 17:30:55 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 3FE90200BDC; Thu, 8 Oct 2020 17:30:54 +0200 (CEST) Received: from lsv03196.swis.in-blr01.nxp.com (lsv03196.swis.in-blr01.nxp.com [92.120.146.192]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id DADFB40309; Thu, 8 Oct 2020 17:30:51 +0200 (CEST) From: rohit.raj@nxp.com To: Bruce Richardson Cc: dev@dpdk.org, Rohit Raj Date: Thu, 8 Oct 2020 21:00:46 +0530 Message-Id: <20201008153048.19369-4-rohit.raj@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201008153048.19369-1-rohit.raj@nxp.com> References: <20200826055233.26075-1-rohit.raj@nxp.com> <20201008153048.19369-1-rohit.raj@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH v4 4/5] eal/freebsd: 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" From: Rohit Raj Added support for rte_bus_close API on freebsd to reset the devices on the bus to default state. Signed-off-by: Rohit Raj --- lib/librte_eal/freebsd/eal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/freebsd/eal.c b/lib/librte_eal/freebsd/eal.c index ccea60afe..e78bde22e 100644 --- a/lib/librte_eal/freebsd/eal.c +++ b/lib/librte_eal/freebsd/eal.c @@ -962,6 +962,7 @@ rte_eal_cleanup(void) { struct internal_config *internal_conf = eal_get_internal_configuration(); + rte_bus_close(); rte_service_finalize(); rte_mp_channel_cleanup(); rte_trace_save(); -- 2.17.1