Skip to content

Commit

Permalink
netdev-dpdk: Fix vhost namespace with 21.11-rc2.
Browse files Browse the repository at this point in the history
vhost ops is now prefixed with rte_ [1].

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

Signed-off-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
  • Loading branch information
david-marchand authored and istokes committed Nov 24, 2021
1 parent 78926de commit 45e3261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/netdev-dpdk.c
Expand Up @@ -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,
Expand Down

0 comments on commit 45e3261

Please sign in to comment.