mbox series

[v3,0/2] Vhost-vDPA fixes

Message ID 20210108094149.215384-1-maxime.coquelin@redhat.com (mailing list archive)
Headers
Series Vhost-vDPA fixes |

Message

Maxime Coquelin Jan. 8, 2021, 9:41 a.m. UTC
  Vhost-vDPA support in Virtio-user PMD was lacking
backend features negotiation and IOTLB batching
support, causing intialization issues with Mellanox
vDPA device managed by Kernel vDPA framework.

Changes in v3:
=============
- Fix protocol features negotiation condition (Chenbo)
- Fixup comment in struct declaration (Chenbo)

Changes in v2:
=============
- Add backend features negotiation (David, Jason)
- Ensure Kernel supports IOTLB MSG v2

Maxime Coquelin (2):
  net/virtio: fix missing backend features negotiation
  net/virtio: fix memory init with vDPA backend

 drivers/net/virtio/virtio_user/vhost.h        |   8 ++
 drivers/net/virtio/virtio_user/vhost_vdpa.c   | 120 +++++++++++++++++-
 .../net/virtio/virtio_user/virtio_user_dev.c  |  15 ++-
 .../net/virtio/virtio_user/virtio_user_dev.h  |   4 +-
 4 files changed, 135 insertions(+), 12 deletions(-)
  

Comments

Maxime Coquelin Jan. 11, 2021, 2:59 p.m. UTC | #1
On 1/8/21 10:41 AM, Maxime Coquelin wrote:
> Vhost-vDPA support in Virtio-user PMD was lacking
> backend features negotiation and IOTLB batching
> support, causing intialization issues with Mellanox
> vDPA device managed by Kernel vDPA framework.
> 
> Changes in v3:
> =============
> - Fix protocol features negotiation condition (Chenbo)
> - Fixup comment in struct declaration (Chenbo)
> 
> Changes in v2:
> =============
> - Add backend features negotiation (David, Jason)
> - Ensure Kernel supports IOTLB MSG v2
> 
> Maxime Coquelin (2):
>   net/virtio: fix missing backend features negotiation
>   net/virtio: fix memory init with vDPA backend
> 
>  drivers/net/virtio/virtio_user/vhost.h        |   8 ++
>  drivers/net/virtio/virtio_user/vhost_vdpa.c   | 120 +++++++++++++++++-
>  .../net/virtio/virtio_user/virtio_user_dev.c  |  15 ++-
>  .../net/virtio/virtio_user/virtio_user_dev.h  |   4 +-
>  4 files changed, 135 insertions(+), 12 deletions(-)
> 

Applied to dpdk-next-virtio/main.

Thanks,
Maxime