From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5] app/testpmd: fix port_numa and ring_numa not initialize issue Date: Sat, 06 May 2017 10:30:40 +0200 Message-ID: <6252746.OW3uelBh6S@xps> 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Wu, Jingjing" To: "Pei, Yulong" Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 3DB5E2C60 for ; Sat, 6 May 2017 10:30:42 +0200 (CEST) In-Reply-To: <9BB6961774997848B5B42BEC655768F810D623C3@SHSMSX103.ccr.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > Acked-by: Jingjing Wu Applied, thanks