From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v1] app/test: fix pmd_perf issue in no NUMA case Date: Mon, 22 Jun 2015 23:01:36 +0200 Message-ID: <3079471.cQLiANhq3b@xps13> References: <1433745194-27771-1-git-send-email-cunming.liang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Cunming Liang Return-path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id 237B1C7FC for ; Mon, 22 Jun 2015 23:02:39 +0200 (CEST) Received: by wicgi11 with SMTP id gi11so87206898wic.0 for ; Mon, 22 Jun 2015 14:02:39 -0700 (PDT) In-Reply-To: <1433745194-27771-1-git-send-email-cunming.liang@intel.com> 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" 2015-06-08 14:33, Cunming Liang: > Reported-by: Jayakumar, Muthurajan > Signed-off-by: Cunming Liang Please explain exactly what you try to fix. Is it still needed since this patch? http://dpdk.org/browse/dpdk/commit/?id=94ef2964148a4540 > + socket_id = rte_eth_dev_socket_id(port_id); > + if (socket_id < 0) > + /* enforce using socket 0 when no NUMA support */ > + socket_id = 0;