git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vhost: use new eventfd copy
[dpdk.git]
/
lib
/
librte_vhost
/
vhost_cuse
/
vhost-net-cdev.c
diff --git
a/lib/librte_vhost/vhost_cuse/vhost-net-cdev.c
b/lib/librte_vhost/vhost_cuse/vhost-net-cdev.c
index
1ae7c49
..
ae7ad8d
100644
(file)
--- a/
lib/librte_vhost/vhost_cuse/vhost-net-cdev.c
+++ b/
lib/librte_vhost/vhost_cuse/vhost-net-cdev.c
@@
-373,6
+373,9
@@
rte_vhost_driver_register(const char *dev_name)
return -1;
}
+ if (eventfd_init() < 0)
+ return -1;
+
/*
* The device name is created. This is passed to QEMU so that it can
* register the device with our application.