From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 3B390B7C1 for ; Fri, 20 Feb 2015 19:33:16 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 20 Feb 2015 10:27:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,616,1418112000"; d="scan'208";a="654935631" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by orsmga001.jf.intel.com with ESMTP; 20 Feb 2015 10:33:10 -0800 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by IRSMSX104.ger.corp.intel.com (163.33.3.159) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 20 Feb 2015 18:33:09 +0000 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.218]) by irsmsx155.ger.corp.intel.com ([169.254.14.159]) with mapi id 14.03.0195.001; Fri, 20 Feb 2015 18:33:09 +0000 From: "Dumitrescu, Cristian" To: Stephen Hemminger , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 5/7] rte_sched: don't put tabs in log messages Thread-Index: AQHQQQsLZkFHqdhcL0eHfHltzZMhPZz59Rbw Date: Fri, 20 Feb 2015 18:33:09 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D891263231B2AF@IRSMSX108.ger.corp.intel.com> References: <1423116841-19799-4-git-send-email-stephen@networkplumber.org> <1423116841-19799-5-git-send-email-stephen@networkplumber.org> In-Reply-To: <1423116841-19799-5-git-send-email-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Cc: Stephen Hemminger Subject: Re: [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: Fri, 20 Feb 2015 18:33:16 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Thursday, February 5, 2015 6:14 AM > To: dev@dpdk.org > Cc: Stephen Hemminger > Subject: [dpdk-dev] [PATCH v2 5/7] rte_sched: don't put tabs in log > messages > = > 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 =3D port->pipe_profiles + i; > = > RTE_LOG(INFO, SCHED, "Low level config for pipe profile %u:\n" > - "\tToken bucket: period =3D %u, credits per period =3D %u, size =3D > %u\n" > - "\tTraffic classes: period =3D %u, credits per period =3D [%u, %u, > %u, %u]\n" > - "\tTraffic class 3 oversubscription: weight =3D %hhu\n" > - "\tWRR cost: [%hhu, %hhu, %hhu, %hhu], [%hhu, %hhu, > %hhu, %hhu], [%hhu, %hhu, %hhu, %hhu], [%hhu, %hhu, %hhu, %hhu]\n", > + " Token bucket: period =3D %u, credits per period =3D %u, size =3D > %u\n" > + " Traffic classes: period =3D %u, credits per period =3D [%u, %u, > %u, %u]\n" > + " Traffic class 3 oversubscription: weight =3D %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 =3D port->subport + i; > = > RTE_LOG(INFO, SCHED, "Low level config for subport %u:\n" > - "\tToken bucket: period =3D %u, credits per period =3D %u, size =3D > %u\n" > - "\tTraffic classes: period =3D %u, credits per period =3D [%u, %u, > %u, %u]\n" > - "\tTraffic class 3 oversubscription: wm min =3D %u, wm max =3D > %u\n", > + " Token bucket: period =3D %u, credits per period =3D %u, size =3D > %u\n" > + " Traffic classes: period =3D %u, credits per period =3D [%u, %u, > %u, %u]\n" > + " Traffic class 3 oversubscription: wm min =3D %u, wm max =3D > %u\n", > i, > = > /* Token bucket */ > -- > 2.1.4 Acked by: Cristian Dumitrescu -------------------------------------------------------------- Intel Shannon Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263 Business address: Dromore House, East Park, Shannon, Co. Clare This e-mail and any attachments may contain confidential material for the s= ole use of the intended recipient(s). Any review or distribution by others = is strictly prohibited. If you are not the intended recipient, please conta= ct the sender and delete all copies.