Re: [dpdk-dev] [PATCH] net/vhost: fix unix socket not removed as closing

2017-01-30 Thread Yuanhan Liu
On Tue, Jan 24, 2017 at 08:37:38AM +, Jianfeng Tan wrote: > The commit aed0b12930b ("net/vhost: fix socket file deleted on stop") > moves rte_vhost_driver_register and rte_vhost_driver_unregister from > dev_start() and dev_stop() into driver's probe() and remove(). > > Apps, like testpmd, usin

[dpdk-dev] [PATCH] net/vhost: fix unix socket not removed as closing

2017-01-24 Thread Jianfeng Tan
The commit aed0b12930b ("net/vhost: fix socket file deleted on stop") moves rte_vhost_driver_register and rte_vhost_driver_unregister from dev_start() and dev_stop() into driver's probe() and remove(). Apps, like testpmd, using vhost pmd in server mode, usually calls dev_stop() and dev_close() as