X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fvhost%2Fmain.h;h=6bb42e8990c3849d72600686dcf1cd19fd3caffb;hb=24427bb914a6375f29635897d23a3192d85b2127;hp=bd7f1a33bc36d506cc9b377049d21d5b3da62273;hpb=97daf19e99d54c47867b32927c1d7b93b3f63e27;p=dpdk.git diff --git a/examples/vhost/main.h b/examples/vhost/main.h index bd7f1a33bc..6bb42e8990 100644 --- a/examples/vhost/main.h +++ b/examples/vhost/main.h @@ -49,8 +49,6 @@ struct device_statistics { }; struct vhost_dev { - /**< Pointer to device created by vhost lib. */ - struct virtio_net *dev; /**< Number of memory regions for gpa to hpa translation. */ uint32_t nregions_hpa; /**< Device MAC address (Obtained on first TX packet). */ @@ -66,6 +64,7 @@ struct vhost_dev { /**< Device is marked for removal from the data core. */ volatile uint8_t remove; + int vid; struct device_statistics stats; TAILQ_ENTRY(vhost_dev) global_vdev_entry; TAILQ_ENTRY(vhost_dev) lcore_vdev_entry;