DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Keith Wiles <keith.wiles@intel.com>
Cc: dev@dpdk.org
Subject: [dpdk-dev] DPDK cpu layout script won't work on non x86
Date: Fri, 6 May 2016 10:21:46 -0700	[thread overview]
Message-ID: <20160506102146.32c36daa@xeon-e3> (raw)

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.

             reply	other threads:[~2016-05-06 17:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-06 17:21 Stephen Hemminger [this message]
2016-05-06 18:45 ` Wiles, Keith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160506102146.32c36daa@xeon-e3 \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=keith.wiles@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).