Re: [dpdk-dev] [PATCH v3] rte_vhost: added user callbacks for socket open/close

2017-10-09 Thread Yuanhan Liu
On Wed, Aug 30, 2017 at 12:50:58PM +0200, Dariusz Stojaczyk wrote: > Added new callbacks to notify about socket connection status. > As destroy_device is used for virtqueue processing *pause* as well as > connection close, the user has no distinction between those. > > Consider the following scena

[dpdk-dev] [PATCH v3] rte_vhost: added user callbacks for socket open/close

2017-08-30 Thread Dariusz Stojaczyk
Added new callbacks to notify about socket connection status. As destroy_device is used for virtqueue processing *pause* as well as connection close, the user has no distinction between those. Consider the following scenario: rte_vhost: received SET_VRING_BASE message, calling destroy_d