From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by dpdk.org (Postfix) with ESMTP id 161765A8B for ; Wed, 27 May 2015 20:10:19 +0200 (CEST) Received: by pdea3 with SMTP id a3so22402194pde.2 for ; Wed, 27 May 2015 11:10:18 -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=cTrdGDb+Y3fjjLSJoBrWeddfojW7k6cllsO+mW+oQhY=; b=F+Vr/eYKw+V0dzwfBGteC3iA1xMJi344q9LfXoyEqUtfN6j2DAX0Rls56x0/qTpFs6 lflIa796fbrc+COj1us1U9i9bdwlTXEFIBQRmFheDaJCDZ+HH86tXVeboKzo76+i5jCF 5gfBZDTBRGb1nyXQZ9e4t++SAK7AKdvBamPsYxemeWy06gJYvU31F657wtoULVGFUiY5 QT+D744NVTlX+wgxIqDgj/hZLgrwtmm5Kyf0Jrknwpfcw9tRVBXN6eb6VaI+Au8aIinm +WbxlVwqsX/FWzkhdcc8yV0t61Zc7mwJscWT3jYsotPw1tKyH0+GG8uMOj46lw1dIvF4 14+g== X-Gm-Message-State: ALoCoQnfheovB2LgId/FluYtnECYNHdZwzR0LLhv+cE126S7KQhGlIzjnlGUqvkC6WWvTrRYrhZA X-Received: by 10.69.10.196 with SMTP id ec4mr61401579pbd.69.1432750218474; Wed, 27 May 2015 11:10:18 -0700 (PDT) Received: from urahara.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id db1sm3008254pdb.50.2015.05.27.11.10.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 May 2015 11:10:17 -0700 (PDT) From: Stephen Hemminger To: cristian.dumitrescu@intel.com Date: Wed, 27 May 2015 11:10:14 -0700 Message-Id: <1432750217-4186-3-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1432750217-4186-1-git-send-email-stephen@networkplumber.org> References: <1432750217-4186-1-git-send-email-stephen@networkplumber.org> Cc: dev@dpdk.org, Stephen Hemminger Subject: [dpdk-dev] [PATCH 2/5] 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: Wed, 27 May 2015 18:10:19 -0000 From: Stephen Hemminger 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 3b5acd1..91e16f8 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