No need for those forward declarations (which breaks build when asking for
C++11 or adding pedantic flag).
Signed-off-by: David Marchand <david.marchand@6wind.com>
/**
* Enumeration of all CPU features supported
*/
/**
* Enumeration of all CPU features supported
*/
/**
* Enumeration of CPU registers
*/
/**
* Enumeration of CPU registers
*/
typedef uint32_t cpuid_registers_t[4];
typedef uint32_t cpuid_registers_t[4];
* 0 if flag is not available
* -ENOENT if flag is invalid
*/
* 0 if flag is not available
* -ENOENT if flag is invalid
*/
static inline int
rte_cpu_get_flag_enabled(enum rte_cpu_flag_t feature);
static inline int
rte_cpu_get_flag_enabled(enum rte_cpu_flag_t feature);
/**
* This function checks that the currently used CPU supports the CPU features
/**
* This function checks that the currently used CPU supports the CPU features