Re: [dpdk-dev] [v2] vdpa/mlx5: fix queue update synchronization

2020-08-03 Thread Maxime Coquelin
On 8/2/20 11:21 AM, Xueming Li wrote: > The driver CQ event management is done by non vhost library thread, > either the dpdk host thread or the internal vDPA driver thread. > > When a queue is updated the CQ may be destroyed and created by the vhost > library thread via the queue state operati

Re: [dpdk-dev] [v2] vdpa/mlx5: fix queue update synchronization

2020-08-03 Thread Maxime Coquelin
On 8/3/20 1:12 PM, Xueming(Steven) Li wrote: > Hi Maxime, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Monday, August 3, 2020 5:51 PM >> To: Xueming(Steven) Li >> Cc: dev@dpdk.org; a...@dpdk.org; "Penso > Subject: Re:

Re: [dpdk-dev] [v2] vdpa/mlx5: fix queue update synchronization

2020-08-03 Thread Xueming(Steven) Li
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Monday, August 3, 2020 5:51 PM > To: Xueming(Steven) Li > Cc: dev@dpdk.org; a...@dpdk.org; "Penso Subject: Re: [dpdk-dev] [v2] vdpa/mlx5: fix queue update synchronization > > > > On 8

Re: [dpdk-dev] [v2] vdpa/mlx5: fix queue update synchronization

2020-08-03 Thread Maxime Coquelin
On 8/2/20 11:21 AM, Xueming Li wrote: > The driver CQ event management is done by non vhost library thread, > either the dpdk host thread or the internal vDPA driver thread. > > When a queue is updated the CQ may be destroyed and created by the vhost > library thread via the queue state operati

[dpdk-dev] [v2] vdpa/mlx5: fix queue update synchronization

2020-08-02 Thread Xueming Li
The driver CQ event management is done by non vhost library thread, either the dpdk host thread or the internal vDPA driver thread. When a queue is updated the CQ may be destroyed and created by the vhost library thread via the queue state operation. When the queue update feature was added, it di