Re: [dpdk-dev] [PATCH] vhost: fix vhost_user_set_mem_table error

2017-09-24 Thread Tiwei Bie
Hi Yi, On Wed, Sep 20, 2017 at 04:32:03PM +0800, Yi Yang wrote: > Usually vhost_user message VHOST_USER_SET_MEM_TABLE > is only sent out during initialization and only sent > once, but it isn't so for memory hotplug and hotunplug > , for that case, vhost_user message VHOST_USER_SET_MEM_TABLE > wil

Re: [dpdk-dev] [PATCH] vhost: fix vhost_user_set_mem_table error

2017-09-24 Thread Yang, Yi
On Fri, Sep 22, 2017 at 01:28:48PM +0800, Tan, Jianfeng wrote: > > > > + } > > + reg->guest_user_addr = 0; > > + j++; > > + } else { > > + i++; > > +

Re: [dpdk-dev] [PATCH] vhost: fix vhost_user_set_mem_table error

2017-09-21 Thread Tan, Jianfeng
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Yi Yang > Sent: Wednesday, September 20, 2017 4:32 PM > To: y...@fridaylinux.org > Cc: dev@dpdk.org; Yang, Yi Y > Subject: [dpdk-dev] [PATCH] vhost: fix vhost_user_set_mem_table error >

[dpdk-dev] [PATCH] vhost: fix vhost_user_set_mem_table error

2017-09-20 Thread Yi Yang
Usually vhost_user message VHOST_USER_SET_MEM_TABLE is only sent out during initialization and only sent once, but it isn't so for memory hotplug and hotunplug , for that case, vhost_user message VHOST_USER_SET_MEM_TABLE will be resent with the old memory regions (not hotunplugged) and the new memo