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

2020-07-29 Thread Maxime Coquelin
On 7/29/20 4:04 AM, Patrick Fu wrote: > 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 hp

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

2020-07-29 Thread Maxime Coquelin
On 7/29/20 4:04 AM, Patrick Fu wrote: > 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 hp

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

2020-07-28 Thread 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 pages, is implemented