Re: [PATCH v5 1/2] eal: add API for bus close

2022-02-09 Thread Thomas Monjalon
09/02/2022 12:04, David Marchand: > On Mon, Jan 10, 2022 at 6:26 AM 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 > > seco

Re: [PATCH v5 1/2] eal: add API for bus close

2022-02-09 Thread David Marchand
On Mon, Jan 10, 2022 at 6:26 AM 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. After an application crash, how

Re: [EXT] Re: [PATCH v5 1/2] eal: add API for bus close

2022-01-31 Thread Thomas Monjalon
01/02/2022 06:40, Rohit Raj: > From: Thomas Monjalon > > 20/01/2022 15:51, Rohit Raj: > > > Hi Thomas, > > > > > > This "rte_bus_close" API is introduced to do the opposite of what > > "rte_bus_probe" does. Just like there are plug and unplug APIs for plugging > > and > > unplugging a single devi

RE: [EXT] Re: [PATCH v5 1/2] eal: add API for bus close

2022-01-31 Thread Rohit Raj
; Sachin Saxena > ; Hemant Agrawal ; > ferruh.yi...@intel.com; david.march...@redhat.com > Subject: Re: [EXT] Re: [PATCH v5 1/2] eal: add API for bus close > > Caution: EXT Email > > 20/01/2022 15:51, Rohit Raj: > > Hi Thomas, > > > > This "rte_bus_close&quo

Re: [EXT] Re: [PATCH v5 1/2] eal: add API for bus close

2022-01-20 Thread Thomas Monjalon
20/01/2022 15:51, Rohit Raj: > Hi Thomas, > > This "rte_bus_close" API is introduced to do the opposite of what > "rte_bus_probe" does. Just like there are plug and unplug APIs for plugging > and unplugging a single device. > > The API you mentioned, "rte_dev_remove" supports only rte_device.

RE: [EXT] Re: [PATCH v5 1/2] eal: add API for bus close

2022-01-20 Thread Rohit Raj
aj > Cc: Bruce Richardson ; Ray Kinsella > ; Dmitry Kozlyuk ; Narcisa Ana > Maria Vasile ; Dmitry Malloy > ; Pallavi Kadam ; > dev@dpdk.org; Nipun Gupta ; Sachin Saxena > ; Hemant Agrawal ; > ferruh.yi...@intel.com; david.march...@redhat.com > Subject: [EXT] Re: [PATCH v5 1/2]

Re: [PATCH v5 1/2] eal: add API for bus close

2022-01-19 Thread Thomas Monjalon
Hi, 10/01/2022 06:26, rohit@nxp.com: > 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 r