DPDK  19.08.0-rc0
rte_cpuflags.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2010-2014 Intel Corporation
3  */
4 
5 #ifndef _RTE_CPUFLAGS_H_
6 #define _RTE_CPUFLAGS_H_
7 
13 #include "rte_common.h"
14 #include <errno.h>
15 
19 __extension__
20 enum rte_cpu_flag_t;
21 
31 __extension__
32 const char *
33 rte_cpu_get_flag_name(enum rte_cpu_flag_t feature);
34 
45 __extension__
46 int
47 rte_cpu_get_flag_enabled(enum rte_cpu_flag_t feature);
48 
54 __rte_deprecated
55 void
57 
64 int
66 
74 unsigned long
75 rte_cpu_getauxval(unsigned long type);
76 
85 int
86 rte_cpu_strcmp_auxval(unsigned long type, const char *str);
87 
88 #endif /* _RTE_CPUFLAGS_H_ */
unsigned long rte_cpu_getauxval(unsigned long type)
__extension__ int rte_cpu_get_flag_enabled(enum rte_cpu_flag_t feature)
int rte_cpu_is_supported(void)
__extension__ const char * rte_cpu_get_flag_name(enum rte_cpu_flag_t feature)
int rte_cpu_strcmp_auxval(unsigned long type, const char *str)
__rte_deprecated void rte_cpu_check_supported(void)