Hi Stephen

On 6/3/15, 7:12 PM, "Stephen Hemminger" <stephen at networkplumber.org> wrote:

>On Wed,  3 Jun 2015 13:49:53 -0500
>Keith Wiles <keith.wiles at intel.com> wrote:
>
>> +/* Launch threads, called at application init() and parse app args. */
>> +int
>> +rte_eal_init_parse(int argc, char **argv,
>> +            int (*parse)(int, char **))
>> +{
>> +    int     ret;
>> +
>> +    ret = rte_eal_init(argc, argv);
>> +    if ((ret >= 0) && (parse != NULL)) {
>> +            argc -= ret;
>> +            argv += ret;
>
>This won't work C is call by value.

I tested this routine with Pktgen (again), which has a number of
application options and it appears to work correctly. Can you explain why
this will not work?

Regards,
++Keith
>

Reply via email to