Re: [dpdk-dev] [PATCH] app/testpmd: add to call detach for vdev when quitting

2018-05-17 Thread Yang, Zhiyong
To: dev@dpdk.org > > Cc: maxime.coque...@redhat.com; Yigit, Ferruh > > ; Bie, Tiwei ; Yao, Lei A > > ; Yang, Zhiyong > > Subject: [dpdk-dev] [PATCH] app/testpmd: add to call detach for vdev > > when quitting > > > > For vdev, just calling rte_et

Re: [dpdk-dev] [PATCH] app/testpmd: add to call detach for vdev when quitting

2018-05-17 Thread Iremonger, Bernard
t; > Subject: [dpdk-dev] [PATCH] app/testpmd: add to call detach for vdev when > quitting > > For vdev, just calling rte_eth_dev_close() isn't enough to free all the > resources > allocated during device probe, e.g. for virtio-user, virtio_user_pmd_remove(), > i.e. the re

[dpdk-dev] [PATCH] app/testpmd: add to call detach for vdev when quitting

2018-05-16 Thread zhiyong . yang
For vdev, just calling rte_eth_dev_close() isn't enough to free all the resources allocated during device probe, e.g. for virtio-user, virtio_user_pmd_remove(), i.e. the remove() method of a vdev driver, needs to be called to unlink the socket file created during device probe. So this patch calls t