service: allow to disable core check
authorHarry van Haaren <harry.van.haaren@intel.com>
Wed, 25 Oct 2017 13:25:29 +0000 (14:25 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 25 Oct 2017 15:05:38 +0000 (17:05 +0200)
commitb17b952ec3c60030ab5e93c6734d62922de9c8f7
treeb06ad7b727bbfe5545f6f0ba6b90a47339f96607
parente9139a32f6e8dcc3e6fe4050ff45a9570fdba58b
service: allow to disable core check

This commit adds a new function to disable the runtime mapped
service-cores check. This allows an application to take responsibility
of running unmapped services.

This feature is useful in cases like unit tests, where the application
code (or unit test in this case) requires accurate control over when
the service function is called to ensure correct behaviour, and when
an application has an advanced use-case and wishes to manage services
manually.

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
lib/librte_eal/common/include/rte_service.h
lib/librte_eal/common/rte_service.c
lib/librte_eal/rte_eal_version.map