DPDK usage discussions
 help / color / mirror / Atom feed
From: Andriy Berestovskyy <aber@semihalf.com>
To: SAKTHIVEL ANAND S <anand.sa88@gmail.com>
Cc: users <users@dpdk.org>
Subject: Re: [dpdk-users] KNI app random mac generation
Date: Thu, 9 Jun 2016 14:22:53 +0200	[thread overview]
Message-ID: <CAOysbxqaM+G4aqVLuPvujND8ANF_CSyw7XzmS99umFi4WD9Qow@mail.gmail.com> (raw)
In-Reply-To: <CAOP5GAzF0LO3jk6ANOdzGAonKuZLFviJeyydSvi0q-b87WbYYQ@mail.gmail.com>

Hi Anand,
Basically if KNI kernel module is able to communicate with the NIC
(igb, ixgbe), it will use the MAC of the NIC. Otherwise KNI will set a
random MAC.

I'm not sure about any plans to change such a behavior, but you can
use ip(8) or ifconfig(8) to always set the same MAC on system startup.

Andriy


On Tue, Jun 7, 2016 at 4:08 PM, SAKTHIVEL ANAND S <anand.sa88@gmail.com> wrote:
> Hi
>
> I have recently downloaded 16.04, in this version also i could see KNI
> random mac generation behavior. Is there any plan to fix this or it is
> purposefully made like that? if i am wrongly understood this random
> generation, please explain its purpose.
>
> --
> Thanks
> Sakthivel S OM



-- 
Andriy Berestovskyy

      reply	other threads:[~2016-06-09 12:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-07 14:08 SAKTHIVEL ANAND S
2016-06-09 12:22 ` Andriy Berestovskyy [this message]

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=CAOysbxqaM+G4aqVLuPvujND8ANF_CSyw7XzmS99umFi4WD9Qow@mail.gmail.com \
    --to=aber@semihalf.com \
    --cc=anand.sa88@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).