From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id EAC8195EC for ; Thu, 23 Jun 2016 12:58:21 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 23 Jun 2016 03:58:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,509,1459839600"; d="scan'208";a="723878358" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.221.24]) ([10.237.221.24]) by FMSMGA003.fm.intel.com with ESMTP; 23 Jun 2016 03:58:19 -0700 To: =?UTF-8?Q?Simon_K=c3=a5gstr=c3=b6m?= , Stephen Hemminger References: <20160620124435.23d43f28@miho> <20160620091940.75a37c54@xeon-e3> <57693D00.5090400@intel.com> <576A396A.8070407@netinsight.net> Cc: olivier.matz@6wind.com, dev@dpdk.org From: Ferruh Yigit Message-ID: <576BC0CB.6010507@intel.com> Date: Thu, 23 Jun 2016 11:58:19 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <576A396A.8070407@netinsight.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] PATCH] mbuf: rte_pktmbuf_dump: don't add 0x when using %p in format strings 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: Thu, 23 Jun 2016 10:58:22 -0000 On 6/22/2016 8:08 AM, Simon Kågström wrote: > On 2016-06-21 15:11, Ferruh Yigit wrote: >> On 6/20/2016 5:19 PM, Stephen Hemminger wrote: >>> On Mon, 20 Jun 2016 12:44:35 +0200 >>> Simon Kagstrom wrote: >>> >>>> I.e., avoid dump messages with double 0x0x, e.g., >>>> >>>> dump mbuf at 0x0x7fac7b17c800, phys=17b17c880, buf_len=2176 >>>> pkt_len=2064, ol_flags=0, nb_segs=1, in_port=255 >>>> segment at 0x0x7fac7b17c800, data=0x0x7fac7b17c8f0, data_len=2064 >>>> >>>> Signed-off-by: Simon Kagstrom >>> >>> Agreed. Many other places have same glitch. >> >> Are you planning to extend your patch to fix all, or I can send a patch >> for kni and vmxnet3? > > I wasn't planning on that (this is something I just stumbled upon), so > please go ahead! > For KNI, 0x%p is valid usage for printk(), so only sending patch for vmxnet3. Thanks, ferruh