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

David Marchand david.marchand at 6wind.com
Fri Jun 17 18:04:02 CEST 2016


On Fri, Jun 17, 2016 at 6:02 PM, Thomas Monjalon
<thomas.monjalon at 6wind.com> 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 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 at 6wind.com>

Acked-by: David Marchand <david.marchand at 6wind.com>


-- 
David Marchand


More information about the dev mailing list