[ovs-dev] [PATCH dpdk-latest v2 4/5] netdev-dpdk: Fix vhost namespace with 21.11-rc2.

David Marchand david.marchand at redhat.com
Tue Nov 9 09:22:52 UTC 2021


vhost ops is now prefixed with rte_ [1].

1: https://git.dpdk.org/dpdk/commit/?id=e7c727c307d7

Signed-off-by: David Marchand <david.marchand at redhat.com>
---
 lib/netdev-dpdk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index 2eb5e2e1bc..882b138cfa 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -181,7 +181,7 @@ static int vring_state_changed(int vid, uint16_t queue_id, int enable);
 static void destroy_connection(int vid);
 static void vhost_guest_notified(int vid);
 
-static const struct vhost_device_ops virtio_net_device_ops =
+static const struct rte_vhost_device_ops virtio_net_device_ops =
 {
     .new_device =  new_device,
     .destroy_device = destroy_device,
-- 
2.23.0



More information about the dev mailing list