Re: [dpdk-dev] When .remove function (of struct rte_vdev_driver) is called

2020-06-21 Thread Muhammad Bilal
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 wrote: > > On Sun, 21 Jun 2020 18:17:09 +0500 > Muhammad Bilal wrote: > > > While

Re: [dpdk-dev] When .remove function (of struct rte_vdev_driver) is called

2020-06-21 Thread Stephen Hemminger
On Sun, 21 Jun 2020 18:17:09 +0500 Muhammad Bilal 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

[dpdk-dev] When .remove function (of struct rte_vdev_driver) is called

2020-06-21 Thread Muhammad Bilal
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