Re: [dpdk-dev] [PATCH] lib/librte_vhost: fix vid allocation race

2021-02-01 Thread 贺鹏
.coque...@redhat.com > > Subject: [dpdk-dev] [PATCH] lib/librte_vhost: fix vid allocation race > > Fix the title to 'vhost: X' > > > > > From: "chenwei.0515" > > This should not be here.. you could just delete it as the author is already >

Re: [dpdk-dev] [PATCH] lib/librte_vhost: fix vid allocation race

2021-01-31 Thread Xia, Chenbo
Hi Peng & Fei, > -Original Message- > From: dev On Behalf Of Peng He > Sent: Friday, January 29, 2021 3:36 PM > To: dev@dpdk.org > Cc: maxime.coque...@redhat.com > Subject: [dpdk-dev] [PATCH] lib/librte_vhost: fix vid allocation race Fix the title to 'vhost:

[dpdk-dev] [PATCH] lib/librte_vhost: fix vid allocation race

2021-01-29 Thread Peng He
From: "chenwei.0515" vhost_new_devcie might be called in different threads at the same time. thread 1(config thread) rte_vhost_driver_start ->vhost_user_start_client ->vhost_user_add_connection -> vhost_new_device thread 2(vhost-