}
}
-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,
};
cmdline_parse_token_string_t cmd_device_bdf =
TOKEN_STRING_INITIALIZER(struct cmd_stats_result, bdf, NULL);
cmdline_parse_token_num_t cmd_queue_id =
- TOKEN_NUM_INITIALIZER(struct cmd_stats_result, qid, UINT32);
+ TOKEN_NUM_INITIALIZER(struct cmd_stats_result, qid, RTE_UINT32);
cmdline_parse_inst_t cmd_device_stats = {
.f = cmd_device_stats_parsed,
vdpa_sample_quit();
}
+ /* clean up the EAL */
+ rte_eal_cleanup();
+
return 0;
}