From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v3 2/5] Link Bonding PMD Library (librte_eal/librte_ether link bonding support changes) Date: Fri, 13 Jun 2014 14:59:18 -0700 Message-ID: <20140613145918.5faebfde@nehalam.linuxnetplumber.net> References: <258914f35917ae07dddc991ac9726542964dce44.1402662300.git.declan.doherty@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: dev-VfR2kkLFssw@public.gmane.org To: Declan Doherty Return-path: In-Reply-To: <258914f35917ae07dddc991ac9726542964dce44.1402662300.git.declan.doherty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Fri, 13 Jun 2014 15:41:59 +0100 Declan Doherty wrote: > Updating functionality in EAL to support adding link bonding > devices via =C3=A2=E2=82=AC=E2=80=9Cvdev option. Link bonding devices wil= l be > initialized after all physical devices have been probed and > initialized. >=20 > Signed-off-by: Declan Doherty 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.