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 B5A93A0547; Fri, 12 Mar 2021 13:08:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53E37160882; Fri, 12 Mar 2021 13:08:40 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id D50B8406FF for ; Fri, 12 Mar 2021 13:08:38 +0100 (CET) IronPort-SDR: y3kSHyCsTSY6FRNYn4E3Jih4brosz8s7VgXi7iWaVnw65RI9etj0TTVnqDovEoO12O4IRNRHyw ISpYezQUfV4w== X-IronPort-AV: E=McAfee;i="6000,8403,9920"; a="208662799" X-IronPort-AV: E=Sophos;i="5.81,243,1610438400"; d="scan'208";a="208662799" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2021 04:08:37 -0800 IronPort-SDR: LL2+4YTHoPwvpoE8gRcTmp5KRbcnPXTJOgorKDSpaqW1BTiKl6ILRj7SJwWE3pJ9ZOCNocmXKa Kv+VNAFMkKsQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,243,1610438400"; d="scan'208";a="521408187" Received: from dpdk51.sh.intel.com ([10.67.111.142]) by orsmga004.jf.intel.com with ESMTP; 12 Mar 2021 04:08:35 -0800 From: Qi Zhang To: ferruh.yigit@intel.com Cc: dev@dpdk.org, 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: Fri, 12 Mar 2021 20:12:15 +0800 Message-Id: <20210312121223.2028029-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 v2 0/8] ether: refine debug compile 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 compile 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/8: introduces new compile options for specific Rx/Tx data path debug in ether layer, so PMD can choose to reuse them to avoid maintain their own. - RTE_LIBRTE_ETHDEV_DEBUG_RX - RTE_LIBRTE_ETHDEV_DEBUG_TX Patch 2/8 - 8/8: refine all the compile option for Intel PMDs. v2: - fix some coding style issues. Qi Zhang (8): ether: refine debug compile option net/fm10k: refine debug compile option net/e1000: refine debug compile option net/i40e: refine debug compile option net/iavf: refine debug compile option net/ice: refine debug compile option net/ixgbe: refine debug compile option net/igc: refine debug compile option doc/guides/nics/overview.rst | 20 ++++++++++ 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/fm10k/fm10k_ethdev.c | 7 +--- drivers/net/fm10k/fm10k_logs.h | 13 +------ drivers/net/fm10k/fm10k_rxtx.c | 8 ++-- 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 ++++++++++++++++---------------- lib/librte_ethdev/rte_ethdev.h | 16 ++++---- 23 files changed, 135 insertions(+), 193 deletions(-) -- 2.26.2