mbox series

[v4,0/2] vhost: fix async address mapping

Message ID 20220216022854.39057-1-xuan.ding@intel.com (mailing list archive)
Headers
Series vhost: fix async address mapping |

Message

Ding, Xuan Feb. 16, 2022, 2:28 a.m. UTC
  From: Xuan Ding <xuan.ding@intel.com>

This patchset fixes the issue of incorrect DMA mapping in PA mode.
Due to the ambiguity of host_phys_addr naming in the guest page
struct, rename it to host_iova.

v4:
* Fix the patch timezone.

v3:
* Fix some format issues.

v2:
* Change the order of patch.

Xuan Ding (2):
  vhost: fix field naming in guest page struct
  vhost: fix physical address mapping

 lib/vhost/vhost.h      |  11 ++--
 lib/vhost/vhost_user.c | 133 ++++++++++++++++++++---------------------
 lib/vhost/virtio_net.c |  11 ++--
 3 files changed, 76 insertions(+), 79 deletions(-)
  

Comments

Maxime Coquelin Feb. 17, 2022, 8:54 a.m. UTC | #1
On 2/16/22 03:28, xuan.ding@intel.com wrote:
> From: Xuan Ding <xuan.ding@intel.com>
> 
> This patchset fixes the issue of incorrect DMA mapping in PA mode.
> Due to the ambiguity of host_phys_addr naming in the guest page
> struct, rename it to host_iova.
> 
> v4:
> * Fix the patch timezone.
> 
> v3:
> * Fix some format issues.
> 
> v2:
> * Change the order of patch.
> 
> Xuan Ding (2):
>    vhost: fix field naming in guest page struct
>    vhost: fix physical address mapping
> 
>   lib/vhost/vhost.h      |  11 ++--
>   lib/vhost/vhost_user.c | 133 ++++++++++++++++++++---------------------
>   lib/vhost/virtio_net.c |  11 ++--
>   3 files changed, 76 insertions(+), 79 deletions(-)
> 

Applied to dpdk-next-virtio/main.

Thanks,
Maxime