From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Marchand Subject: Re: [PATCH v2] eal: fix thread naming on FreeBSD Date: Fri, 17 Jun 2016 18:04:02 +0200 Message-ID: References: <1466179340-7513-1-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: "dev@dpdk.org" To: Thomas Monjalon Return-path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 62C82CF1F for ; Fri, 17 Jun 2016 18:04:22 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id a66so5814562wme.0 for ; Fri, 17 Jun 2016 09:04:22 -0700 (PDT) In-Reply-To: <1466179340-7513-1-git-send-email-thomas.monjalon@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 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 Acked-by: David Marchand -- David Marchand