From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by dpdk.org (Postfix) with ESMTP id 9EB9C2A7 for ; Thu, 19 Jun 2014 01:03:37 +0200 (CEST) Received: by mail-wi0-f177.google.com with SMTP id r20so1953139wiv.4 for ; Wed, 18 Jun 2014 16:03:53 -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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=nFp/PPgdVgYcCnIpP35Rvtzbclq46c+OyyQcEROlMo0=; b=RcEWV5s3ylkt5l8Dks3fZ1SoFE5Lq7kKQ+qoXRHW3khB1Fnf0/RCi7YqmzuR3n2bRu IEZuBfCwRcnC7MX7fCzEB6JYLgI3jUQAhdbLmlPX+5gcpptsccVKgO7wJCKFXAHZWE5Z ckISQfn6mvjkRaDPn5FITvbyLzB70LBWxAuA8uVHn1kizjKZRyLqnJefhzsLJJ4RSJYn SaK+9DBsWyC9ad+SgC9VMYcGKGFqBFHcz0wJyODUPoAX30CqF45ZUlnafFdNT0EXTo5w ZSx1i9Oiy9ivks3L+ob+u/WK6V+vceP5/smRx3GRnsrvv07apaBsgWVZcjDQWpUXsovn igrA== X-Gm-Message-State: ALoCoQnKi3428HEWGmY9KEiGeP8CxpQiPcO1a9cA6cjZqZum+k6MSBIaHA75mvUcT61rkPdsimAE X-Received: by 10.180.37.42 with SMTP id v10mr1126175wij.43.1403132633835; Wed, 18 Jun 2014 16:03:53 -0700 (PDT) Received: from xps13.localnet (ip-96.net-80-236-123.rev.numericable.fr. [80.236.123.96]) by mx.google.com with ESMTPSA id dj2sm23206708wib.11.2014.06.18.16.03.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jun 2014 16:03:52 -0700 (PDT) From: Thomas Monjalon To: Shannon Zhao Date: Thu, 19 Jun 2014 01:03:50 +0200 Message-ID: <3654617.qcB8tURc7F@xps13> Organization: 6WIND User-Agent: KMail/4.13.1 (Linux/3.14.6-1-ARCH; KDE/4.13.1; x86_64; ; ) In-Reply-To: References: <2140757.fj3Ic02JMu@xps13> <1403065095-11092-1-git-send-email-zhaoshenglong@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3] cpu_layout.py: adjust output format to align 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, 18 Jun 2014 23:03:38 -0000 > > Bug: when "core id" is greater than 9, the cpu_layout.py output doesn't > > align.> > > Socket 0 Socket 1 > > --------- --------- > > > > Core 9 [4, 16] [10, 22] > > > > Core 10 [5, 17] [11, 23] > > > > Solution: adjust output format to align based on the maximum length of the > > "core id" and "processor" > > > > Socket 0 Socket 1 > > -------- -------- > > > > Core 9 [4, 16] [10, 22] > > > > Core 10 [5, 17] [11, 23] > > > > Signed-off-by: Shannon Zhao > > Acked-by: Pablo de Lara Applied for version 1.7.0. Thanks -- Thomas