From: Georgia Panoutsakopoulou <gpanoutsak@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Trouble locating functionality in code
Date: Fri, 12 Jun 2020 17:47:47 +0300 [thread overview]
Message-ID: <CAG2+9UH1BbBeNdqqUuRzfFs-0PytSTJySxn9qvw3WvdxYuD_kg@mail.gmail.com> (raw)
Hi all,
I'm having trouble locating the part of code that associates a network card
with the dpdk internally used port id.
For example, when I bind two ports with pci slots 0000:86:00.0
and 0000:86:00.1 to dpdk driver igb_uio , how does dpdk populate this
information and give a port id in each port? Is there a way to know this
association without accessing dpdk structs by using functions like
rte_eth_dev_get_name_by_port(portid,
name)?
I'm using dpdk app l2fwd and dpdk version 19.11.
Thanks,
Georgia
next reply other threads:[~2020-06-12 14:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-12 14:47 Georgia Panoutsakopoulou [this message]
2020-06-12 15:01 ` Stephen Hemminger
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=CAG2+9UH1BbBeNdqqUuRzfFs-0PytSTJySxn9qvw3WvdxYuD_kg@mail.gmail.com \
--to=gpanoutsak@gmail.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
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).