Re: [PATCH v1 0/7] support reinit flow

2023-08-14 Thread Sinan Kaya
On Mon, 2023-08-14 at 19:12 -0700, Stephen Hemminger wrote: > On Mon, 14 Aug 2023 21:38:19 -0400 > > ok...@kernel.org wrote: > > > > > From: Sinan Kaya > > We want to be able to call rte_eal_init() and rte_eal_cleanup() > > APIs back to back for maintanance reasons. > > > Why? > > This chan

Re: [PATCH v1 0/7] support reinit flow

2023-08-14 Thread Stephen Hemminger
On Mon, 14 Aug 2023 21:38:19 -0400 ok...@kernel.org wrote: > From: Sinan Kaya > > We want to be able to call rte_eal_init() and rte_eal_cleanup() > APIs back to back for maintanance reasons. Why? This change exposes lots of drivers, API's and other things to untested code paths. If you just wa

[PATCH v1 0/7] support reinit flow

2023-08-14 Thread okaya
From: Sinan Kaya We want to be able to call rte_eal_init() and rte_eal_cleanup() APIs back to back for maintanance reasons. Here is a summary of the code we have seen so far: 1. some code support getting called multiple times by keeping a static variable. 2. some code initializes once but never