DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Ashish Mishra <ashishm@mvista.com>
Cc: users <users@dpdk.org>
Subject: Re: [dpdk-users] Basic doubt on testpmd app working on x86_64 linux host
Date: Wed, 7 Jul 2021 07:16:17 -0700
Message-ID: <20210707071617.4b5a7d04@hermes.local> (raw)
In-Reply-To: <CAP2OjcgGqwD7vx4xaRkT3mj7SRLBKVwa+oqnTh-CRcoS+yA2fA@mail.gmail.com>

On Wed, 7 Jul 2021 18:03:24 +0530
Ashish Mishra <ashishm@mvista.com> 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


  reply	other threads:[~2021-07-07 14:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-07 12:33 Ashish Mishra
2021-07-07 14:16 ` Stephen Hemminger [this message]
2021-07-09  5:28   ` Ashish Mishra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210707071617.4b5a7d04@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=ashishm@mvista.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git