[dpdk-users] rte_eth_link_get() issue for bonded interface

Cody Doucette doucette at bu.edu
Mon Nov 7 18:38:55 CET 2016


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!

More information about the users mailing list