From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BB759A0C4E for ; Wed, 7 Jul 2021 16:16:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AF0C241535; Wed, 7 Jul 2021 16:16:22 +0200 (CEST) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id 2E46D41535 for ; Wed, 7 Jul 2021 16:16:21 +0200 (CEST) Received: by mail-pf1-f169.google.com with SMTP id j199so2260048pfd.7 for ; Wed, 07 Jul 2021 07:16:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fXJCxktMOMZKE/HE/s0L9S7DDLDcfJU7ihHtDNV5f6c=; b=TZXpmzBt4lE9VWlr6EFGcioryWCbKfSP7R2SVT2wxNCQj8x//37Lh5WMUBRFJjd8Da UMUdKp7OlP6tAxepYLQ9ed7Eu3ALWP4z5K2SEq4S69Whrb4CQuemkxzCCEkzWct+Eahe rbxODlDNF4oviWjVtNIMrM3yJwR2ItmyAOHZ5P/SVQhjYVw2KSFumM8VytvnbVPRWqIp E4veZCUFiHEpZaKZvT97MAEd71JdllQt1A57umJpvBxoIsj9BBM8l+iI7IaK2UWLYKar 6XA/dbt2L7lMwWxdchwtBP3zVG6j6lq/3a5NAs3MkGFWee0wFrAAZm6avQnAzdsqVCs8 xx/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fXJCxktMOMZKE/HE/s0L9S7DDLDcfJU7ihHtDNV5f6c=; b=Q4pW466kr9oyAtXzmo9SrUJ65AgFClHpupFLm3ALVMt7Uwn6/b0iX3kfzaL+db/8Ir QHN2rlOFPfCE0EpKz7067ZNoFxpNsbqzSTZYJBxfdmk37/gktL94Sq5pXDcOeXJ/zqSW yuTH3eJDm7y7+Hw6ViPql5/Ryn3fpA/GhOilT+toipaYd2lU7F9lygnev2pAL/KyKA5i cUqBERB9t+rKqI6wUVMtCzTkXMJez+w/cqw3bNu//GQz+zTTVUKeJ9TL54PfIxzVESH0 xs723rvidx2x8qGD1qIkAsX99ToBp0S5Hi5QReGg0v7wfBakR5tOHuM4EN/BqWo9bTFE n3IQ== X-Gm-Message-State: AOAM532uOPZfbh/oqsBF/tQRaUCRJJlvO3vIu2IOgUnqNwYzwmsBVVsF cwUtjfxvoh+4N6fBtdRnZmJRzw== X-Google-Smtp-Source: ABdhPJx0zfw1e8G/2XMp6FEz7zE/O8LHLjk4ZvVev7Cve0FccYl4a9HFlEaKCvdm6/a7VG3Qj5fTTQ== X-Received: by 2002:a05:6a00:24cf:b029:321:42f1:9f57 with SMTP id d15-20020a056a0024cfb029032142f19f57mr12999529pfv.77.1625667380289; Wed, 07 Jul 2021 07:16:20 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id d19sm6676449pjx.57.2021.07.07.07.16.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 07:16:20 -0700 (PDT) Date: Wed, 7 Jul 2021 07:16:17 -0700 From: Stephen Hemminger To: Ashish Mishra Cc: users Message-ID: <20210707071617.4b5a7d04@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] Basic doubt on testpmd app working on x86_64 linux host X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 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 Wed, 7 Jul 2021 18:03:24 +0530 Ashish Mishra wrote: > Hi Members , > > I am trying to learn DPDK on my laptop for which I installed > dpdk-stable-19.11.8 + > testpmd on x86_64 linux host > ( will move to latest DPDK once i have some idea ) > > When I tried testpmd , I had below gaps in my understanding / doubts . > If member's can please provide some pointer on below point : > > 1) NUMA socket -1 > I am trying to understand DPDK using testpmd. > When i execute testpmd , i am getting the below message . > Are these normal message or something is wrong in my setup > EAL: PCI device 0000:00:1f.6 on NUMA socket -1 > EAL: Invalid NUMA socket, default to 0 Ignore this, it means your system only has a single numa node, so then kernel reports all devices as attached to that node. > 2) What is the memory-channels parameter usage ,which is being passed to > testpmd. It is is an optimization to spread memory. If you want to figure out what is best for your machine, use dmidecode to look at memory banks, and count how many channels. > > 3) Do we have any logical loopback mode in DPDK? > So that we can try tx & rx logically without being dependent on hardware > ports There are various ring pseudo-device that might be useful for this. Or TAP on a dummy network device. > 4) How to know if the ethernet should be binded to IGB-UIO or VFIO module > As of now , i try both & continue with which doesn't throw errors. There are some flags but no script I know uses them. > I am reading the Documentation but felt short for these aspects > & hence thought to check with the community for any pointers / guidance. > > Apologies if these are vary basic in nature as i am just starting with DPDK > environment > > Thanks , > Ashish