[dpdk-dev] [PATCH v2] eal: fix thread naming on FreeBSD

2016-06-17 Thread Thomas Monjalon
2016-06-17 18:04, David Marchand: > On Fri, Jun 17, 2016 at 6:02 PM, Thomas Monjalon > wrote: > > 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 macr

[dpdk-dev] [PATCH v2] eal: fix thread naming on FreeBSD

2016-06-17 Thread David Marchand
On Fri, Jun 17, 2016 at 6:02 PM, Thomas Monjalon wrote: > 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 returni

[dpdk-dev] [PATCH v2] eal: fix thread naming on FreeBSD

2016-06-17 Thread Thomas Monjalon
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 beca