net/virtio: add missing backend features negotiation
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Fri, 8 Jan 2021 09:41:48 +0000 (10:41 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 13 Jan 2021 17:51:58 +0000 (18:51 +0100)
commit35a6630e2b51b872cfbaf19459888045750592fd
tree55d88754593722a2ffdb00f209413314ff349819
parentc3bbc381477f299eef3078ab7c4ef57165fe3121
net/virtio: add missing backend features negotiation

This patch adds missing backend features negotiation for
in Vhost-vDPA. Without it, IOTLB messages v2 could be sent
by Virtio-user PMD while not supported by the backend.

Fixes: 6b901437056e ("net/virtio: introduce vhost-vDPA backend")
Cc: stable@dpdk.org
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
drivers/net/virtio/virtio_user/vhost.h
drivers/net/virtio/virtio_user/vhost_vdpa.c
drivers/net/virtio/virtio_user/virtio_user_dev.c
drivers/net/virtio/virtio_user/virtio_user_dev.h