From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 53C286CB4 for ; Mon, 20 Feb 2017 17:16:36 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Feb 2017 08:16:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,187,1484035200"; d="scan'208";a="936073959" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.137]) ([10.237.220.137]) by orsmga003.jf.intel.com with ESMTP; 20 Feb 2017 08:16:33 -0800 To: Ivan Nardi References: <1487126547-29902-1-git-send-email-beilei.xing@intel.com> <1487320676-54579-1-git-send-email-beilei.xing@intel.com> Cc: Beilei Xing , "Wu, Jingjing" , jianfeng.tan@intel.com, dev@dpdk.org From: Ferruh Yigit Message-ID: <1a7609aa-6b4e-6006-5920-0f921a274837@intel.com> Date: Mon, 20 Feb 2017 16:16:32 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v3] net/i40e: fix allocating hash table on socket 0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2017 16:16:36 -0000 On 2/20/2017 3:38 PM, Ivan Nardi wrote: > Hi > I reported the same issue 2 weeks ago > http://dpdk.org/ml/archives/dev/2017-February/056930.html > > You can reproduce it forcing testpmd to allocate memory only from node > 1, for example: > > /tmp/testpmd -d /home/micro/lib/librte_pmd_i40e.so -c 0xFFFC000 -w 0000:81:00.0 -w 0000:81:00.1 -n 4 --socket-mem=0,8192 -- -i --socket-num=1 Thanks Ivan, I will update commit log with the information provided. > > Ivan > > > On 20 February 2017 at 15:45, Ferruh Yigit > wrote: > > On 2/17/2017 8:37 AM, Beilei Xing wrote: > > Testpmd failed to start in another hugetlbfs mount point on > > i40e, > > Hi Beilei, > > Can you please describe the failure more. And how to reproduce it. > > I prefer initial patch title: "net/i40e: fix fail to start testpmd" but > with more details about when it fails to start. > > the root cause is that hash table is always allocated > > on socket 0. Fix the issue by assigning scocket id during > > hash parameter defination. > > > > Fixes: 5c53c82c8174 ("net/i40e: store flow director filter") > > Fixes: 425c3325f0b0 ("net/i40e: store tunnel filter") > > Fixes: 078259773da9 ("net/i40e: store ethertype filter") > > > > Signed-off-by: Beilei Xing > > <...> > >