[dpdk-dev] [PATCH v3] cpu_layout.py: adjust output format to align

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jun 19 01:03:50 CEST 2014


> > 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>

Applied for version 1.7.0.

Thanks
-- 
Thomas


More information about the dev mailing list