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: 278f945402c5 ("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
..
2016-06-15 16:20:04 +02:00
2015-10-22 17:50:51 +02:00
2015-03-10 12:17:31 +01:00
2015-06-12 11:10:10 +02:00
2015-06-12 11:10:10 +02:00
2014-06-11 00:29:34 +02:00
2016-06-17 18:04:22 +02:00
2016-06-10 15:08:57 +02:00
2015-06-23 23:31:15 +02:00
2015-06-23 23:31:15 +02:00
2016-03-16 17:25:25 +01:00
2016-06-15 19:06:27 +02:00
2014-11-25 13:16:24 +01:00
2014-06-11 00:29:34 +02:00
2014-09-29 15:04:55 +02:00
2015-03-10 12:15:14 +01:00
2016-04-26 16:18:27 +02:00