From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH] virtio: prettify log messages Date: Wed, 10 Feb 2016 17:12:36 -0800 Message-ID: <20160210171236.77aa24dc@xeon-e3> References: <1455147934-15060-1-git-send-email-vincent.jardin@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Vincent JARDIN Return-path: Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by dpdk.org (Postfix) with ESMTP id 9FE0595CA for ; Thu, 11 Feb 2016 02:12:23 +0100 (CET) Received: by mail-pa0-f48.google.com with SMTP id fl4so8593986pad.0 for ; Wed, 10 Feb 2016 17:12:23 -0800 (PST) In-Reply-To: <1455147934-15060-1-git-send-email-vincent.jardin@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, 11 Feb 2016 00:45:34 +0100 Vincent JARDIN wrote: > PMD_TX_LOG() looks better with a \n > > Signed-off-by: Vincent JARDIN NAK. Yes the messages, are messed up, but this is not the right way to fix it. The logging wrappers are inconsistent in virtio. PMD_INIT_LOG adds newline, but RX/TX/DRV do not. I would rather the macros were aligned with ixgbe which always adds newline for all the PMD_XXX_LOG() macros. And then remove all extra newlines in virtio code.