Re: [dpdk-dev] [PATCH] net/vhost: move device stop call in close function

2017-04-05 Thread Yuanhan Liu
On Fri, Mar 31, 2017 at 03:47:10PM -0700, Sagar Abhang wrote: > Moved the call to "eth_dev_stop" inside "eth_dev_close" because > "rte_eth_dev_close" calls 'close' operation of device, and in existing > code the close was happening without 'stop' operation for vhost device. > Moved code to free rx

[dpdk-dev] [PATCH] net/vhost: move device stop call in close function

2017-03-31 Thread Sagar Abhang
Moved the call to "eth_dev_stop" inside "eth_dev_close" because "rte_eth_dev_close" calls 'close' operation of device, and in existing code the close was happening without 'stop' operation for vhost device. Moved code to free rx and tx queues inside "eth_dev_close" because the "rte_eth_dev_close" f