DPDK cpu layout script won't work on non x86
The format and layout of /proc/cpuinfo changes on different architectures, therefore the DPDK cpu_layout.py tool doesn't work.
Could you please change the tool to use sysfs /sys/devices/system/cpu/cpuN/topology/ instead? Then the script would be portable and use the same files as the DPDK use internally when mapping out cores.
Quoted 6 lines
The format and layout of
/proc/cpuinfochanges on different architectures, therefore the DPDKcpu_layout.pytool doesn't work.Could you please change the tool to use sysfs
/sys/devices/system/cpu/cpuN/topology/instead? Then the script would be portable and use the same files as the DPDK use internally when mapping out cores.
I will look into it and see what I can do. If someone else wants to try please let me know.
Quoted 2 lines
Regards,
Keith