[dpdk-dev] [PATCH v4] vhost: fix async copy fail on multi-page buffers

2020-07-27 Thread patrick . fu
From: Patrick Fu Async copy fails when single ring buffer vector is splited on multiple physical pages. This happens because current hpa address translation function doesn't handle multi-page buffers. A new gpa to hpa address conversion function, which returns the hpa on the first hitting host pa

Re: [dpdk-dev] [PATCH v4] vhost: fix async copy fail on multi-page buffers

2020-07-28 Thread Maxime Coquelin
On 7/28/20 5:28 AM, patrick...@intel.com wrote: > From: Patrick Fu > > Async copy fails when single ring buffer vector is splited on multiple > physical pages. This happens because current hpa address translation > function doesn't handle multi-page buffers. A new gpa to hpa address > conversi

Re: [dpdk-dev] [PATCH v4] vhost: fix async copy fail on multi-page buffers

2020-07-28 Thread Fu, Patrick
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Tuesday, July 28, 2020 9:55 PM > To: Fu, Patrick ; dev@dpdk.org; Xia, Chenbo > > Subject: Re: [PATCH v4] vhost: fix async copy fail on multi-page buffers > > > > On 7/28/20 5:28 AM, patrick...@intel.com wrote: > > From: P

Re: [dpdk-dev] [PATCH v4] vhost: fix async copy fail on multi-page buffers

2020-07-28 Thread Fu, Patrick
Hi Maxime, > -Original Message- > From: Fu, Patrick > Sent: Wednesday, July 29, 2020 9:40 AM > To: 'Maxime Coquelin' ; dev@dpdk.org; Xia, > Chenbo > Subject: RE: [PATCH v4] vhost: fix async copy fail on multi-page buffers > > Hi Maxime, > > > -Original Message- > > From: Maxime