numam-dpdk/usertools
Gowrishankar Muthukrishnan 63985c5f10 usertools: fix CPU layout for more than 2 threads
Current usertools/cpu_layout.py is broken to handle multithreads
of count more than 2 as in IBM powerpc P8 servers.
Below patch addressed this issue.

Also, added minor exception catch on failing to open unavailable
sys file in case of multithread=off configuration in server.

Patch has been verified not to break existing topology configurations
and also not changing anything in current output.

Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Reviewed-by: Andriy Berestovskyy <andriy.berestovskyy@caviumnetworks.com>
2017-04-30 15:28:01 +02:00
..
cpu_layout.py usertools: fix CPU layout for more than 2 threads 2017-04-30 15:28:01 +02:00
dpdk-devbind.py usertools: add --status-dev option to devbind 2017-04-30 15:28:01 +02:00
dpdk-pmdinfo.py tools: move to usertools 2017-01-04 21:17:32 +01:00
dpdk-setup.sh tools: move to usertools 2017-01-04 21:17:32 +01:00