From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] eal: fix thread naming on FreeBSD Date: Fri, 17 Jun 2016 18:04:51 +0200 Message-ID: <2401799.KuipojHmpA@xps13> References: <1466179340-7513-1-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: David Marchand Return-path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id F0134CF17 for ; Fri, 17 Jun 2016 18:04:54 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id a66so5834480wme.0 for ; Fri, 17 Jun 2016 09:04:54 -0700 (PDT) In-Reply-To: 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" 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 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 Applied