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 <ok...@kernel.org> > > 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 want to do a hard restart, maybe just reexecing the same > application would > > be better.
It is not always ideal to reinitialize a DPDK process. Memory needs to be reinitialized, hugetables need to warm up etc. Given the cost of change is not huge, I believe this will be important contribution for certain application types. Changeset is not doing anything different from what already exists.