From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: Non-argv dependant rte_eal_init() call Date: Thu, 1 Aug 2013 12:23:09 -0700 Message-ID: <20130801122309.5d8d100b@samsung-9> References: <51FA80BF.2020801@bisdn.de> <20130801100638.4c0f06a8@samsung-9> <51FAA647.7070709@bisdn.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Marc Sune Return-path: In-Reply-To: <51FAA647.7070709-kpkqNMk1I7M@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 Thu, 01 Aug 2013 20:17:43 +0200 Marc Sune wrote: > Thanks Stephen for the hack. > > Unfortunately, our main already has parameters, and are all > platform(architecture) agnostic, so this would break the assumption that > arguments should be platform agnostic. > > But anyway thanks ;) > marc > Also, our application is started by an init script and there is some shell magic to attempt to deduce number of cpus (not hard) and number of memory channels (kind of messy). I do think the DPDK should work without any arguments and do this itself. The CPU part is easy by looking at /sys, but the memory channel information has to come from DMI which is a real ugly mess.