From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 09788A0524; Sun, 6 Dec 2020 18:47:20 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 478B52B8D; Sun, 6 Dec 2020 18:47:18 +0100 (CET) Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by dpdk.org (Postfix) with ESMTP id D765A295B for ; Sun, 6 Dec 2020 18:47:16 +0100 (CET) Received: by mail-pg1-f194.google.com with SMTP id f17so6871414pge.6 for ; Sun, 06 Dec 2020 09:47:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rurfwfuquV9+8f7Wjv9/xBbmlQEKYhWplA9kjv4mdpc=; b=jhMb3vNUCTF5B3AO8LeHhl7i+KZBFMirBZ4sn2vW1Xy5gVwzSsC+l/L9V3w0yEUpPV vh67AlAM7DpIiDipqE04gisWDx8Asjs4kuX2FuLUAwgHvvNprcBJIxJWCcNNrOmF7bWq rXy/sU3+ZP3fyuhX3ZBW2pd9zOYdurG8Mkb+TwJN6yF3b6EKlCH4yaypPUse8SQbouH1 GiIxWxoEdFeEAA4up3qtrm4o7EyUkp5L4tdGEt2OaSy1nxllxOZY4nQ3kQ3GujjJkniD iElXp2X9rxqI2AhSE3fzmhog8R/ne1Frl/pudQOy3GUwv3nIsB64bPaSQI5aTQMGLX2/ vrfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rurfwfuquV9+8f7Wjv9/xBbmlQEKYhWplA9kjv4mdpc=; b=YHOIU7jWCcLsrz27XyNJ5f8elUkKNFeMIeLDPb0w4bcHSoWSZVwyV0SGwNVA7wcKdR f9P7T7SrBpW8WdK8d4cKdunluAAc+1dEOf2DzksHrI+gt/iBgwYbbm3WjsSa80ZTN8ZK xW6nYmgzA5XeZh2GAdMhrH6kIaAqaskHtJ3eb4FAuu2BUFyAXt/Q5Ee8/5GmHXrYdYvx DmwLxvPe8sOLdtQee2nCrMFheHFjzDbsIBRdKfMVPSveXg7ilFdO5DYVka2byCGvp8IA jJDTKEsvHLCg2195MDgUZJzFqV+wIfSClshxMGndFJetrRJruPTEN8/Isfec7TNQP7NT cSZA== X-Gm-Message-State: AOAM533M7Hej6vbwiXy+SqVOCTMr/Typ2rv8JuDHx4wFN1Ez75AZnN47 slLJIX/w2SQSStACnUAtSh1ftw== X-Google-Smtp-Source: ABdhPJyjWQer0t9LFRqSbbBwREGWT4wPb6/i0sgyAcO2igLwzu5KbyCrbr4+3JPN4jN2VGsa7w4Heg== X-Received: by 2002:a65:4c0a:: with SMTP id u10mr15331214pgq.294.1607276835091; Sun, 06 Dec 2020 09:47:15 -0800 (PST) Received: from hermes.local (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id d20sm20750573pjz.3.2020.12.06.09.47.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Dec 2020 09:47:14 -0800 (PST) Date: Sun, 6 Dec 2020 09:47:11 -0800 From: Stephen Hemminger To: Hideyuki Yamashita Cc: Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , Ray Kinsella , Neil Horman , Anatoly Burakov , dev@dpdk.org, Hideyuki Yamashita Message-ID: <20201206094711.67109aad@hermes.local> In-Reply-To: <20201204075109.14694-6-yamashita.hideyuki@ntt-tx.co.jp> References: <20201204075109.14694-1-yamashita.hideyuki@ntt-tx.co.jp> <20201204075109.14694-6-yamashita.hideyuki@ntt-tx.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 5/5] librte_ethdev: add to use apistats X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, 04 Dec 2020 16:51:09 +0900 Hideyuki Yamashita wrote: > + > +/* Macros for printing using RTE_LOG */ > +#define RTE_LOGTYPE_APISTATS RTE_LOGTYPE_USER1 > + Please don't use static logtypes. Better to allocate a dynamic logtype value and use that.