Re: [dpdk-dev] [PATCH v2 1/3] eal: add API for bus close

2023-07-05 Thread Stephen Hemminger
On Mon, 24 Aug 2020 13:54:12 +0530 rohit@nxp.com wrote: > From: Rohit Raj > > 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 cleaned while terminating the > secondary processes. > > This pat

Re: [dpdk-dev] [PATCH v2 1/3] eal: add API for bus close

2020-08-24 Thread Stephen Hemminger
On Mon, 24 Aug 2020 13:54:12 +0530 rohit@nxp.com wrote: > + if (vbus) { > + if (vbus->close) { Looks good, minor nit. This could be: if (vbus && vbus->close) {

[dpdk-dev] [PATCH v2 1/3] eal: add API for bus close

2020-08-24 Thread rohit . raj
From: Rohit Raj 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 cleaned while terminating the secondary processes. This patch adds a new API rte_bus_close() for cleanup of bus objects which were acqui