diff options
author | Luca Boccassi <luca.boccassi@gmail.com> | 2018-08-14 18:52:30 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2018-08-14 18:53:17 +0100 |
commit | b63264c8342e6a1b6971c79550d2af2024b6a4de (patch) | |
tree | 83114aac64286fe616506c0b3dfaec2ab86ef835 /examples/ip_pipeline/cpu_core_map.h | |
parent | ca33590b6af032bff57d9cc70455660466a654b2 (diff) |
New upstream version 18.08upstream/18.08
Change-Id: I32fdf5e5016556d9c0a6d88ddaf1fc468961790a
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'examples/ip_pipeline/cpu_core_map.h')
-rw-r--r-- | examples/ip_pipeline/cpu_core_map.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/examples/ip_pipeline/cpu_core_map.h b/examples/ip_pipeline/cpu_core_map.h deleted file mode 100644 index 5e50f6e5..00000000 --- a/examples/ip_pipeline/cpu_core_map.h +++ /dev/null @@ -1,40 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright(c) 2010-2015 Intel Corporation - */ - -#ifndef __INCLUDE_CPU_CORE_MAP_H__ -#define __INCLUDE_CPU_CORE_MAP_H__ - -#include <stdio.h> - -#include <rte_lcore.h> - -struct cpu_core_map; - -struct cpu_core_map * -cpu_core_map_init(uint32_t n_max_sockets, - uint32_t n_max_cores_per_socket, - uint32_t n_max_ht_per_core, - uint32_t eal_initialized); - -uint32_t -cpu_core_map_get_n_sockets(struct cpu_core_map *map); - -uint32_t -cpu_core_map_get_n_cores_per_socket(struct cpu_core_map *map); - -uint32_t -cpu_core_map_get_n_ht_per_core(struct cpu_core_map *map); - -int -cpu_core_map_get_lcore_id(struct cpu_core_map *map, - uint32_t socket_id, - uint32_t core_id, - uint32_t ht_id); - -void cpu_core_map_print(struct cpu_core_map *map); - -void -cpu_core_map_free(struct cpu_core_map *map); - -#endif |