eal: do not allow legacy mode with --in-memory mode
authorAnatoly Burakov <anatoly.burakov@intel.com>
Tue, 4 Sep 2018 15:15:43 +0000 (16:15 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 19 Sep 2018 12:40:56 +0000 (14:40 +0200)
commitd4ce95d6b40a91c662dcba3d6faa0f15c8c09afb
tree68b0b186d017206a8e6cf10931c0717d51fa8c5f
parent310aa7c04143105200fd81ae3e5f680e22c9bb6a
eal: do not allow legacy mode with --in-memory mode

In-memory mode was never meant to support legacy mode, because we
cannot sort anonymous pages anyway.

Fixes: 72b49ff623c4 ("mem: support --in-memory mode")
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_eal/common/eal_common_options.c