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 83B46A04A2 for ; Wed, 3 Jun 2020 23:35:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 021981D58A; Wed, 3 Jun 2020 23:35:50 +0200 (CEST) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) by dpdk.org (Postfix) with ESMTP id 7F0A01D564 for ; Wed, 3 Jun 2020 23:35:48 +0200 (CEST) Received: by mail-lj1-f176.google.com with SMTP id y11so3021248ljm.9 for ; Wed, 03 Jun 2020 14:35:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AxxcfsQUJkINLuIrmaGviuoPHugUxTkRfGGyYcIhD5g=; b=MqTV46y94H6fMGxiK/VLUNTebhMAeIBtrpJf4ltlRTdpr7KSXG6YrAdnwKJF8SRzht uAe2Y/q/XaOx7VEJfZQ/oteBUrYhPpPErto9j8uLNWZ8I5w0ywHWRRVpdsOKFM8U33Xo 4KzVLg1HfiJYZt+PK1WMITIuQQGDcJodp/Z9Vt+o0dMRVkVEsiYHUSBt4O4f1T8EoRWk b2YlDqjuMI3zXjkCwokA/p+pb0F9JYTg1itKCYWs6qJKt5rcnSogBehMJWL8Shd48g4G haj4zmqRURhoosfqjU2tNZFT80W3lANOk5vtlS2g/aTU2XphxpYx2N0k1LURZ+IEnvyw VD0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AxxcfsQUJkINLuIrmaGviuoPHugUxTkRfGGyYcIhD5g=; b=WTeFaXOfkz5Bz5LP/sBgUe5uiZUAr0eoG0sNPZ9Hv4VXA3fo7JdrKcX8oKNndIDz2V 3QOg4U84uQ3CMeySZuF0EJ9YfxSOdne8wjYB724gZ6nSqRQI7uC8Ebfils4CaeObZEfu 7zXkOyJUX06MZ3BPb8gjKs/8kMKmrE7594Oh6ke2Xmw2B6Pk+K9M7LLjxd7LyvXI5Uzj uLd+X7pEgmA+nRivhtbRQnbiTUuf60wxL2icWCrmdNvJJMWpl42t93X1Ryq/ZkYb4woX Ami9QJaMKfEsOfNkHUb0n4+QBWKHYVb2FngGb0Gamxv2uGTi6J/HKgJ25SH+lHc0aJkv wf6w== X-Gm-Message-State: AOAM532wHhqfgh8GW4xa8FDwUXcqfBe4qcqjURZ8M5UN+77f0dYZ6UqJ iq99Kfd26LQjc78MOIjtL5POHSaCi4kjTUtvbmI= X-Google-Smtp-Source: ABdhPJx3/JYBHvGv94o3aKpwNJb9gSWWBJ+7e2NqudFcvNsKDOuw3RmELln/VoUcYXsHFag+8NH/hD7im5MnxOWsL3o= X-Received: by 2002:a2e:8e27:: with SMTP id r7mr564382ljk.382.1591220147786; Wed, 03 Jun 2020 14:35:47 -0700 (PDT) MIME-Version: 1.0 References: <20200602192145.49255119@hermes.lan> In-Reply-To: From: Ding Ma Date: Wed, 3 Jun 2020 14:35:36 -0700 Message-ID: To: Vincent Li Cc: Stephen Hemminger , users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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" Thanks for reply. BTW I guess "CONFIG_RTE_MAX_LCORE=128" means no more than 128 cores. But what does "CONFIG_RTE_MAX_LCORE_FREQS=64" mean? On Wed, Jun 3, 2020 at 1:51 PM Vincent Li wrote: > > > 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 < > stephen@networkplumber.org> > > 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. > > > > > >