eal: factorize options sanity check
authorThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 17 Nov 2014 09:14:10 +0000 (10:14 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 25 Nov 2014 12:33:35 +0000 (13:33 +0100)
commitf91fc65d12ae098da06027e0d8c011f4fee74599
tree52b62bbf6fe15f5b3ba7648a6ac05d471047ddef
parent341befa2a2b83e71f749751e097f9bcc882ef4ba
eal: factorize options sanity check

No need to have duplicated check for common options.

Some flags are set for options -c and -m in order to simplify the
checks.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/common/eal_options.h
lib/librte_eal/linuxapp/eal/eal.c