From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas@monjalon.net>
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com
 [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 3DB5E2C60
 for <dev@dpdk.org>; Sat,  6 May 2017 10:30:42 +0200 (CEST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id B8286207DC;
 Sat,  6 May 2017 04:30:41 -0400 (EDT)
Received: from frontend1 ([10.202.2.160])
 by compute1.internal (MEProxy); Sat, 06 May 2017 04:30:41 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:content-transfer-encoding:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=7NGh/cyo1nDxx5u
 Zyk97qk+PVf/QyKP0qiv5Asxdui4=; b=ZzBcZvG0t2M1gfN78DvaS0G9hTwyn2R
 knqFHmA1ddDcUamC4v0BPkLEMNDLDTUpZtQcPS6C1XSkyEynAwm+GEWZEZOMaxIo
 MzotSIh4Z43kUlT+7bwuitJIlNYLMhl/YhyuTLkcDjEjg4GLlM7gG4v48ByP/HkO
 rceAdYPGQycM=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=
 fm1; bh=7NGh/cyo1nDxx5uZyk97qk+PVf/QyKP0qiv5Asxdui4=; b=MEyIU2r4
 Fp2PhlAVSrJ4wO+yNtyMbnX4wAIkdRGXyf0JvfmRZLRaT7aTXicH7GbHKHTjGwLz
 NyQupENkt5wupC2rtq8JPkiL3THzA6h5CaA0pLlSbxIxkukWequqndqATZwZRmbk
 zeNe2+7m67JEndxW1lLASAoIG2Q5+qzqzraKDwD/ayeEaFWUoUX54JhVzle8Gsy9
 g0MGgc+87A+4FlaNSa5gKOV5unLo7Fds/T1j1nkF5WoqOOlrYKzalQZ1EvJTctuw
 t6un/MJpE7dCyTSvHVDOD9PotthPADSwYS4VyiQ4+JTX4ofrSG49eSSiS/j5uK1z
 1Wv77KFNahgXmw==
X-ME-Sender: <xms:sYkNWS93K3dwWwmyf9uuHG6O9Iuhl7du4wAHVTGrXbA3LSUXtczHXA>
X-Sasl-enc: stvmoh5F5zgpPeVvSesO18kxK5DRbH27nfZMDKkMnKb2 1494059441
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 7380B7E21D;
 Sat,  6 May 2017 04:30:41 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: "Pei, Yulong" <yulong.pei@intel.com>
Cc: dev@dpdk.org, "Wu, Jingjing" <jingjing.wu@intel.com>
Date: Sat, 06 May 2017 10:30:40 +0200
Message-ID: <6252746.OW3uelBh6S@xps>
In-Reply-To: <9BB6961774997848B5B42BEC655768F810D623C3@SHSMSX103.ccr.corp.intel.com>
References: <1493344915-127542-1-git-send-email-yulong.pei@intel.com>
 <1493807387-135918-1-git-send-email-yulong.pei@intel.com>
 <9BB6961774997848B5B42BEC655768F810D623C3@SHSMSX103.ccr.corp.intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH v5] app/testpmd: fix port_numa and ring_numa
	not initialize issue
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Sat, 06 May 2017 08:30:42 -0000

06/05/2017 02:52, Wu, Jingjing:
> From: Pei, Yulong
> > 
> > Previous numa_support = 0 by default, it need to add --numa to testpmd
> > command line to enable numa, so port_numa and ring_numa were initialized at
> > function launch_args_parse(), now testpmd change numa_support = 1 as default,
> > so port_numa and ring_numa also need to initialize by default, otherwise port-
> > >socket_id will be probed to wrong value.
> > 
> > Fixes: 999b2ee0fe45 ("app/testpmd: enable NUMA support by default")
> > 
> > Signed-off-by: Yulong Pei <yulong.pei@intel.com>
> Acked-by: Jingjing Wu <jingjing.wu@intel.com>

Applied, thanks