DPDK usage discussions
 help / color / mirror / Atom feed
From: Cody Doucette <doucette@bu.edu>
To: users@dpdk.org
Subject: [dpdk-users] rte_eth_link_get() issue for bonded interface
Date: Mon, 7 Nov 2016 12:38:55 -0500	[thread overview]
Message-ID: <CAJjX64aR=aRwSWx7sKNT70Sfr9KQmE8+eKAP8_BWh_sxy5m6cQ@mail.gmail.com> (raw)

Hello,

I've been experimenting with the bonding features of DPDK. If you take the
bond sample application and add a call to rte_eth_link_get() after you
start the bonded interface, it indicates the link is down, even though
there were no errors in creating the bonded interface, adding slaves, and
starting it.

Looking at the bonding driver, it seems that bond_ethdev_link_update() is
setting the link status to down because the number of active slaves is 0.
This could be because the active slave count only seems to be incremented
if a slave is added *after* the bonded device is started.

So is there a bug in the bond sample application or in the bonding driver?
Or is this expected behavior?

Thanks for any info!
Cody

             reply	other threads:[~2016-11-07 17:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07 17:38 Cody Doucette [this message]
2016-11-09 20:54 ` Cody Doucette

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='CAJjX64aR=aRwSWx7sKNT70Sfr9KQmE8+eKAP8_BWh_sxy5m6cQ@mail.gmail.com' \
    --to=doucette@bu.edu \
    --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).