From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 57DC5AFD5 for ; Wed, 30 Apr 2014 16:14:56 +0200 (CEST) Received: by mail-wg0-f44.google.com with SMTP id a1so242170wgh.15 for ; Wed, 30 Apr 2014 07:15:00 -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; bh=zKZKXNuD1tyAl4T9rs2uav+xdFPS3hjGEdfQ477OBsU=; b=iRodFz+Jp3bqgY/qTTXxeSeQgpqu7uCq547xmiwtP5dEUshuOXgzY0QIQZ63fHOllo jRxfumU2JNooBHp2jvB3Ial5qMhppw3q7X4eIocFPO6eT3OmdZZcXIzA9/Qn5s1xoFHj eDRT8ZBgK3xB2m70UpwrXpfLtELh5LKs0GjbBWC65xG1j0ZI/tKO5fMIfX5S6gad+o4i V5Sn1rX3YhHMWrY6SSKiM21g5uGJxbxRanqqG96xbZggVOFNuMA8z5bi54VGBclbz+Sd qrn4gwzWf+F6V/fA6lV2cTH+elyqRw4kkqVI1dIqTzWK+t6p4Yz4xhZeBByK2E/vRH05 w4aA== X-Gm-Message-State: ALoCoQmZHQGBZGJI3vX7hGeF33845XPB1hhVo1pnaGQb9TvbFO/ih3/WfOQCTjxg3gvKe2Wflvnb X-Received: by 10.194.176.226 with SMTP id cl2mr2810415wjc.55.1398867300255; Wed, 30 Apr 2014 07:15:00 -0700 (PDT) Received: from alcyon.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id ph8sm36365653wjb.32.2014.04.30.07.14.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Apr 2014 07:14:59 -0700 (PDT) From: David Marchand To: dev@dpdk.org Date: Wed, 30 Apr 2014 16:14:53 +0200 Message-Id: <1398867293-18406-1-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.7.10.4 Subject: [dpdk-dev] [PATCH RFC] eal: remove useless output 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: Wed, 30 Apr 2014 14:14:56 -0000 From: Didier Pallard Increasing maximum number of lcores gives a huge place to undetected lcores in output traces. Moreover, this output does not give any interesting information, since list of undetected lcores can be deduced from list of detected ones. So remove output related to undetected cores. Signed-off-by: Didier Pallard --- lib/librte_eal/bsdapp/eal/eal_lcore.c | 1 - lib/librte_eal/linuxapp/eal/eal_lcore.c | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/librte_eal/bsdapp/eal/eal_lcore.c b/lib/librte_eal/bsdapp/eal/eal_lcore.c index e2f3793..81b5f13 100644 --- a/lib/librte_eal/bsdapp/eal/eal_lcore.c +++ b/lib/librte_eal/bsdapp/eal/eal_lcore.c @@ -77,7 +77,6 @@ rte_eal_cpu_init(void) lcore_config[lcore_id].detected = (lcore_id < ncpus); if (lcore_config[lcore_id].detected == 0) { - RTE_LOG(DEBUG, EAL, "Skip lcore %u (not detected)\n", lcore_id); config->lcore_role[lcore_id] = ROLE_OFF; continue; } diff --git a/lib/librte_eal/linuxapp/eal/eal_lcore.c b/lib/librte_eal/linuxapp/eal/eal_lcore.c index d310d85..03f4ba3 100644 --- a/lib/librte_eal/linuxapp/eal/eal_lcore.c +++ b/lib/librte_eal/linuxapp/eal/eal_lcore.c @@ -158,7 +158,6 @@ rte_eal_cpu_init(void) for (lcore_id = 0; lcore_id < RTE_MAX_LCORE; lcore_id++) { lcore_config[lcore_id].detected = cpu_detected(lcore_id); if (lcore_config[lcore_id].detected == 0) { - RTE_LOG(DEBUG, EAL, "Skip lcore %u (not detected)\n", lcore_id); config->lcore_role[lcore_id] = ROLE_OFF; continue; } -- 1.7.10.4