service: fix C++ linkage
authorLevend Sayar <levendsayar@gmail.com>
Thu, 9 Jul 2020 12:32:16 +0000 (15:32 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 9 Jul 2020 14:23:57 +0000 (16:23 +0200)
commit604d426de35b445476fa1b9aeae4933ae647be3f
tree1c7bf96fdbbac7f0e39a0bc09e166393153ce66c
parentf6ac2b06ecffa62abbc2cd6009b593604c2f3447
service: fix C++ linkage

"extern C" define is added to rte_service_component.h file
to be able to use in C++ context

Fixes: 21698354c832 ("service: introduce service cores concept")
Cc: stable@dpdk.org
Signed-off-by: Levend Sayar <levendsayar@gmail.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
lib/librte_eal/include/rte_service_component.h