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

2014-06-18 Thread Shannon Zhao
mum length of the "core id" and "processor" Socket 0Socket 1 Core 9 [4, 16] [10, 22] Core 10 [5, 17] [11, 23] Signed-off-by: Shannon Zhao --- tools/cpu_layout.py | 18 -- 1 file changed, 12 inser

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

2014-05-29 Thread Shannon Zhao
mum length of the "core id" and "processor" Socket 0Socket 1 Core 9 [4, 16] [10, 22] Core 10 [5, 17] [11, 23] Signed-off-by: Shannon Zhao --- tools/cpu_layout.py | 14 ++ 1 file changed, 10 insertions(

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

2014-05-29 Thread Shannon Zhao
Hi Thomas, Thanks for your advice. I'll modify the patch and send it as 'patch v3' later. On 2014/5/29 15:22, Thomas Monjalon wrote: > Hi Shannon, > > I feel this version is better but it's really complicated to read. > >> +max_processor_len=len(str(len(cores)*len(sockets)*2-1)) >>

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

2014-05-29 Thread Shannon Zhao
mum length of the "core id" and "processor" Socket 0Socket 1 - - Core 9 [4, 16] [10, 22] Core 10 [5, 17] [11, 23] Signed-off-by: Shannon Zhao --- tools/cpu_layout.py | 16 1 file changed, 12 insertions(

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

2014-05-28 Thread Shannon Zhao
align Socket 0Socket 1 - - Core 9 [4, 16] [10, 22] Core 10 [5, 17] [11, 23] Signed-off-by: Shannon Zhao --- tools/cpu_layout.py | 16 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/tools/cpu_layout.py b/tools/cpu_layout.py i