DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] DPDK cpu layout script won't work on non x86
@ 2016-05-06 17:21 Stephen Hemminger
  2016-05-06 18:45 ` Wiles, Keith
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2016-05-06 17:21 UTC (permalink / raw)
  To: Keith Wiles; +Cc: dev

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] DPDK cpu layout script won't work on non x86
  2016-05-06 17:21 [dpdk-dev] DPDK cpu layout script won't work on non x86 Stephen Hemminger
@ 2016-05-06 18:45 ` Wiles, Keith
  0 siblings, 0 replies; 2+ messages in thread
From: Wiles, Keith @ 2016-05-06 18:45 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: dev

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

I will look into it and see what I can do. If someone else wants to try please let me know.
>
>


Regards,
Keith





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-06 18:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-06 17:21 [dpdk-dev] DPDK cpu layout script won't work on non x86 Stephen Hemminger
2016-05-06 18:45 ` Wiles, Keith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).