From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by dpdk.org (Postfix) with ESMTP id 51874B406 for ; Thu, 5 Feb 2015 07:14:18 +0100 (CET) Received: by pdbnh10 with SMTP id nh10so3140441pdb.0 for ; Wed, 04 Feb 2015 22:14:17 -0800 (PST) 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=aUT26T4Fag5NKJwbmFWWJGUst+zOJEZeWPZoSG0Sqio=; b=Mz85ZXXIp8ia+oKJwj3cLKQ6qWFFaFkwXstx8iG3/lQRJLik5EARdDx1tsSQrjzydO 91t+S9twIsJYK9LOp3fbeGBMwl6Bz2xukxDdVDq5p7kZypSBv9HSBox4KvN/sZGm09Vh fh/pLKBvJaOEmEYIaxVEC1fDusU/eRErNL6nSrFdF1+FO3oRkgd/HHaEYqLdqIh9m1+D gv0vLpLmr5B3bs3f0Bg3oyhjYBGnwgV8vXkORwyHuwSUYd5qBhp2iHr1bcaKlwAF59B2 lkOdu4D194b2gh7z5cjq+cnYAJ9CqxODZRc6Hrh7htfaPBUqY9eBHAAhxMVHYLQxdvVT JgYA== X-Gm-Message-State: ALoCoQlN9MeNP8/601GWKmNfNyoAK+xbz7uSTdUTLCNdCMNi2frJWxEqfIHWsIGYCVfqAdTP+z0X X-Received: by 10.66.249.39 with SMTP id yr7mr2688122pac.43.1423116857732; Wed, 04 Feb 2015 22:14:17 -0800 (PST) Received: from urahara.brocade.com (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id ib3sm3848178pbc.41.2015.02.04.22.14.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Feb 2015 22:14:17 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Date: Wed, 4 Feb 2015 22:13:59 -0800 Message-Id: <1423116841-19799-5-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1423116841-19799-4-git-send-email-stephen@networkplumber.org> References: <1423116841-19799-4-git-send-email-stephen@networkplumber.org> Cc: Stephen Hemminger Subject: [dpdk-dev] [PATCH v2 5/7] 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, 05 Feb 2015 06:14:18 -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 d891e50..55fbc14 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