Revert "thread: add spdk_env_get_primary_core"
This reverts commit 6194cb2e15
.
It's unclear whether we need to add a new API for the env layer
for upcoming work. Nothing currently uses it. When we have a clear
need, we can add this back in.
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Change-Id: I174276799d650a1365b37a737271a54a796cd455
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3561
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
35599b776f
commit
e12a4f6ec8
@ -468,13 +468,6 @@ uint32_t spdk_env_get_core_count(void);
|
||||
*/
|
||||
uint32_t spdk_env_get_current_core(void);
|
||||
|
||||
/**
|
||||
* Get the index of the primary dedicated CPU core for this application.
|
||||
*
|
||||
* \return the index of the primary dedicated CPU core.
|
||||
*/
|
||||
uint32_t spdk_env_get_primary_core(void);
|
||||
|
||||
/**
|
||||
* Get the index of the first dedicated CPU core for this application.
|
||||
*
|
||||
|
@ -33,7 +33,6 @@
|
||||
spdk_mempool_lookup;
|
||||
spdk_env_get_core_count;
|
||||
spdk_env_get_current_core;
|
||||
spdk_env_get_primary_core;
|
||||
spdk_env_get_first_core;
|
||||
spdk_env_get_last_core;
|
||||
spdk_env_get_next_core;
|
||||
|
@ -48,12 +48,6 @@ spdk_env_get_current_core(void)
|
||||
return rte_lcore_id();
|
||||
}
|
||||
|
||||
uint32_t
|
||||
spdk_env_get_primary_core(void)
|
||||
{
|
||||
return rte_get_master_lcore();
|
||||
}
|
||||
|
||||
uint32_t
|
||||
spdk_env_get_first_core(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user