DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Ginés García Avilés" <gines.garcia@i2cat.net>
To: dev@dpdk.org
Subject: [dpdk-dev] APP outside the development kit issues
Date: Mon, 11 Oct 2021 10:54:10 +0200	[thread overview]
Message-ID: <CAFggs4NogSwZwottdkkCzD-o+do-NZDNQcaE724kheHjkLM04w@mail.gmail.com> (raw)

Hi,
I'm trying to create new examples for DPDK, more precisely for
bbdev but I'm facing different issues.
First, following this link (58. Building Your Own Application — Data Plane
Development Kit 21.11.0-rc0 documentation (dpdk.org)
<https://doc.dpdk.org/guides/prog_guide/build_app.html>), I found the
example for bbdev not working
with the following error message: "EAL: Error - exiting with code: 1
  Cause: cannot use port with ID 0!"

After digging a little bit, it seems that --vdev option is not creating the
device so I tried
to create it as proposed here (16. Wireless Baseband Device Library — Data
Plane Development Kit 21.11.0-rc0 documentation (dpdk.org)
<https://doc.dpdk.org/guides/prog_guide/bbdev.html>) but even if I include
"rte_bus_vdev.h" which
I think is where all the creation and initialization functions are defined,
I'm getting
an "undefined reference to rte_vdev_init"

Is there any flow diagram or something similar to understand how DPDK is
configuring the
devices? which example should I use as a reference to create my own
"outside of the kit"
examples?

Thanks in advance,
Ginés.

                 reply	other threads:[~2021-10-11  8:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAFggs4NogSwZwottdkkCzD-o+do-NZDNQcaE724kheHjkLM04w@mail.gmail.com \
    --to=gines.garcia@i2cat.net \
    --cc=dev@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).