From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: DPDK cpu layout script won't work on non x86 Date: Fri, 6 May 2016 10:21:46 -0700 Message-ID: <20160506102146.32c36daa@xeon-e3> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Keith Wiles Return-path: Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by dpdk.org (Postfix) with ESMTP id EA1BD214A for ; Fri, 6 May 2016 19:21:35 +0200 (CEST) Received: by mail-pa0-f49.google.com with SMTP id iv1so49387431pac.2 for ; Fri, 06 May 2016 10:21:35 -0700 (PDT) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "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.