summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a78ffb5)
The functions rte_service_may_be_active(), rte_service_lcore_attr_get(),
and rte_service_attr_reset_all() were introduced nearly a year ago in DPDK
18.08. They can be considered non-experimental for the 19.08 release.
rte_service_may_be_active() is used by the sw PMD, and this commit allows
it to not need any experimental API.
Signed-off-by: Gage Eads <gage.eads@intel.com>
LIB = librte_pmd_sw_event.a
# build flags
LIB = librte_pmd_sw_event.a
# build flags
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
# for older GCC versions, allow us to initialize an event using
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
# for older GCC versions, allow us to initialize an event using
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-allow_experimental_apis = true
sources = files('sw_evdev_scheduler.c',
'sw_evdev_selftest.c',
'sw_evdev_worker.c',
sources = files('sw_evdev_scheduler.c',
'sw_evdev_selftest.c',
'sw_evdev_worker.c',
int32_t rte_service_runstate_get(uint32_t id);
/**
int32_t rte_service_runstate_get(uint32_t id);
/**
- * @warning
- * @b EXPERIMENTAL: this API may change, or be removed, without prior notice
- *
* This function returns whether the service may be currently executing on
* at least one lcore, or definitely is not. This function can be used to
* determine if, after setting the service runstate to stopped, the service
* This function returns whether the service may be currently executing on
* at least one lcore, or definitely is not. This function can be used to
* determine if, after setting the service runstate to stopped, the service
* @retval 0 Service is not running on any lcore
* @retval -EINVAL Invalid service id
*/
* @retval 0 Service is not running on any lcore
* @retval -EINVAL Invalid service id
*/
int32_t
rte_service_may_be_active(uint32_t id);
int32_t
rte_service_may_be_active(uint32_t id);
#define RTE_SERVICE_LCORE_ATTR_LOOPS 0
/**
#define RTE_SERVICE_LCORE_ATTR_LOOPS 0
/**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice
- *
* Get an attribute from a service core.
*
* @param lcore Id of the service core.
* Get an attribute from a service core.
*
* @param lcore Id of the service core.
* -EINVAL Invalid lcore, attr_id or attr_value was NULL.
* -ENOTSUP lcore is not a service core.
*/
* -EINVAL Invalid lcore, attr_id or attr_value was NULL.
* -ENOTSUP lcore is not a service core.
*/
int32_t
rte_service_lcore_attr_get(uint32_t lcore, uint32_t attr_id,
uint64_t *attr_value);
int32_t
rte_service_lcore_attr_get(uint32_t lcore, uint32_t attr_id,
uint64_t *attr_value);
* -EINVAL Invalid service id provided
* -ENOTSUP lcore is not a service core.
*/
* -EINVAL Invalid service id provided
* -ENOTSUP lcore is not a service core.
*/
int32_t
rte_service_lcore_attr_reset_all(uint32_t lcore);
int32_t
rte_service_lcore_attr_reset_all(uint32_t lcore);
rte_mcfg_tailq_write_lock;
rte_mcfg_tailq_write_unlock;
rte_rand;
rte_mcfg_tailq_write_lock;
rte_mcfg_tailq_write_unlock;
rte_rand;
+ rte_service_lcore_attr_get;
+ rte_service_lcore_attr_reset_all;
+ rte_service_may_be_active;
rte_option_register;
rte_rand_max;
rte_realloc_socket;
rte_option_register;
rte_rand_max;
rte_realloc_socket;
- rte_service_lcore_attr_get;
- rte_service_lcore_attr_reset_all;
- rte_service_may_be_active;
# added in 19.08
rte_lcore_cpuset;
# added in 19.08
rte_lcore_cpuset;