From: Simon Brown <lists@700c.org>
To: DPDK Users <users@dpdk.org>
Subject: Initial Setup and best practices
Date: Sun, 13 Feb 2022 18:37:04 +0100 [thread overview]
Message-ID: <3256119.aeNJFYEL58@maktub> (raw)
Hello,
I'm new to DPDK and I'm trying to setup a simple project to count packets. I'm
using MoonGen to generate the traffic on one machine and can receive the data
using traditional sockets on another machine. So I know that part works.
I've built dpdk 21.11 and I've tried to modify the example rxtx callbacks
application to count packets, but it doesn't see any traffic. So I presume
there's something wrong with my environment.
Can you advise on how to verify that my environment is correct and what is the
recommended setup for new projects? Should I be using the virtualisation
interface vfio-pci or the other interfaces? I have mlx5, i40e and ice NICs
available for test.
For mlx5 dpdk-devbind suggests that vfio-pci is compatible whereas mlx5_core
is a kernel driver, but trying to run with vfio-pci leads to:
mlx5_common: No Verbs device matches PCI device 0000:01:00.0, are kernel
drivers loaded?
mlx5 seems to work correctly with MoonGen.
Any help greatly appreciated,
Simon
next reply other threads:[~2022-02-13 17:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-13 17:37 Simon Brown [this message]
2022-02-13 18:01 ` Thomas Monjalon
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=3256119.aeNJFYEL58@maktub \
--to=lists@700c.org \
--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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).