[dpdk-dev] [PATCH v3 2/5] Link Bonding PMD Library (librte_eal/librte_ether link bonding support changes)

Stephen Hemminger stephen at networkplumber.org
Fri Jun 13 23:59:18 CEST 2014


On Fri, 13 Jun 2014 15:41:59 +0100
Declan Doherty <declan.doherty at intel.com> wrote:

> Updating functionality in EAL to support adding link bonding
> devices via –vdev option. Link bonding devices will be
> initialized after all physical devices have been probed and
> initialized.
> 
> Signed-off-by: Declan Doherty <declan.doherty at intel.com>

The DPDK is used by both static (demo style) applications and dynamic
applications that need to be able to modify parameters while running.
The tendency of the code has been to have values that can only be set
at initialization, and this kind of inflexibility is hard to fix.

The whole dev args style of configuration is a poor design for those
reasons.  How do you support creating additional bond devices at runtime?

Remember what works for a demo doesn't make a good API for real world.





More information about the dev mailing list