numam-dpdk/examples/vhost_xen
Thomas Monjalon 3901ed99c2 eal: fix thread naming on FreeBSD
rte_thread_setname was a macro defined only for Linux.
The function rte_thread_setname() can now be used on FreeBSD
as well on Linux.
It is required to build librte_pdump.

The macro was 0 for old glibc. The function is now returning -1.
The related logs are decreased from error to debug level because
it is not an important failure, just a debug inconvenience.

Fixes: 278f945402 ("pdump: add new library for packet capture")

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: David Marchand <david.marchand@6wind.com>
2016-06-17 18:04:22 +02:00
..
main.c eal: fix thread naming on FreeBSD 2016-06-17 18:04:22 +02:00
main.h examples: remove useless debug flags 2016-05-02 15:31:17 +02:00
Makefile eal: set name to threads 2015-11-03 15:32:34 +01:00
vhost_monitor.c examples/vhost_xen: fix 32-bit build 2016-04-10 21:36:54 +02:00
virtio-net.h vhost: remove device operations pointers 2016-02-19 19:33:31 +01:00
xen_vhost.h tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
xenstore_parse.c remove unneeded tests for NULL when freeing 2016-01-27 15:34:48 +01:00