common/cnxk: add ROC cache line size constant
[dpdk.git] / examples / vdpa / main.c
index 97e967b..5ab0765 100644 (file)
@@ -153,7 +153,7 @@ destroy_device(int vid)
        }
 }
 
-static const struct vhost_device_ops vdpa_sample_devops = {
+static const struct rte_vhost_device_ops vdpa_sample_devops = {
        .new_device = new_device,
        .destroy_device = destroy_device,
 };
@@ -576,5 +576,8 @@ main(int argc, char *argv[])
                vdpa_sample_quit();
        }
 
+       /* clean up the EAL */
+       rte_eal_cleanup();
+
        return 0;
 }