numam-dpdk/examples
Yuanhan Liu 9702b2b53f vhost: fix wrong usage of eventfd_t
According to eventfd man page:

    typedef uint64_t eventfd_t;

    int eventfd_read(int fd, eventfd_t *value);
    int eventfd_write(int fd, eventfd_t value);

eventfd_t is defined for the second arg(value), but not for fd.

Here I redefine those fd fields to `int' type, which also removes
the redundant (int) cast. And as the man page stated, we should
cast 1 to eventfd_t type for eventfd_write().

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: Huawei Xie <huawei.xie@intel.com>
2015-09-25 14:58:30 +02:00
..
bond examples/bond: fix build with clang 2015-05-19 17:35:33 +02:00
cmdline examples: fix whitespace 2015-06-12 11:10:10 +02:00
distributor examples/distributor: fix debug macro 2015-06-22 22:33:42 +02:00
dpdk_qat mbuf: use offset macro 2015-06-24 12:01:14 +02:00
exception_path apps: use helper to create mbuf pools 2015-04-28 11:34:10 +02:00
helloworld tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
ip_fragmentation mbuf: remove packet type from offload flags 2015-09-03 19:22:48 +02:00
ip_pipeline examples/ip_pipeline: fix cpu cores parsing 2015-07-27 15:59:58 +02:00
ip_reassembly mbuf: remove packet type from offload flags 2015-09-03 19:22:48 +02:00
ipv4_multicast examples/ipv4_multicast: support double vlan stripping and insertion 2015-07-07 16:42:49 +02:00
kni examples/kni: fix crash on exit 2015-08-10 16:25:30 +02:00
l2fwd examples: fix whitespace 2015-06-12 11:10:10 +02:00
l2fwd-ivshmem apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
l2fwd-jobstats apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
l3fwd mbuf: remove packet type from offload flags 2015-09-03 19:22:48 +02:00
l3fwd-acl acl: remove old API 2015-09-03 19:22:48 +02:00
l3fwd-power mbuf: remove packet type from offload flags 2015-09-03 19:22:48 +02:00
l3fwd-vf hash: rename unused field 2015-07-13 19:27:31 +02:00
link_status_interrupt apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
load_balancer mbuf: use offset macro 2015-06-24 12:01:14 +02:00
multi_process examples: fix whitespace 2015-06-12 11:10:10 +02:00
netmap_compat examples: fix whitespace 2015-06-12 11:10:10 +02:00
packet_ordering apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
qos_meter apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
qos_sched examples/qos_sched: use librte_cfgfile 2015-06-15 11:18:25 +02:00
quota_watermark examples: fix whitespace 2015-06-12 11:10:10 +02:00
rxtx_callbacks apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
skeleton apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
tep_termination mbuf: remove packet type from offload flags 2015-09-03 19:22:48 +02:00
timer tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
vhost vhost: fix wrong usage of eventfd_t 2015-09-25 14:58:30 +02:00
vhost_xen mbuf: use offset macro 2015-06-24 12:01:14 +02:00
vm_power_manager examples/vm_power: fix physical core mask 2015-08-11 09:43:22 +02:00
vmdq apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
vmdq_dcb apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
Makefile examples/tep_term: fix vhost dependency 2015-06-25 11:32:45 +02:00