[dpdk-dev] [PATCH 6/7] eal: rework long options parsing

2014-09-22 Thread David Marchand
Identify all options through the getopt_long return value. This way, we only need a big switch/case. Indentation is broken to ease commit review (fixed in next commit). Suggested-by: Neil Horman Signed-off-by: David Marchand --- lib/librte_eal/bsdapp/eal/eal.c | 21 +++- lib/

[dpdk-dev] [PATCH 6/7] eal: rework long options parsing

2014-09-22 Thread Neil Horman
On Mon, Sep 22, 2014 at 10:38:00AM +0200, David Marchand wrote: > Identify all options through the getopt_long return value. > This way, we only need a big switch/case. > > Indentation is broken to ease commit review (fixed in next commit). > > Suggested-by: Neil Horman > Signed-off-by: David Ma