From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id DC8632BE5 for ; Tue, 19 Jun 2018 02:05:23 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jun 2018 17:05:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,241,1526367600"; d="scan'208";a="60275276" Received: from silpixa00399752.ir.intel.com (HELO silpixa00399752.ger.corp.intel.com) ([10.237.222.212]) by orsmga003.jf.intel.com with ESMTP; 18 Jun 2018 17:05:22 -0700 From: Ferruh Yigit To: Thomas Monjalon Cc: dev@dpdk.org, Ferruh Yigit Date: Tue, 19 Jun 2018 02:04:57 +0100 Message-Id: <20180619010457.61490-3-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180619010457.61490-1-ferruh.yigit@intel.com> References: <20180514155648.81149-1-ferruh.yigit@intel.com> <20180619010457.61490-1-ferruh.yigit@intel.com> Subject: [dpdk-dev] [PATCH v4 3/3] eal: don't enable static log macro for ethdev 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: , X-List-Received-Date: Tue, 19 Jun 2018 00:05:24 -0000 static logging macro RTE_PMD_DEBUG_TRACE is enabled with a few DEBUG config options, including RTE_LIBRTE_ETHDEV_DEBUG RTE_LIBRTE_ETHDEV_DEBUG is still used for data path logging, but all ethdev logging switched to dynamic logging, so no need to enable static logging macro for ethdev. Signed-off-by: Ferruh Yigit --- lib/librte_eal/common/include/rte_dev.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h index 3879ff3ca..ba6e445fc 100644 --- a/lib/librte_eal/common/include/rte_dev.h +++ b/lib/librte_eal/common/include/rte_dev.h @@ -69,8 +69,7 @@ rte_pmd_debug_trace(const char *func_name, const char *fmt, ...) * Enable RTE_PMD_DEBUG_TRACE() when at least one component relying on the * RTE_*_RET() macros defined below is compiled in debug mode. */ -#if defined(RTE_LIBRTE_ETHDEV_DEBUG) || \ - defined(RTE_LIBRTE_CRYPTODEV_DEBUG) || \ +#if defined(RTE_LIBRTE_CRYPTODEV_DEBUG) || \ defined(RTE_LIBRTE_EVENTDEV_DEBUG) #define RTE_PMD_DEBUG_TRACE(...) \ rte_pmd_debug_trace(__func__, __VA_ARGS__) -- 2.17.1