]> git.droids-corp.org - dpdk.git/blobdiff - examples/vdpa/main.c
eventdev/eth_rx: fix telemetry Rx stats reset
[dpdk.git] / examples / vdpa / main.c
index 97e967b9a21924db9680c2d673895ac5723d813e..5ab07655aed962674b8e46b1863fb7327a251858 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;
 }