DPDK patches and discussions
 help / color / mirror / Atom feed
From: Vijayakumar Muthuvel Manickam <mmvijay@gmail.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] KNI mac address
Date: Thu, 18 Jun 2015 22:50:16 -0700	[thread overview]
Message-ID: <CADJ2ZGMt405KLZJGXWSP0suNZES+1rnNf6ZH6-22z6A6_d6RvQ@mail.gmail.com> (raw)

Hi,

I see that KNI interfaces get assigned random mac addresses each time I do
"ifconfig up" on the interface. Reason for this is mac address returned by
"random_ether_addr()" is assigned to the interface in kni_net_open() for
all NIC types except igb and ixgbe that have ethtool support.

I would like to know the reason for assigning random mac address and if is
it fine to transfer the actual port mac address from userspace during
initialization by adding a field to rte_kni_device_info and assign it for
the KNI interface ?

Thanks,
Vijay

                 reply	other threads:[~2015-06-19  5:50 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=CADJ2ZGMt405KLZJGXWSP0suNZES+1rnNf6ZH6-22z6A6_d6RvQ@mail.gmail.com \
    --to=mmvijay@gmail.com \
    --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).