From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by dpdk.org (Postfix) with ESMTP id BAAC45A86 for ; Thu, 16 Jul 2015 23:34:30 +0200 (CEST) Received: by pdbqm3 with SMTP id qm3so50427032pdb.0 for ; Thu, 16 Jul 2015 14:34:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9+EYlIHrIYtqX6GbUz42+jOPsCB/Jz+SM3fr4/NIR/U=; b=BtNIVV74mCvMmorn5hS41k5Yndvpa4ehgVPpWwVqyapLXPoomyN7L5pSsEgBSAWX0d Y3KIWwFNVXuUjSAz4OTiOjgZYzdXwQ7YUpTlPPKW9PVcwBFQaRqx8juF/uSFUORvIWPG xAf+AcpxKjYn00QKjeQ2w6cxQduSuiqFqXYIDhkZfKcAnLalXB+qiRorGgZyl2s9XRH0 2j+1vWrCcPv4VeHEOz6tY5QXT0RopyXg9b/Pl47TpRFtvVI5yP9z1S8zAprPj6tUL/50 LW+QFkVkjpX/XisDMmtuc4WKYZloY5wIN6iICIulVvovD1aOfpAlu3PaDTdneJbsfCq5 e45A== X-Gm-Message-State: ALoCoQk1kFcy5dyzLHXT6vpHzbLqQ8UgUszmZuxEOA+5HUn5jwlgxZ6sHqX5eXHp/ppk8Sr/OsOT X-Received: by 10.70.123.37 with SMTP id lx5mr22413691pdb.83.1437082470218; Thu, 16 Jul 2015 14:34:30 -0700 (PDT) Received: from urahara.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id xz1sm8922081pbc.52.2015.07.16.14.34.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Jul 2015 14:34:29 -0700 (PDT) From: Stephen Hemminger To: Cristian Dumitrescu Date: Thu, 16 Jul 2015 14:34:33 -0700 Message-Id: <1437082475-3241-3-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1437082475-3241-1-git-send-email-stephen@networkplumber.org> References: <1437082475-3241-1-git-send-email-stephen@networkplumber.org> Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH v5 2/4] rte_sched: don't put tabs in log messages 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, 16 Jul 2015 21:34:31 -0000 syslog does not like tabs in log messages; tab gets translated to #011 Signed-off-by: Stephen Hemminger --- lib/librte_sched/rte_sched.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c index 6928c98..1fd2cce 100644 --- a/lib/librte_sched/rte_sched.c +++ b/lib/librte_sched/rte_sched.c @@ -495,10 +495,10 @@ rte_sched_port_log_pipe_profile(struct rte_sched_port *port, uint32_t i) struct rte_sched_pipe_profile *p = port->pipe_profiles + i; RTE_LOG(INFO, SCHED, "Low level config for pipe profile %u:\n" - "\tToken bucket: period = %u, credits per period = %u, size = %u\n" - "\tTraffic classes: period = %u, credits per period = [%u, %u, %u, %u]\n" - "\tTraffic class 3 oversubscription: weight = %hhu\n" - "\tWRR cost: [%hhu, %hhu, %hhu, %hhu], [%hhu, %hhu, %hhu, %hhu], [%hhu, %hhu, %hhu, %hhu], [%hhu, %hhu, %hhu, %hhu]\n", + " Token bucket: period = %u, credits per period = %u, size = %u\n" + " Traffic classes: period = %u, credits per period = [%u, %u, %u, %u]\n" + " Traffic class 3 oversubscription: weight = %hhu\n" + " WRR cost: [%hhu, %hhu, %hhu, %hhu], [%hhu, %hhu, %hhu, %hhu], [%hhu, %hhu, %hhu, %hhu], [%hhu, %hhu, %hhu, %hhu]\n", i, /* Token bucket */ @@ -716,9 +716,9 @@ rte_sched_port_log_subport_config(struct rte_sched_port *port, uint32_t i) struct rte_sched_subport *s = port->subport + i; RTE_LOG(INFO, SCHED, "Low level config for subport %u:\n" - "\tToken bucket: period = %u, credits per period = %u, size = %u\n" - "\tTraffic classes: period = %u, credits per period = [%u, %u, %u, %u]\n" - "\tTraffic class 3 oversubscription: wm min = %u, wm max = %u\n", + " Token bucket: period = %u, credits per period = %u, size = %u\n" + " Traffic classes: period = %u, credits per period = [%u, %u, %u, %u]\n" + " Traffic class 3 oversubscription: wm min = %u, wm max = %u\n", i, /* Token bucket */ -- 2.1.4