From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D8A5AA04A2 for ; Wed, 3 Jun 2020 22:51:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1A2A51D5A8; Wed, 3 Jun 2020 22:51:09 +0200 (CEST) Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by dpdk.org (Postfix) with ESMTP id 2D9561D59A for ; Wed, 3 Jun 2020 22:51:08 +0200 (CEST) Received: by mail-pg1-f194.google.com with SMTP id p30so2474639pgl.11 for ; Wed, 03 Jun 2020 13:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=tOw4cgq5wQjLdazQSYaS0t4UEvN8Sbmvf3kT87yVb+k=; b=o+0fCuTslf/FUVkgcwAVwoMRxOu6IkegmrosgXWtYzn617iptpt2XAyogjJ7PSHAAm ntS7Mqm1/yo469MmJ6wjWYMzh2XLzzlzq9TXXmi/5oXR4sPcJYr6pdyKsBfBIQrO03iK E6TSyrf1rnhrwOMn9fxjQV00nS1xP3sMoHtj3Pf5THYOpihhc+bZ3IpUAhIw1Ua0BaVE Lc5qww19N5ehgJH/8LeK/bPiKVTiRKU7QShjopuMwMUt/x7TXAPkQkn6nlgBIrQuZXcT 1oiRB+ml9m5j/Fxv5kb6itwzBayGvdee0ooL2N19uziOcCYfSkk0f1X1dOvnwZXNtukM GehQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=tOw4cgq5wQjLdazQSYaS0t4UEvN8Sbmvf3kT87yVb+k=; b=Wudd3H0QNoFasC+1s1Vr3SrElhFoKAj5RhmsNbZcK6MWFML6Mixk5vLjzapqZ1bPDa B1qtGUIvmzPKob1Mogq+X24ACEQUYLvWs43kp5ookJCBnIBKs0e+A4apkEl1XrNAcmfK xZPm2eyp9bpgwcQapJvsEpOITYn3AL6SptADUcPNtrcXCoxFAQBq3UvjC9pky/kLArVH wGY9DogEzmhbQupbbrKvN+Hz5NXrcc9dJZKB/wFeYwRbUgQaCl7KIQK+Va4YeVFUx2U8 t2LrlVHjp9cTB6mpFW9YCySbrkP6F4aa91DNKKAOIqp97rHO+oA7s5zavMKHqXVWeMf5 bxmg== X-Gm-Message-State: AOAM531N5D3zpl/DCt58ixL6kdUlhEQLWhJZwnsmA/FVQsujRoBKh+jH mbTgmCZDaemTjdKlgYvNAdc= X-Google-Smtp-Source: ABdhPJyf7dc1kF+deFB4Vj2nsNxMgl7yzDjPQW6QQXpFIAYPlMokxMR8ehbN4yyfrSjjT+Wn5nSyQA== X-Received: by 2002:a62:7695:: with SMTP id r143mr910261pfc.31.1591217467297; Wed, 03 Jun 2020 13:51:07 -0700 (PDT) Received: from sea-l-00003662.olympus.f5net.com (c-71-231-121-172.hsd1.wa.comcast.net. [71.231.121.172]) by smtp.gmail.com with ESMTPSA id y6sm2747082pfp.144.2020.06.03.13.51.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 13:51:06 -0700 (PDT) From: Vincent Li X-Google-Original-From: Vincent Li Date: Wed, 3 Jun 2020 13:51:04 -0700 (PDT) X-X-Sender: vli@sea-ml-00029224.olympus.f5net.com To: Ding Ma cc: Stephen Hemminger , users@dpdk.org In-Reply-To: Message-ID: References: <20200602192145.49255119@hermes.lan> User-Agent: Alpine 2.21 (OSX 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [dpdk-users] Need help: Generate core list error. rte_eal port num [0] is not match the pciidlist [4] X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" On Tue, 2 Jun 2020, Ding Ma wrote: > Really appreciate your help. Two follow-ups: > - it actually works on 48 cores server and do you know why? (The problem > server is 96 cores) I think Stephen might mean your pre-build DPDK might not be built with 32 cores, I am not familiar with this neither, but I here is my grep search: /usr/src/dpdk# egrep 'CORE|CPU' x86_64-native-linux-gcc/.config CONFIG_RTE_MAX_LCORE=128 # Recognize/ignore architecture we compile for. AVX/AVX512 CPU flags for performance/power testing. CONFIG_RTE_MAX_LCORE_FREQS=64 CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n I guess your pre-built DPDK might have CONFIG_RTE_MAX_LCORE built less than 96, you can either rebuilt your DPDK RPM package or rebuild from DPDK source with cores >= 96, say 128 > - which part in config I need to change? (Sorry I am a noob) . Also, I am > using pre-built RPM to install dpdk, do I have to rebuild the RPM on 96 > cores server in order to run it on the 96 cores server? > > On Tue, Jun 2, 2020 at 7:21 PM Stephen Hemminger > wrote: > > > On Tue, 2 Jun 2020 18:04:57 -0700 > > Ding Ma wrote: > > > > > Hope it's the right way to ask DPDK questions. I am new to DPDK world and > > > got an error while setting up dpdk on my server. any idea about where I > > > should look at? > > > > > > > > > 1. Error: rte_eal port num [0] is not match the pciidlist [4] > > > 2. EAL: Error - exiting with code: 1 > > > 3. Cause: Generate core list error > > > > > > > > > Full paste: > > > ttps://pastebin.com/zea7514Y > > > > Your DPDK is built for only 32 CPU's and you have a machine with 128. > > Change your config and move on to the next issue. > > > > * There are patches in review to avoid this in future versions of DPDK. > > >