]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_service_component.h
service: use id in unregister
[dpdk.git] / lib / librte_eal / common / include / rte_service_component.h
index 6ef3ee456ed309bdc66be6ad2da302b1262421ad..af632c6e1ded4578f78fe7e733ee505c0e2fc7e1 100644 (file)
@@ -103,7 +103,7 @@ int32_t rte_service_component_register(const struct rte_service_spec *spec,
  * @warning
  * @b EXPERIMENTAL: this API may change without prior notice
  *
- * Unregister a service.
+ * Unregister a service component.
  *
  * The service being removed must be stopped before calling this function.
  *
@@ -111,7 +111,7 @@ int32_t rte_service_component_register(const struct rte_service_spec *spec,
  * @retval -EBUSY The service is currently running, stop the service before
  *          calling unregister. No action has been taken.
  */
-int32_t rte_service_unregister(struct rte_service_spec *service);
+int32_t rte_service_component_unregister(uint32_t id);
 
 /**
  * @warning