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 63F71A0A02; Tue, 23 Mar 2021 15:45:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2E58F4069E; Tue, 23 Mar 2021 15:45:08 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id B186140689 for ; Tue, 23 Mar 2021 15:45:05 +0100 (CET) IronPort-SDR: nUyAoYd4vXviaaZuoXUrFK6wVy3E6wCxH9lRRFZEu9Fqp5rIs4jsSxye8s3ZO+mbIwhrtEk2Dt NQWYrZ1yzfjA== X-IronPort-AV: E=McAfee;i="6000,8403,9931"; a="251847140" X-IronPort-AV: E=Sophos;i="5.81,271,1610438400"; d="scan'208";a="251847140" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2021 07:45:03 -0700 IronPort-SDR: ZkEhZQNmbayipi3NY+1YoZ1ZBy6InlV4aWNL1cQ+s+vFbSytcuF8LQpY1OQBcS7MB3ZeIH5MZH JW2esSPEokYA== X-IronPort-AV: E=Sophos;i="5.81,271,1610438400"; d="scan'208";a="604322752" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.252.14.45]) ([10.252.14.45]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2021 07:44:58 -0700 To: Qi Zhang 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 References: <20210310121626.2019863-1-qi.z.zhang@intel.com> <20210323110749.2306452-1-qi.z.zhang@intel.com> <20210323110749.2306452-2-qi.z.zhang@intel.com> From: Ferruh Yigit X-User: ferruhy Message-ID: Date: Tue, 23 Mar 2021 14:44:51 +0000 MIME-Version: 1.0 In-Reply-To: <20210323110749.2306452-2-qi.z.zhang@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v5 1/8] 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" On 3/23/2021 11:07 AM, Qi Zhang wrote: > 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. > > The patch introduces below build options for data path debug, so PMD > can choose to reuse them to avoid maintain their own. > > - RTE_ETHDEV_DEBUG_RX > - RTE_ETHDEV_DEBUG_TX > > All the build options are documented at programming guide > "3.1 Driver Option", so users can easily find them. > > The original undocumented RTE_LIBRTE_ETHDEV_DEBUG will alias to > both RTE_ETHDEV_DEBUG_RX and RTE_ETHDEV_DEBUG_TX for backward > compatibility. > > Signed-off-by: Qi Zhang ethdev: ... can fix while merging.