Re: [PATCH v5] net/vhost: support asynchronous data path

2022-10-25 Thread Maxime Coquelin
Maximets ; David Marchand Subject: Re: [PATCH v5] net/vhost: support asynchronous data path On 10/25/22 17:44, Bruce Richardson wrote: On Tue, Oct 25, 2022 at 05:33:31PM +0200, Maxime Coquelin wrote: On 10/25/22 11:15, Hu, Jiayu wrote: I think that for Vhost PMD, the Virtio completions should

RE: [PATCH v5] net/vhost: support asynchronous data path

2022-10-25 Thread Hu, Jiayu
Maximets ; David > Marchand > Subject: Re: [PATCH v5] net/vhost: support asynchronous data path > > > > On 10/25/22 17:44, Bruce Richardson wrote: > > On Tue, Oct 25, 2022 at 05:33:31PM +0200, Maxime Coquelin wrote: > >> > >> > >> On 10/25/22 11:15,

Re: [PATCH v5] net/vhost: support asynchronous data path

2022-10-25 Thread Maxime Coquelin
On 10/25/22 17:44, Bruce Richardson wrote: On Tue, Oct 25, 2022 at 05:33:31PM +0200, Maxime Coquelin wrote: On 10/25/22 11:15, Hu, Jiayu wrote: I think that for Vhost PMD, the Virtio completions should either be performed by DMA engine or by a dedicated thread. We cannot depend on DMA

Re: [PATCH v5] net/vhost: support asynchronous data path

2022-10-25 Thread Bruce Richardson
On Tue, Oct 25, 2022 at 05:33:31PM +0200, Maxime Coquelin wrote: > > > On 10/25/22 11:15, Hu, Jiayu wrote: > > > I think that for Vhost PMD, the Virtio completions should either be > > > performed by DMA engine or by a dedicated thread. > > > > We cannot depend on DMA engine to do completion, a

Re: [PATCH v5] net/vhost: support asynchronous data path

2022-10-25 Thread Maxime Coquelin
Maximets ; David Marchand Subject: Re: [PATCH v5] net/vhost: support asynchronous data path Hi Jiayu, On 10/25/22 04:14, Hu, Jiayu wrote: Hi Maxime, Thanks for your comments. Please see replies inline. -Original Message- From: Maxime Coquelin Sent: Monday, October 24, 2022 5:08 PM To

RE: [PATCH v5] net/vhost: support asynchronous data path

2022-10-25 Thread Hu, Jiayu
Maximets ; > David Marchand > Subject: Re: [PATCH v5] net/vhost: support asynchronous data path > > Hi Jiayu, > > On 10/25/22 04:14, Hu, Jiayu wrote: > > Hi Maxime, > > > > Thanks for your comments. Please see replies inline. > > > >> -Origina

Re: [PATCH v5] net/vhost: support asynchronous data path

2022-10-25 Thread Maxime Coquelin
, Xingguang Subject: Re: [PATCH v5] net/vhost: support asynchronous data path Hi Yuan, Please fix your system for the next times, your patch is dated several hours in the future. On 10/24/22 17:14, Yuan Wang wrote: Vhost asynchronous data-path offloads packet copy from the CPU to the DMA engine

RE: [PATCH v5] net/vhost: support asynchronous data path

2022-10-24 Thread Hu, Jiayu
g > Subject: Re: [PATCH v5] net/vhost: support asynchronous data path > > Hi Yuan, > > Please fix your system for the next times, your patch is dated several hours > in > the future. > > On 10/24/22 17:14, Yuan Wang wrote: > > Vhost asynchronous data-path offl

RE: [PATCH v5] net/vhost: support asynchronous data path

2022-10-24 Thread Wang, YuanX
Hi Chenbo, > -Original Message- > From: Xia, Chenbo > Sent: Monday, October 24, 2022 5:03 PM > To: Wang, YuanX ; Maxime Coquelin > > Cc: dev@dpdk.org; Hu, Jiayu ; Jiang, Cheng1 > ; Ma, WenwuX ; He, > Xingguang > Subject: RE: [PATCH v5] net/vhost: support asy

Re: [PATCH v5] net/vhost: support asynchronous data path

2022-10-24 Thread Maxime Coquelin
Hi Yuan, Please fix your system for the next times, your patch is dated several hours in the future. On 10/24/22 17:14, Yuan Wang wrote: Vhost asynchronous data-path offloads packet copy from the CPU to the DMA engine. As a result, large packet copy can be accelerated by the DMA engine, and vho

RE: [PATCH v5] net/vhost: support asynchronous data path

2022-10-24 Thread Xia, Chenbo
Hi Yuan, > -Original Message- > From: Wang, YuanX > Sent: Monday, October 24, 2022 11:15 PM > To: Maxime Coquelin ; Xia, Chenbo > > Cc: dev@dpdk.org; Hu, Jiayu ; Jiang, Cheng1 > ; Ma, WenwuX ; He, Xingguang > ; Wang, YuanX > Subject: [PATCH v5] net/vhost: sup

[PATCH v5] net/vhost: support asynchronous data path

2022-10-24 Thread Yuan Wang
Vhost asynchronous data-path offloads packet copy from the CPU to the DMA engine. As a result, large packet copy can be accelerated by the DMA engine, and vhost can free CPU cycles for higher level functions. In this patch, we enable asynchronous data-path for vhostpmd. Asynchronous data path is e