From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 67420A00C2; Wed, 17 Mar 2021 12:12:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D780C4069F; Wed, 17 Mar 2021 12:12:08 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id B6F5840687 for ; Wed, 17 Mar 2021 12:12:07 +0100 (CET) IronPort-SDR: YrHHG6AugMM2M6CNqCiTDnba3LEZHJbEtOj0QG9rJh6m+GwzcF0CD1p3L6omyOWZGmOo2cswkn x+cxdoupLn7A== X-IronPort-AV: E=McAfee;i="6000,8403,9925"; a="176570678" X-IronPort-AV: E=Sophos;i="5.81,256,1610438400"; d="scan'208";a="176570678" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2021 04:12:06 -0700 IronPort-SDR: uvsVIkl+QQC4UypU5L54KM159inLlTQfA79Nw1/LnVCoqopqGPZJF37lV8niUyVrCUJmRzYSN7 itnJ9PRMBEtA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,256,1610438400"; d="scan'208";a="411428938" Received: from dpdk51.sh.intel.com ([10.67.111.142]) by orsmga007.jf.intel.com with ESMTP; 17 Mar 2021 04:12:03 -0700 From: Qi Zhang To: ferruh.yigit@intel.com Cc: dev@dpdk.org, thomas@monjalon.net, bruce.richardson@intel.com, xiao.w.wang@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com, jia.guo@intel.com, qiming.yang@intel.com, haiyue.wang@intel.com, Qi Zhang Date: Wed, 17 Mar 2021 19:15:42 +0800 Message-Id: <20210317111551.2215332-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210310121626.2019863-1-qi.z.zhang@intel.com> References: <20210310121626.2019863-1-qi.z.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/9] ether: refine debug build option X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" PMDs use RTE_LIBRTE__DEBUG_RX|TX as build option to wrap data path debug code. As .config has been removed since the meson build, It is not friendly for new DPDK users to notice those debug options. Patch 1/9: introduces new compile options for data path debug in ether layer, PMD can choose to reuse them to avoid maintain their own. - RTE_ETHDEV_DEBUG - RTE_ETHDEV_DEBUG_RX - RTE_ETHDEV_DEBUG_TX Patch 2/9: replace all RTE_LIBRTE_ETHDEV_DEBUG with RTE_ETHDEV_DEBUG in all PMDs Patch 3/9 - 9/9: refine the build option for Intel PMDs by using the new build options v3: - rename "RTE_LIBRTE_ETHDEV_xxx" to "RTE_ETHDEV_xxx" - move document from "overview.rst" page to "build_and_test.rst" - fix grammar issues. v2: - fix some coding style issues. Qi Zhang (9): ether: refine debug build option net: replace build option net/fm10k: refine debug build option net/e1000: refine debug build option net/i40e: refine debug build option net/iavf: refine debug build option net/ice: refine debug build option net/ixgbe: refine debug build option net/igc: refine debug build option doc/guides/nics/build_and_test.rst | 20 ++++++ drivers/net/ark/ark_logs.h | 2 +- drivers/net/atlantic/atl_rxtx.c | 2 +- drivers/net/e1000/e1000_logs.c | 17 ++---- drivers/net/e1000/e1000_logs.h | 13 +--- drivers/net/e1000/em_rxtx.c | 38 ++++++------ drivers/net/e1000/igb_rxtx.c | 2 +- drivers/net/ena/ena_ethdev.c | 2 +- drivers/net/enic/enic_rxtx.c | 2 +- drivers/net/fm10k/fm10k_ethdev.c | 7 +-- drivers/net/fm10k/fm10k_logs.h | 13 +--- drivers/net/fm10k/fm10k_rxtx.c | 8 +-- drivers/net/hinic/hinic_pmd_tx.c | 2 +- drivers/net/hns3/hns3_rxtx.c | 4 +- drivers/net/i40e/i40e_ethdev.c | 7 +-- drivers/net/i40e/i40e_logs.h | 13 +--- drivers/net/i40e/i40e_rxtx.c | 16 ++--- drivers/net/iavf/iavf_ethdev.c | 7 +-- drivers/net/iavf/iavf_log.h | 13 +--- drivers/net/iavf/iavf_rxtx.c | 8 +-- drivers/net/ice/ice_ethdev.c | 7 +-- drivers/net/ice/ice_logs.h | 13 +--- drivers/net/ice/ice_rxtx.c | 20 +++--- drivers/net/igc/igc_logs.h | 4 +- drivers/net/igc/igc_txrx.c | 2 +- drivers/net/ixgbe/ixgbe_ethdev.c | 7 +-- drivers/net/ixgbe/ixgbe_logs.h | 13 +--- drivers/net/ixgbe/ixgbe_rxtx.c | 64 ++++++++++---------- drivers/net/qede/qede_rxtx.c | 4 +- drivers/net/softnic/rte_eth_softnic.c | 2 +- drivers/net/softnic/rte_eth_softnic_thread.c | 2 +- drivers/net/txgbe/txgbe_rxtx.c | 2 +- drivers/net/virtio/virtio_rxtx.c | 2 +- drivers/net/vmxnet3/vmxnet3_rxtx.c | 2 +- lib/librte_ethdev/rte_ethdev.h | 16 ++--- 35 files changed, 149 insertions(+), 207 deletions(-) -- 2.26.2