From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f67.google.com (mail-it0-f67.google.com [209.85.214.67]) by dpdk.org (Postfix) with ESMTP id 649EEFE5 for ; Mon, 20 Feb 2017 16:39:10 +0100 (CET) Received: by mail-it0-f67.google.com with SMTP id r141so11183120ita.1 for ; Mon, 20 Feb 2017 07:39:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bMguq1uhfTbUAL3TSS2XhgTyJ5UplUGuHEnc/01dsK8=; b=pknrpGyRGR6OEvbMIlvjLnyxucpmL84DexqeBWhTuKH8MuNrYuswWHInWDKrz4/hTP 7K859rJfBfvxoYUgniZbErKs2eoXdIV2xxJ834tPQxGzUXuCAMY226T6I1uToyb5iWx7 SIuNbjdTQ6GDGOCX9Y9w6pBGTTG/Jki6Uyy4mjwzaABTAeQzP7wgoK6mMkjmhG1WD9D8 QhZVU7OJwcHEFvg7NEOiAhT3/ND/TKWbsHXoFWm8p/rlem0rUIeRW9PVSThDM65tpjPf H/Zo7gpPvbISsjBBR6aYTfMQDR89IxZ2IH6j8Z+NMZFJQEpI2dJN8qLBq0cummFbYQBY qBTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bMguq1uhfTbUAL3TSS2XhgTyJ5UplUGuHEnc/01dsK8=; b=ZyGHyT0v8uiLTGKfqmsvHm/R90WpEa0ltDouS42/GhHgSuCC+I3wgdGX3ge1VuOBr5 E1LBiUuj4BZ+ynbogSfdI4z6AGHmrHE52TCfrVTFKE2oplAJSi+m5HDoicDrzgJl/3IF TQ6j1RmgfxYRMQBw1bI+6h3AUvTwgciNOxsOd3wYEbw+47cZ6oiUv/ghBWFOqv/C5lq3 nCdqIiHzyu8MjWMzOhOmZ7Yd3JnoS1gmeDg15XoS3U50jh5qmllY9ofxf53Vzeyh9+xY nxrnpggmnBe2/wljUSXFcTy6HoCkBNdPsaHmvIWuCSGbhnzrqomFDqmPY/ya32GXqZ18 9J4A== X-Gm-Message-State: AMke39nRuXjDXkBByyV7aRy73wJyEnNW97LkPGGC2VlAUM1DGNLcGxii/SsABktz6BlRXmorM9XJWIeodylrow== X-Received: by 10.36.54.207 with SMTP id l198mr8531490itl.107.1487605149747; Mon, 20 Feb 2017 07:39:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.225.233 with HTTP; Mon, 20 Feb 2017 07:38:39 -0800 (PST) In-Reply-To: References: <1487126547-29902-1-git-send-email-beilei.xing@intel.com> <1487320676-54579-1-git-send-email-beilei.xing@intel.com> From: Ivan Nardi Date: Mon, 20 Feb 2017 16:38:39 +0100 Message-ID: To: Ferruh Yigit Cc: Beilei Xing , "Wu, Jingjing" , jianfeng.tan@intel.com, dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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 15:39:10 -0000 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 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 > <...> >