DPDK usage discussions
 help / color / mirror / Atom feed
From: Alex Kiselev <kiselev99@gmail.com>
To: users <users@dpdk.org>
Subject: [dpdk-users] bringing up kni interfaces using netlink
Date: Mon, 19 Sep 2016 19:20:21 +0300	[thread overview]
Message-ID: <CAMKNYbyxkCmKiBphUGMFKMgqcjk8z9zDUX1rWy4XqGYCW68bjg@mail.gmail.com> (raw)

Hi!

I am trying to use the linux netlink interface with kni interfaces in
order to bring them up and add ip addresses to them and I am
experiencing some strange behaviors. Could anyone help me to
understand what I am doing wrong?

The problem is that I can’t bring kni interfaces up using the netlink
interface immediately after their creation. What I can is to bring
them up using the “ip” linux tool or I can bring them up using netlink
after some time has passed. But when I try to up them immediately
after the creation they just stay in the “DOWN” state. Also the “ip
link ls” linux command freezes for about 5-7 seconds after netlink
commands have sent to up the kni interfaces, and one of kni interfaces
changes it’s name to the name of one of the pure linux interfaces
(eth3).

P.S. I am using the DPDP 2.2.0.


-- 
--
Alex Kiselev

             reply	other threads:[~2016-09-19 16:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-19 16:20 Alex Kiselev [this message]
2016-10-01 19:54 ` Alex Kiselev

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=CAMKNYbyxkCmKiBphUGMFKMgqcjk8z9zDUX1rWy4XqGYCW68bjg@mail.gmail.com \
    --to=kiselev99@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).