From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=G7yQ05rCwgD6E5OUvT3hEfUGzNuy2qq1dOg1vVvRkCU=; b=Zt64ICnzCefhXgDv83cnK0F5xqLsQK9XtmBmmRx7hEhw2ywmNigvkItJ06pC+xGLZu SG7NF19jM5DRQLH1XSGSH7Y6TP5qNTzDfoXCGYvGc+a1ht8zSl5+FQI27r/gqZRLN+ma O6V2f4KDXf5zW+HSB1+nabzB5E2egYkjUYFT+2s53U4xu+Yg4DteWTsqI+KS+lVvqu4F 2wmqPXCgeASQIqAP6yKvyU8jFHB7cPxuE17FRyxTKlWFxOhsYKPEp9V7Fen687WFHtjn qFN77CXMBrUx4Z0WbAbdTSd47NDYNsxM8yYoWCt8B1nX7zCijQF5cNa27Tvl8ZMJYx8r 8SgQ== X-Gm-Message-State: ALoCoQltQUDbVMginqNf5jOo9cSLo2GVxFyXIigf7n6kdmyrK/bfh2fr/+jSpJKTZ/ybgsqv76XG X-Received: by 10.180.105.129 with SMTP id gm1mr34274229wib.51.1435006958903; Mon, 22 Jun 2015 14:02:38 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id q3sm32373473wjr.38.2015.06.22.14.02.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jun 2015 14:02:38 -0700 (PDT) From: Thomas Monjalon To: Cunming Liang Date: Mon, 22 Jun 2015 23:01:36 +0200 Message-ID: <3079471.cQLiANhq3b@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1433745194-27771-1-git-send-email-cunming.liang@intel.com> References: <1433745194-27771-1-git-send-email-cunming.liang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v1] app/test: fix pmd_perf issue in no NUMA case 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: Mon, 22 Jun 2015 21:02:39 -0000 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;