From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by dpdk.org (Postfix) with ESMTP id 492788048 for ; Tue, 9 Dec 2014 17:43:27 +0100 (CET) Received: by mail-pa0-f52.google.com with SMTP id eu11so863589pac.25 for ; Tue, 09 Dec 2014 08:43:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=1KAOXzxFgMOXNw4PkuaNTS4q/D73VIDz0vXencJMst4=; b=IMUYvdgaZHenijPn5cbC24EZ4yr/mpc34dWdJxKUct73+3VbQWw7kYeoOLKpcfolrZ e+cmP1+OpB4K5uP9ce/e2ZhQUQcE81yPVi1V5Ympb/Q1utBYZUJa4qsYKY0faz6lhs0u O3DBhzt+fhSgR5e6Gf1nQ9ZaD+h4a00NAA/S8q1aTmWE+NXvm2m9VE1aqGQBWrd1XDjF I7IoDgGRf+Gh86tMS9Hs42SDWiIjVG1SB71vBnPpXC5b+0YuDBQTud0PFmc8b4ryNLmV HDAhZv5QVRFXUEi2VKf3MxP/eAaHnwMQd5g87RpLXEfh0wxTH/xp8LXFVIpLwGtwGvuy t9jQ== X-Gm-Message-State: ALoCoQkbXXsV7kiaUjQmTfoIRfs/KdbgEF41Oh8yAsWDTVgqWOZnUY6dwa8feEchpGD1hLL1edhV X-Received: by 10.70.103.37 with SMTP id ft5mr32398119pdb.159.1418143406590; Tue, 09 Dec 2014 08:43:26 -0800 (PST) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id 1sm1895305pdw.87.2014.12.09.08.43.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Dec 2014 08:43:26 -0800 (PST) Date: Tue, 9 Dec 2014 08:42:50 -0800 From: Stephen Hemminger To: dev@dpdk.org Message-ID: <20141209084250.43d5259c@urahara> In-Reply-To: <20141209084026.2895154e@urahara> References: <20141209084026.2895154e@urahara> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] [PATCH 4/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: Tue, 09 Dec 2014 16:43:27 -0000 syslog does not like tabs in log messages; tab gets translated to #011 Signed-off-by: Stephen Hemminger --- a/lib/librte_sched/rte_sched.c 2014-12-08 09:37:08.741006405 -0800 +++ b/lib/librte_sched/rte_sched.c 2014-12-08 09:37:56.641264631 -0800 @@ -495,10 +495,10 @@ rte_sched_port_log_pipe_profile(struct r 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 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 */