[PATCH] vhost: fix guest physical address to host physical address mapping

Ferruh Yigit ferruh.yigit at intel.com
Tue Feb 8 20:57:30 CET 2022


On 2/8/2022 11:11 AM, Maxime Coquelin wrote:
> 
> 
> On 1/17/22 17:20, Yuan Wang wrote:
>> Async copy fails when looking up hpa in the gpa to hpa mapping table.
>> This happens because the gpa is matched exactly in the merged
>> mapping table, and the merge loses the mapping entries.
>> A new range comparison method is introduced to solve this issue.
>>
>> Fixes: 6563cf92380 ("vhost: fix async copy on multi-page buffers")
>>
>> Signed-off-by: Yuan Wang <yuanx.wang at intel.com>
>> ---
>>   lib/vhost/vhost.h | 18 ++++++++++++++++--
>>   1 file changed, 16 insertions(+), 2 deletions(-)
>>
> 
> Applied to dpdk-next-virtio/main.
> 

Is it candidate for Cc: stable at dpdk.org backport?

adding stable tag in the next-net, please comment if it shouldn't.


More information about the dev mailing list