Re: [dpdk-dev] [PATCH] usertools: use /sys/devices/system/cpu for CPU layout script

2017-04-25 Thread Thomas Monjalon
25/04/2017 12:19, Andriy Berestovskyy: > Hi, > > On 25.04.2017 10:48, Thomas Monjalon wrote: > > Do you think it is really a good idea to keep and maintain this script > > in DPDK? It was intentionnally not exported in "make install". > > I think it is a bit out of scope, and I wonder which altern

Re: [dpdk-dev] [PATCH] usertools: use /sys/devices/system/cpu for CPU layout script

2017-04-25 Thread Andriy Berestovskyy
Hi, On 25.04.2017 10:48, Thomas Monjalon wrote: Do you think it is really a good idea to keep and maintain this script in DPDK? It was intentionnally not exported in "make install". I think it is a bit out of scope, and I wonder which alternatives do we have? I know hwloc/lstopo, but there are p

Re: [dpdk-dev] [PATCH] usertools: use /sys/devices/system/cpu for CPU layout script

2017-04-25 Thread Thomas Monjalon
Hi, 31/03/2017 14:21, Andriy Berestovskyy: > Some platforms do not have core/socket info in /proc/cpuinfo. > > Signed-off-by: Andriy Berestovskyy > --- > usertools/cpu_layout.py | 53 > + > 1 file changed, 23 insertions(+), 30 deletions(-) Appli

[dpdk-dev] [PATCH] usertools: use /sys/devices/system/cpu for CPU layout script

2017-03-31 Thread Andriy Berestovskyy
Some platforms do not have core/socket info in /proc/cpuinfo. Signed-off-by: Andriy Berestovskyy --- usertools/cpu_layout.py | 53 + 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/usertools/cpu_layout.py b/usertools/cpu_layout.py i