]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_vhost/rte_virtio_net.h
vhost: make notify ops per vhost driver
[dpdk.git] / lib / librte_vhost / rte_virtio_net.h
index 08bf965aac6fcd9d27fae00fa6339a66b4acee04..39e3611790ea482b97d59ad0146186c9e0e8b928 100644 (file)
@@ -137,7 +137,8 @@ int rte_vhost_driver_disable_features(const char *path, uint64_t features);
 int rte_vhost_driver_get_features(const char *path, uint64_t *features);
 
 /* Register callbacks. */
-int rte_vhost_driver_callback_register(struct virtio_net_device_ops const * const);
+int rte_vhost_driver_callback_register(const char *path,
+       struct virtio_net_device_ops const * const ops);
 /* Start vhost driver session blocking loop. */
 int rte_vhost_driver_session_start(void);