Re: [dpdk-dev] [PATCH v2 3/5] vhost: handle memory hotplug with vDPA devices

2020-06-27 Thread Xia, Chenbo
> -Original Message- > From: dev On Behalf Of Matan Azrad > Sent: Thursday, June 25, 2020 9:38 PM > To: Maxime Coquelin > Cc: dev@dpdk.org; Wang, Xiao W > Subject: [dpdk-dev] [PATCH v2 3/5] vhost: handle memory hotplug with vDPA > devices > > Some vDPA dr

Re: [dpdk-dev] [PATCH v2 3/5] vhost: handle memory hotplug with vDPA devices

2020-06-26 Thread Maxime Coquelin
On 6/25/20 3:38 PM, Matan Azrad wrote: > Some vDPA drivers' basic configurations should be updated when the > guest memory is hotplugged. > > Close vDPA device before hotplug operation and recreate it after the > hotplug operation is done. > > Signed-off-by: Matan Azrad > --- > lib/librte_vh

[dpdk-dev] [PATCH v2 3/5] vhost: handle memory hotplug with vDPA devices

2020-06-25 Thread Matan Azrad
Some vDPA drivers' basic configurations should be updated when the guest memory is hotplugged. Close vDPA device before hotplug operation and recreate it after the hotplug operation is done. Signed-off-by: Matan Azrad --- lib/librte_vhost/vhost_user.c | 9 + 1 file changed, 9 insertions