ipc: support --no-shconf mode
authorAnatoly Burakov <anatoly.burakov@intel.com>
Fri, 13 Jul 2018 12:47:58 +0000 (13:47 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Jul 2018 13:32:43 +0000 (15:32 +0200)
commit5848e3d2813cd7d6bd0cc1010188c8086b4a6f6a
treed517a0ff25b52264311533777c2517536bca5ecf
parent3ee2cde248a77d00dcba830ee282821491748323
ipc: support --no-shconf mode

IPC is an inter-process communication mechanism. Since no secondaries
can ever be expected to run in no-shconf mode, IPC will be useless, so
do not enable it in the first place. In the interests of API usage
convenience, we will still allow registering callbacks, but obviously
they won't ever be triggered.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/eal_common_proc.c