From: Sushil Adhikari <sushil446@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Setting real MAC address in KNI application
Date: Tue, 16 May 2017 12:10:17 -0500 [thread overview]
Message-ID: <CAPO9LfT+8q8AWeuGrER8qxAn9yyN9thJ+8p2zDhJcUm0nCJk8Q@mail.gmail.com> (raw)
When I run the DPDK KNI application it gives random mac address to the
ethernet ports. How can I configure it to set up the real MAC address of
the hardware(ethernet ports)? It seems like I can get mac address by
calling rte_eth_macaddr_get but to set up I need to call kni_net_set_mac
which takes in net_device structure which again I don't have access to from
my application. Is there a way to set up the mac address of dpdk ports to
its original mac address in kni application.
next reply other threads:[~2017-05-16 17:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-16 17:10 Sushil Adhikari [this message]
2017-05-17 10:42 ` Andriy Berestovskyy
2017-05-17 19:47 ` Sushil Adhikari
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=CAPO9LfT+8q8AWeuGrER8qxAn9yyN9thJ+8p2zDhJcUm0nCJk8Q@mail.gmail.com \
--to=sushil446@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).