eal: prevent different primary/secondary process versions
authorAnatoly Burakov <anatoly.burakov@intel.com>
Fri, 5 Jul 2019 17:26:27 +0000 (18:26 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 6 Jul 2019 08:32:40 +0000 (10:32 +0200)
commitae3b4bc4fb9ca179eac5c4c9b51b4853b3afe7c7
treef9543ee8b7e654cfbdb795ef999c4b88524cf59e
parentb39fcd956969e9fcf7033dcbd2a7c05deeaa7010
eal: prevent different primary/secondary process versions

Currently, nothing stops DPDK to attempt to run primary and
secondary processes while having different versions. This
can lead to all sorts of weird behavior and makes it harder
to maintain compatibility without breaking ABI every once
in a while.

Fix it by explicitly disallowing running different DPDK
versions as primary and secondary processes.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: David Marchand <david.marchand@redhat.com>
lib/librte_eal/common/eal_common_mcfg.c
lib/librte_eal/common/eal_memcfg.h
lib/librte_eal/freebsd/eal/eal.c
lib/librte_eal/linux/eal/eal.c