From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by dpdk.org (Postfix) with ESMTP id DFD98CE7 for ; Mon, 8 Dec 2014 18:51:50 +0100 (CET) Received: by mail-pa0-f47.google.com with SMTP id kq14so5653221pab.20 for ; Mon, 08 Dec 2014 09:51:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:user-agent:date:from:to:cc:subject :references:mime-version:content-type:content-disposition; bh=1KAOXzxFgMOXNw4PkuaNTS4q/D73VIDz0vXencJMst4=; b=WyvQMMt9aGI7vfmPimF2vy8bwWSxi10Vx/N9hJSSHJoBNwSaSH0ycUTsJusnqpnvui eAMg3ig+vQokT56MnwdBLna3k+Z4AAB/fhjx/XjbA1Euz6Er+TnEB/APPmm15hBZ55zg Osb0K5WCsjlqrvifr9MJOxD+O6kyfyJRvdc/ElNXK42eSX72kcp4vW0ururnzkMhmenx tU/4mNILhMhb7Q1AeTQuyk1PCL92r6YiMIh0LZCrywdDCuvtZeNMUgBKWN0G32r75zS2 8DasrnsQ68yaA/7itTgEEl1VsKnEiALnE2kRSw4OvLCyg1gkDOPQTWtUk2Eobm/7Naij HWdw== X-Gm-Message-State: ALoCoQkIMW7uwcdEmOHvmTAKMdbPEFhRUVEUsZhd3bdtrpAZ29S7wi/7vwWf+439THErKf0X64Iq X-Received: by 10.70.13.1 with SMTP id d1mr23430276pdc.132.1418061110225; Mon, 08 Dec 2014 09:51:50 -0800 (PST) Received: from localhost (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id w14sm13878417pas.14.2014.12.08.09.51.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Dec 2014 09:51:49 -0800 (PST) X-Mailman-Approved-At: Mon, 08 Dec 2014 20:36:25 +0100 Subject: [dpdk-dev] (no subject) 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: , Date: Mon, 08 Dec 2014 17:51:51 -0000 X-List-Received-Date: Mon, 08 Dec 2014 17:51:51 -0000 Content-Type: text/plain; charset="UTF-8" Message-ID: <20141208175151.rBZP4JId0GJfyyTREeE2tS_DHbS2ix3da_kQhNCfbB0@z> >>From stephen@networkplumber.org Mon Dec 8 09:46:51 2014 Message-Id: <20141208174651.333788346@networkplumber.org> User-Agent: quilt/0.63-1 Date: Mon, 08 Dec 2014 09:46:00 -0800 From: Stephen Hemminger To: Thomas Monjalon Cc: dev@dpdk.org, Stephen Hemminger Subject: [PATCH 6/6] rte_sched: dont put tabs in log messages References: <20141208174554.889069531@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Disposition: inline; filename=rte-sched-no-tab.patch 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 */