eal: move CPU flag functions out of headers
authorThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 2 Feb 2016 23:10:23 +0000 (00:10 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 16 Feb 2016 07:28:00 +0000 (08:28 +0100)
commitba560ac30c59a2e2ffd5a108525d322cac6475c1
tree8e2ef3e37fdd9c76779b98673833aedd0eabf56b
parent9f8faed95640466d901530600361e2f2a98493ac
eal: move CPU flag functions out of headers

The patch c344eab3ee has moved the hardware definition of CPU flags.
Now the functions checking these hardware flags are also moved.
The function rte_cpu_get_flag_enabled() is no more inline.

The benefits are:
- remove rte_cpu_feature_table from the ABI (recently added)
- hide hardware details from the API
- allow to adapt structures per arch (done in next patch)

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
15 files changed:
MAINTAINERS
app/test/test_hash_scaling.c
lib/librte_eal/bsdapp/eal/rte_eal_version.map
lib/librte_eal/common/arch/arm/rte_cpuflags.c
lib/librte_eal/common/arch/ppc_64/rte_cpuflags.c
lib/librte_eal/common/arch/tile/rte_cpuflags.c
lib/librte_eal/common/arch/x86/rte_cpuflags.c
lib/librte_eal/common/eal_common_cpuflags.c
lib/librte_eal/common/include/arch/arm/rte_cpuflags_32.h
lib/librte_eal/common/include/arch/arm/rte_cpuflags_64.h
lib/librte_eal/common/include/arch/ppc_64/rte_cpuflags.h
lib/librte_eal/common/include/arch/tile/rte_cpuflags.h
lib/librte_eal/common/include/arch/x86/rte_cpuflags.h
lib/librte_eal/common/include/generic/rte_cpuflags.h
lib/librte_eal/linuxapp/eal/rte_eal_version.map