Yes, I have used the rte_eal_cleanup() function when application exits. And still it does not call the .remove function of rte_vdev_driver structure, used in PMD.
On Sun, Jun 21, 2020 at 11:11 PM Stephen Hemminger <step...@networkplumber.org> wrote: > > On Sun, 21 Jun 2020 18:17:09 +0500 > Muhammad Bilal <m.bi...@emumba.com> wrote: > > > While working on applications(l2fwd, testpmd) with PMD(memif, Tun|Tap > > and some other) I have noticed that the .probe function of > > rte_vdev_driver structure is called in rte_eal_init() and .remove > > function of rte_vdev_driver structure is NEVER called, even after > > exiting the application. > > > > My Question is How/When .remove function of rte_vdev_driver structure is > > called. > > > > Thanks, > > M. Bilal > > Does application call rte_eal_cleanup on exit?