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

2022-10-05 Thread Thomas Monjalon
05/10/2022 13:03, Kevin Laatz: > Hi Thomas, All, > > On 05/10/2022 10:41, Thomas Monjalon wrote: > > 05/10/2022 09:45, David Marchand: > >> On Tue, Oct 4, 2022 at 6:47 PM Kevin Laatz wrote: > >>> This patch proposes adding bus cleanup to the eal_cleanup() to make EAL's > >>> init/exit more symmet

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

2022-10-05 Thread Kevin Laatz
Hi Thomas, All, On 05/10/2022 10:41, Thomas Monjalon wrote: 05/10/2022 09:45, David Marchand: On Tue, Oct 4, 2022 at 6:47 PM Kevin Laatz wrote: This patch proposes adding bus cleanup to the eal_cleanup() to make EAL's init/exit more symmetrical, ensuring all bus devices are cleaned up appropr

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

2022-10-05 Thread Thomas Monjalon
05/10/2022 09:45, David Marchand: > On Tue, Oct 4, 2022 at 6:47 PM Kevin Laatz wrote: > > This patch proposes adding bus cleanup to the eal_cleanup() to make EAL's > > init/exit more symmetrical, ensuring all bus devices are cleaned up > > appropriately without the application needing to be aware

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

2022-10-05 Thread David Marchand
On Tue, Oct 4, 2022 at 6:47 PM 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. > > Currently,

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

2022-10-04 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