2
0
mirror of https://github.com/openvswitch/ovs synced 2025-09-03 07:45:30 +00:00

dpdk: enable CPU feature detection.

This commit implements a method to retrieve the CPU ISA capabilities.
These ISA capabilities can be used in OVS to at runtime select a function
implementation to make the best use of the available ISA on the CPU.

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: William Tu <u9012063@gmail.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
This commit is contained in:
Harry van Haaren
2020-07-13 13:42:13 +01:00
committed by Ian Stokes
parent 9ff7cabfd7
commit b250b39a7a
3 changed files with 41 additions and 0 deletions

View File

@@ -44,4 +44,6 @@ bool dpdk_per_port_memory(void);
bool dpdk_available(void);
void print_dpdk_version(void);
void dpdk_status(const struct ovsrec_open_vswitch *);
bool dpdk_get_cpu_has_isa(const char *arch, const char *feature);
#endif /* dpdk.h */