Re: [PATCH v4] eal: add bus cleanup to eal cleanup

2022-05-24 Thread Kevin Laatz
On 24/05/2022 10:38, Bruce Richardson wrote: On Tue, May 24, 2022 at 10:25:01AM +0100, Kevin Laatz wrote: During EAL init, all buses are probed and the devices found are initialized. On eal_cleanup(), the inverse does not happen, meaning any allocated memory and other configuration will not be

Re: [PATCH v4] eal: add bus cleanup to eal cleanup

2022-05-24 Thread Kevin Laatz
On 24/05/2022 15:48, Stephen Hemminger wrote: On Tue, 24 May 2022 10:25:01 +0100 Kevin Laatz wrote: + + RTE_LOG(DEBUG, EAL, + "Clean up PCI driver: %s (%x:%x) device: "PCI_PRI_FMT" (socket %i)\n", + drv->driver.name, de

Re: [PATCH v4] eal: add bus cleanup to eal cleanup

2022-05-24 Thread Stephen Hemminger
On Tue, 24 May 2022 10:25:01 +0100 Kevin Laatz wrote: > + > + RTE_LOG(DEBUG, EAL, > + "Clean up PCI driver: %s (%x:%x) device: > "PCI_PRI_FMT" (socket %i)\n", > + drv->driver.name, dev->id.vendor_id, > dev->id.device_id, > +

Re: [PATCH v4] eal: add bus cleanup to eal cleanup

2022-05-24 Thread Bruce Richardson
On Tue, May 24, 2022 at 10:25:01AM +0100, Kevin Laatz wrote: > During EAL init, all buses are probed and the devices found are > initialized. On eal_cleanup(), the inverse does not happen, meaning any > allocated memory and other configuration will not be cleaned up > appropriately on exit. > > Cu

[PATCH v4] eal: add bus cleanup to eal cleanup

2022-05-24 Thread Kevin Laatz
During EAL init, all buses are probed and the devices found are initialized. On eal_cleanup(), the inverse does not happen, meaning any allocated memory and other configuration will not be cleaned up appropriately on exit. Currently, in order for device cleanup to take place, applications must cal