Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-10-11 Thread Maxime Coquelin
Hi Changpeng, On 9/21/22 11:52, Liu, Changpeng wrote: -Original Message- From: Maxime Coquelin Sent: Wednesday, September 21, 2022 5:41 PM To: Liu, Changpeng ; dev@dpdk.org Cc: Xia, Chenbo Subject: Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call On 9/20/22 10:43, Liu

RE: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-21 Thread Liu, Changpeng
> -Original Message- > From: Maxime Coquelin > Sent: Wednesday, September 21, 2022 5:41 PM > To: Liu, Changpeng ; dev@dpdk.org > Cc: Xia, Chenbo > Subject: Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call > > > > On 9/20/

Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-21 Thread Maxime Coquelin
On 9/20/22 10:43, Liu, Changpeng wrote: -Original Message- From: Maxime Coquelin Sent: Tuesday, September 20, 2022 4:13 PM To: Liu, Changpeng ; dev@dpdk.org Cc: Xia, Chenbo Subject: Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call On 9/20/22 09:45, Liu, Changpeng wrote

RE: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-20 Thread Liu, Changpeng
> -Original Message- > From: Maxime Coquelin > Sent: Tuesday, September 20, 2022 4:13 PM > To: Liu, Changpeng ; dev@dpdk.org > Cc: Xia, Chenbo > Subject: Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call > > > > On 9/20/

Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-20 Thread Maxime Coquelin
On 9/20/22 09:45, Liu, Changpeng wrote: -Original Message- From: Maxime Coquelin Sent: Tuesday, September 20, 2022 3:35 PM To: Liu, Changpeng ; dev@dpdk.org Cc: Xia, Chenbo Subject: Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call On 9/20/22 09:29, Liu, Changpeng wrote

RE: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-20 Thread Liu, Changpeng
> -Original Message- > From: Maxime Coquelin > Sent: Tuesday, September 20, 2022 3:35 PM > To: Liu, Changpeng ; dev@dpdk.org > Cc: Xia, Chenbo > Subject: Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call > > > > On 9/20/22 09:29, Liu,

Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-20 Thread Maxime Coquelin
On 9/20/22 09:29, Liu, Changpeng wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Tuesday, September 20, 2022 3:19 PM To: Liu, Changpeng ; dev@dpdk.org Cc: Xia, Chenbo Subject: Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call On 9/6/22 04:22, Changpeng

Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-20 Thread Maxime Coquelin
On 9/20/22 09:23, Maxime Coquelin wrote: On 9/20/22 04:53, Xia, Chenbo wrote: -Original Message- From: Liu, Changpeng Sent: Tuesday, September 20, 2022 10:34 AM To: Xia, Chenbo ; dev@dpdk.org Cc: Maxime Coquelin Subject: RE: [PATCH] vhost: use try_lock in rte_vhost_vring_call Hi

RE: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-20 Thread Liu, Changpeng
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, September 20, 2022 3:19 PM > To: Liu, Changpeng ; dev@dpdk.org > Cc: Xia, Chenbo > Subject: Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call > > > > On 9/6/22 04:22, Chan

Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-20 Thread Maxime Coquelin
On 9/20/22 04:53, Xia, Chenbo wrote: -Original Message- From: Liu, Changpeng Sent: Tuesday, September 20, 2022 10:34 AM To: Xia, Chenbo ; dev@dpdk.org Cc: Maxime Coquelin Subject: RE: [PATCH] vhost: use try_lock in rte_vhost_vring_call Hi Bo, -Original Message- From: Xia

Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-20 Thread Maxime Coquelin
On 9/6/22 04:22, Changpeng Liu wrote: Note that this function is in data path, so the thread context may not same as socket messages processing context, by using try_lock here, users can have another try in case of VQ's access lock is held by `vhost-events` thread. Signed-off-by: Changpeng Li

Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-20 Thread Maxime Coquelin
On 9/7/22 02:40, Liu, Changpeng wrote: -Original Message- From: Stephen Hemminger Sent: Wednesday, September 7, 2022 5:16 AM To: Liu, Changpeng Cc: dev@dpdk.org; Maxime Coquelin ; Xia, Chenbo Subject: Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call On Tue, 6 Sep 2022

RE: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-19 Thread Liu, Changpeng
> -Original Message- > From: Xia, Chenbo > Sent: Tuesday, September 20, 2022 10:54 AM > To: Liu, Changpeng ; dev@dpdk.org > Cc: Maxime Coquelin > Subject: RE: [PATCH] vhost: use try_lock in rte_vhost_vring_call > > > -Original Message- > &g

RE: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-19 Thread Xia, Chenbo
> -Original Message- > From: Liu, Changpeng > Sent: Tuesday, September 20, 2022 10:34 AM > To: Xia, Chenbo ; dev@dpdk.org > Cc: Maxime Coquelin > Subject: RE: [PATCH] vhost: use try_lock in rte_vhost_vring_call > > Hi Bo, > > > -Original Message

RE: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-19 Thread Liu, Changpeng
Hi Bo, > -Original Message- > From: Xia, Chenbo > Sent: Tuesday, September 20, 2022 10:25 AM > To: Liu, Changpeng ; dev@dpdk.org > Cc: Maxime Coquelin > Subject: RE: [PATCH] vhost: use try_lock in rte_vhost_vring_call > > Hi Changpeng, > > > -Or

RE: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-19 Thread Xia, Chenbo
Hi Changpeng, > -Original Message- > From: Liu, Changpeng > Sent: Tuesday, September 6, 2022 10:22 AM > To: dev@dpdk.org > Cc: Liu, Changpeng ; Maxime Coquelin > ; Xia, Chenbo > Subject: [PATCH] vhost: use try_lock in rte_vhost_vring_call > > Note that this function is in data path, so

RE: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-06 Thread Liu, Changpeng
> -Original Message- > From: Stephen Hemminger > Sent: Wednesday, September 7, 2022 5:16 AM > To: Liu, Changpeng > Cc: dev@dpdk.org; Maxime Coquelin ; Xia, > Chenbo > Subject: Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call > > On Tue, 6 Sep 2022

Re: [PATCH] vhost: use try_lock in rte_vhost_vring_call

2022-09-06 Thread Stephen Hemminger
On Tue, 6 Sep 2022 10:22:25 +0800 Changpeng Liu wrote: > Note that this function is in data path, so the thread context > may not same as socket messages processing context, by using > try_lock here, users can have another try in case of VQ's access > lock is held by `vhost-events` thread. > >