Re: [dpdk-dev] [PATCH 2/2] vhost: start vhost servers once

2017-01-03 Thread Yuanhan Liu
On Fri, Dec 30, 2016 at 04:26:27PM -0500, Charles (Chas) Williams wrote: > > > On 12/29/2016 10:15 PM, Yuanhan Liu wrote: > >On Thu, Dec 29, 2016 at 10:58:11AM -0500, Charles (Chas) Williams wrote: > >>On 12/29/2016 03:52 AM, Yuanhan Liu wrote: > >>>On Wed, Dec 28, 2016 at 04:10:52PM -0500, Charl

Re: [dpdk-dev] [PATCH 2/2] vhost: start vhost servers once

2016-12-30 Thread Charles (Chas) Williams
On 12/29/2016 10:15 PM, Yuanhan Liu wrote: On Thu, Dec 29, 2016 at 10:58:11AM -0500, Charles (Chas) Williams wrote: On 12/29/2016 03:52 AM, Yuanhan Liu wrote: On Wed, Dec 28, 2016 at 04:10:52PM -0500, Charles (Chas) Williams wrote: Start a vhost server once during devinit instead of during d

Re: [dpdk-dev] [PATCH 2/2] vhost: start vhost servers once

2016-12-29 Thread Yuanhan Liu
On Thu, Dec 29, 2016 at 10:58:11AM -0500, Charles (Chas) Williams wrote: > On 12/29/2016 03:52 AM, Yuanhan Liu wrote: > >On Wed, Dec 28, 2016 at 04:10:52PM -0500, Charles (Chas) Williams wrote: > >>Start a vhost server once during devinit instead of during device start > >>and stop. Some vhost cli

Re: [dpdk-dev] [PATCH 2/2] vhost: start vhost servers once

2016-12-29 Thread Charles (Chas) Williams
On 12/29/2016 03:52 AM, Yuanhan Liu wrote: On Wed, Dec 28, 2016 at 04:10:52PM -0500, Charles (Chas) Williams wrote: Start a vhost server once during devinit instead of during device start and stop. Some vhost clients, QEMU, don't re-attaching to sockets when the vhost server is stopped and late

Re: [dpdk-dev] [PATCH 2/2] vhost: start vhost servers once

2016-12-29 Thread Yuanhan Liu
On Wed, Dec 28, 2016 at 04:10:52PM -0500, Charles (Chas) Williams wrote: > Start a vhost server once during devinit instead of during device start > and stop. Some vhost clients, QEMU, don't re-attaching to sockets when > the vhost server is stopped and later started. Preserve existing behavior >

[dpdk-dev] [PATCH 2/2] vhost: start vhost servers once

2016-12-28 Thread Charles (Chas) Williams
Start a vhost server once during devinit instead of during device start and stop. Some vhost clients, QEMU, don't re-attaching to sockets when the vhost server is stopped and later started. Preserve existing behavior for vhost clients. Fixes: ee584e9710b9 ("vhost: add driver on top of the librar