DPDK usage discussions
 help / color / mirror / Atom feed
From: sml <sml.caerus@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Configuring MAC Address of KNI - Don't want random
Date: Sat, 9 Apr 2016 01:41:27 -0400	[thread overview]
Message-ID: <CAHXxcudp7E+r_FWYZK3rhn6uCQXP6S3=LkWPvwV1oazOquC_xg@mail.gmail.com> (raw)

Hello,

I am having an issue where when creating the KNI interface I would like to
KEEP the hardware MAC address.  I can properly create the interface.  It
starts in a down state, I then need to manually ifconfig the IP Address and
MAC address with UP to get what I need.  If I just do the plain ifconfig -v
vEth0_0 up - it assigns a random mac address.  (Using a e1000 as well I350
and emulated e1000)

This also happens if you DOWN the interface and bring it UP using ifconfig
again.  Using Version 2.2.0

What is the proper procedure/flow for doing this within the codebase so I
can have the end result of the original hardware MAC and the interface in
an UP state?

Sorry if this seems basic I just can't seem to find any examples of how
this is done.

             reply	other threads:[~2016-04-09  5:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-09  5:41 sml [this message]
2016-04-11  9:01 ` Andriy Berestovskyy
2016-04-11 16:50   ` Jason Kwon
2016-04-12 11:46     ` Andriy Berestovskyy
2016-04-12 15:40   ` Jay Rolette

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='CAHXxcudp7E+r_FWYZK3rhn6uCQXP6S3=LkWPvwV1oazOquC_xg@mail.gmail.com' \
    --to=sml.caerus@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).