[dpdk-dev] Non-argv dependant rte_eal_init() call

Stephen Hemminger stephen at networkplumber.org
Thu Aug 1 21:23:09 CEST 2013


On Thu, 01 Aug 2013 20:17:43 +0200
Marc Sune <marc.sune at bisdn.de> 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.




More information about the dev mailing list