[dpdk-dev] [PATCH v3] cpu_layout.py: adjust output format to align
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Wed Jun 18 20:17:18 CEST 2014
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Shannon Zhao
> Sent: Wednesday, June 18, 2014 5:18 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v3] cpu_layout.py: adjust output format to align
>
> 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 <zhaoshenglong at huawei.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
More information about the dev
mailing list