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 885B6A3160 for ; Sat, 12 Oct 2019 17:23:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 579771D174; Sat, 12 Oct 2019 17:23:54 +0200 (CEST) Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id 519911D16C for ; Sat, 12 Oct 2019 17:23:53 +0200 (CEST) Received: by mail-pg1-f195.google.com with SMTP id i76so7522114pgc.0 for ; Sat, 12 Oct 2019 08:23:53 -0700 (PDT) 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=qG0yVyBS7QRVJtc2MqorPs3HUSEqcLV95k47hiAsOhA=; b=t0YgkQE1aUs0TCnqVim8o4yCace5qGpkzLK7eJeRV6ObvdNmG2iapyUcbpDFgvIda/ Xn+MV8MZbbmfM04yMJpndsrbtJeK4HSJmCs4iUJYB+fP2V138Q2hvcNCrm6wvLcT8dKX kNVXU8YIYl180WqcoRSoMLCacxomcSQ3HRy9bYDwhNaH6VyKdJDF9bBClWkCJJtflEs5 UAOuhnVk18iD3PP4D02KiBJxcP/LiW5jBdU1ZCbk0KmSGf+oiPBGx0DdtQi55dBYtixr nchYg4wSosuIGcEKdziOHxQdhwUClmfZCVrhSkZBmxSk1lAl+QP8JH135QS8k3ohR7VJ MmzQ== 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=qG0yVyBS7QRVJtc2MqorPs3HUSEqcLV95k47hiAsOhA=; b=KSiFTEpW+zuNbfJ/HSb8hyNT5ADhOHgh0/j8iX5oOxnitI4RsFq3J2B2fRk5dWbrLd TG0UqKqxbEbCKyiaIVPc3E9ShqYUtZRNHW//iMHWOibFpbpQh9k66vjuRwWqlaqQTHXo apeK0m3df4Mnggc1FzupXPrlU6YYnnZfzr7iVgxfSZifT0peFiJPfzplaHexkobkDqiX QiEqTiBIlYaCZ2eE/+dmOjy39MWMysZTjQXukp6XthGFyDndgwVCYH+4cjolBFtc+T7Y 5/roGgRCj98XcCyPZXP2y24A2AtiYj79lN8/USK1dCIHBuGaqBvKXWYg3EF4Czs5xU+W Af5Q== X-Gm-Message-State: APjAAAXmU1qTQRNn6qhVcnLwbI1atuDNTqqYrfg5IRFILbW80TYO0rgR GscBGPJSdRXm4uuITV7SXZFe/MZFxZIUBQ== X-Google-Smtp-Source: APXvYqxovLq863x5ouZAAe7n80u35WMnZroV/IyIlIc6+ahmpRC26t39ma0a8WkMQq7MqS9vt0D9WQ== X-Received: by 2002:a17:90a:cc12:: with SMTP id b18mr23301426pju.141.1570893832036; Sat, 12 Oct 2019 08:23:52 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id m68sm13660957pfb.122.2019.10.12.08.23.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Oct 2019 08:23:51 -0700 (PDT) Date: Sat, 12 Oct 2019 08:23:44 -0700 From: Stephen Hemminger To: Alfredo Cardigliano Cc: dev@dpdk.org Message-ID: <20191012082344.23f1bfd0@hermes.lan> In-Reply-To: <157084000193.11524.4069198856747684178.stgit@devele> References: <157083994018.11524.11276616720287263690.stgit@devele> <157084000193.11524.4069198856747684178.stgit@devele> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 03/17] net/ionic: add log 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 Sat, 12 Oct 2019 02:26:41 +0200 Alfredo Cardigliano wrote: > +#ifdef RTE_LIBRTE_IONIC_DEBUG_RX > +#define ionic_rx_print(level, fmt, args...) RTE_LOG(level, PMD, \ > + "%s(): " fmt "\n", __func__, ## args) > +#else > +#define ionic_rx_print(level, fmt, args...) do { } while (0) > +#endif > + > +#ifdef RTE_LIBRTE_IONIC_DEBUG_TX > +#define ionic_tx_print(level, fmt, args...) RTE_LOG(level, PMD, \ > + "%s(): " fmt "\n", __func__, ## args) Please do not add new use of LOGTYPE_PMD, add another level to your existing logtype