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
eal/linux: fix build with glibc < 2.12
[dpdk.git]
/
lib
/
librte_eal
/
linuxapp
/
eal
/
eal_pci_vfio_mp_sync.c
diff --git
a/lib/librte_eal/linuxapp/eal/eal_pci_vfio_mp_sync.c
b/lib/librte_eal/linuxapp/eal/eal_pci_vfio_mp_sync.c
index
277565d
..
d9188fd
100644
(file)
--- a/
lib/librte_eal/linuxapp/eal/eal_pci_vfio_mp_sync.c
+++ b/
lib/librte_eal/linuxapp/eal/eal_pci_vfio_mp_sync.c
@@
-394,7
+394,7
@@
pci_vfio_mp_sync_setup(void)
/* Set thread_name for aid in debugging. */
snprintf(thread_name, RTE_MAX_THREAD_NAME_LEN, "pci-vfio-sync");
/* Set thread_name for aid in debugging. */
snprintf(thread_name, RTE_MAX_THREAD_NAME_LEN, "pci-vfio-sync");
- ret =
pthread_setname_np
(socket_thread, thread_name);
+ ret =
rte_thread_setname
(socket_thread, thread_name);
if (ret)
RTE_LOG(ERR, EAL,
"Failed to set thread name for secondary processes!\n");
if (ret)
RTE_LOG(ERR, EAL,
"Failed to set thread name for secondary processes!\n");