From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=N4eY6BDT8Kqe07q75rx4Hzib9ERau068PUYuTVKjrxo=; b=etDWcCUNW33tgP3EQHs+4xlcQ6/VonPfUxn8har/Y9KyN+0+CDGl4hoE4jH5BByTaI nNUBLS0P5TuLCR+wK4lqZSmyNGCdMLWxqi/UCEsdT3SRWUgKOw07dAo4lFsQTziyDUt0 LYf6IhfYUzLrE3LTSWH9sn739fcRbGxWW1dFbsO25b9WK1+8rAk09B8GmPhxIrynZs9z yr1A33D9iwJYxtDxrtcxjCVUxF1N1e0qQ6u8xSVlx2orWBY1YFT3onsEOSe8YWhNcel/ jHKUy5YGUCsbFynFtelec0xbEx9KzMI6Q0OHnw5BW+IEK3JUceznVfLttLdO7uZocR0S iA8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=N4eY6BDT8Kqe07q75rx4Hzib9ERau068PUYuTVKjrxo=; b=RCQXq7hg9RE34W2qQeTNjNd89V8aDOwRW5xmcXIXOhsX1LaPtr2qTUSEPZJmtXRqaH z5iY+h44CrA7bYO2Gf4c/GKAyr3GN6BPaivXtZDBoWS2uYGRcSp9F/Q7jvp4eRWQy/bJ RzlZBoR/+Oh5YnBYyGXZyTKnyNGzqzxwkyuOc3iwpSqQegl+9WHMMePA2FA0Cs5xoxq6 yH2INc8mSpZzreRsmydIuR4gNJY9LkGp6B/nCuwttRk6EXz1caOYTkW2OXHVivf5fw7V TIFMC0GD0nol1/m8KSujCBKvFTxngdatcxKRXoFQYpXltS1bQJC7p3zc/qK19CZaKmBw /cAA== X-Gm-Message-State: AOPr4FXrEC+IlqR+C4cMsl/x71ZEFyaTON1AAICyP5vb1fZfUKr26MjVdPD66s80A5gs4w== X-Received: by 10.66.237.66 with SMTP id va2mr30292637pac.2.1462555295259; Fri, 06 May 2016 10:21:35 -0700 (PDT) Received: from xeon-e3 (static-50-53-72-186.bvtn.or.frontiernet.net. [50.53.72.186]) by smtp.gmail.com with ESMTPSA id x123sm22382609pfb.54.2016.05.06.10.21.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 May 2016 10:21:34 -0700 (PDT) Date: Fri, 6 May 2016 10:21:46 -0700 From: Stephen Hemminger To: Keith Wiles Cc: dev@dpdk.org Message-ID: <20160506102146.32c36daa@xeon-e3> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] DPDK cpu layout script won't work on non x86 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2016 17:21:36 -0000 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.