From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id B94E29A98 for ; Tue, 1 Mar 2016 16:53:25 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP; 01 Mar 2016 07:53:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,523,1449561600"; d="scan'208";a="57666072" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.160]) ([10.237.220.160]) by fmsmga004.fm.intel.com with ESMTP; 01 Mar 2016 07:53:23 -0800 To: Stephen Hemminger References: <1455284735-9606-1-git-send-email-ferruh.yigit@intel.com> <1456495841-15749-1-git-send-email-ferruh.yigit@intel.com> <1456495841-15749-3-git-send-email-ferruh.yigit@intel.com> <20160229170241.46e32284@xeon-e3> From: Ferruh Yigit X-Enigmail-Draft-Status: N1110 Message-ID: <56D5BAF3.9090508@intel.com> Date: Tue, 1 Mar 2016 15:53:23 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160229170241.46e32284@xeon-e3> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3 2/4] kcp: add kernel control path kernel module X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2016 15:53:26 -0000 On 3/1/2016 1:02 AM, Stephen Hemminger wrote: > On Fri, 26 Feb 2016 14:10:39 +0000 > Ferruh Yigit wrote: > >> +#define KCP_ERR(args...) printk(KERN_ERR "KCP: " args) >> +#define KCP_INFO(args...) printk(KERN_INFO "KCP: " args) >> + >> +#ifdef RTE_KCP_KO_DEBUG >> +#define KCP_DBG(args...) printk(KERN_DEBUG "KCP: " args) >> +#else >> +#define KCP_DBG(args...) >> +#endif > > These macros will not make netdev developers happy. > > Use standard printk macros, and if you want prefix, use pr_fmt > > > #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > Hi Stephen, I removed the macros and send a new version of patch set. v4: http://dpdk.org/dev/patchwork/patch/10950/ Thanks, ferruh