numam-dpdk/examples/tep_termination
Ferruh Yigit badb3688ff eal/linux: fix build with glibc < 2.12
pthread_setname_np() function added in glibc 2.12, using this function
in older glibc versions cause compile error:
error: implicit declaration of function "pthread_setname_np"

This patch adds "rte_thread_setname" macro and set it according
glibc >= 2.12 check, thread naming disabled for older glibc versions,
glibc versions that support "pthread_setname_np" will keep using this
function.

Fixes: 67b6d3039e ("eal: set name to threads")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
2015-11-25 14:41:37 +01:00
..
main.c eal/linux: fix build with glibc < 2.12 2015-11-25 14:41:37 +01:00
main.h examples/tep_term: add bad Rx checksum statistics 2015-06-23 11:35:06 +02:00
Makefile eal: set name to threads 2015-11-03 15:32:34 +01:00
vxlan_setup.c examples/tep_term: add encap/decap configuration 2015-06-23 11:36:15 +02:00
vxlan_setup.h examples/tep_term: add encap/decap configuration 2015-06-23 11:36:15 +02:00
vxlan.c mbuf: remove packet type from offload flags 2015-09-03 19:22:48 +02:00
vxlan.h examples/tep_term: add TSO offload configuration 2015-06-23 11:34:54 +02:00