From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by dpdk.org (Postfix) with ESMTP id 761395A34 for ; Mon, 11 May 2015 19:07:56 +0200 (CEST) Received: by pacwv17 with SMTP id wv17so114630122pac.0 for ; Mon, 11 May 2015 10:07:55 -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=fioQrmf/QFG9hJ+icKgJilAN8Q/81WpEQ2btvuytB1s=; b=PPssCqnBJIX9PrKTX6rlMyhr4pw1rsWdvQi2RsTR4+6MYd8p53SQmQuxRRHXVqTGej gLVfZ9OT3S84MSx/w4m9pXshK1ojIYWQUbI3butueYtGc2NIb6+KpNyfP8ZXpdakn5rt Tt91hgmQoi516AqNdkBy70L4wy+w2ruVnxERCTDVEI9RggWVKNaaGQJQI8eoQ/9pBNZD LaHkYF+7jAzbp7BcZfB8VF6ZsUsj3gtxcUQ68Ni9fld9J5/pRR17YpSlgpPTnaHbycV5 itnpdg6JlqpItc9ao4OQBUuCQaCfnRTErUWFw2mT2oVVpeuDrCZ1w0JuPL01614sw3jq /7Fw== X-Gm-Message-State: ALoCoQlp/JKI+4mq5OXQwru59Id1tPcRQIVLuvK01edQsHwPN7PsQLt0KRflBalzyYnZ3HiQ6tQu X-Received: by 10.66.145.162 with SMTP id sv2mr20703503pab.124.1431364075869; Mon, 11 May 2015 10:07:55 -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 hv7sm13650018pdb.86.2015.05.11.10.07.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 May 2015 10:07:55 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Date: Mon, 11 May 2015 10:07:50 -0700 Message-Id: <1431364071-27298-6-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1431364071-27298-1-git-send-email-stephen@networkplumber.org> References: <1431364071-27298-1-git-send-email-stephen@networkplumber.org> Cc: Stephen Hemminger Subject: [dpdk-dev] [PATCH 5/6] 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: Mon, 11 May 2015 17:07:57 -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 74b3111..b8d036a 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