git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
eal/x86: get hypervisor name
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
arch
/
x86
/
rte_cpuflags.h
diff --git
a/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h
b/lib/librte_eal/common/include/arch/x86/rte_cpuflags.h
index
eb0bdf4
..
8315f6b
100644
(file)
--- a/
lib/librte_eal/common/include/arch/x86/rte_cpuflags.h
+++ b/
lib/librte_eal/common/include/arch/x86/rte_cpuflags.h
@@
-40,6
+40,7
@@
enum rte_cpu_flag_t {
RTE_CPUFLAG_AVX, /**< AVX */
RTE_CPUFLAG_F16C, /**< F16C */
RTE_CPUFLAG_RDRAND, /**< RDRAND */
+ RTE_CPUFLAG_HYPERVISOR, /**< Running in a VM */
/* (EAX 01h) EDX features */
RTE_CPUFLAG_FPU, /**< FPU */