eal/x86: add CPU flag for WAITPKG
authorLiang Ma <liang.j.ma@intel.com>
Tue, 27 Oct 2020 14:59:01 +0000 (14:59 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 29 Oct 2020 21:46:27 +0000 (22:46 +0100)
commite448a5a9ed817a85d1021a7dff3744be1ac7bcfa
tree61ddeaf53cf37a9541ce45521d5c5873a04a4bda
parent570e681079e8d7ca65fb2949189ccbff1eb9e418
eal/x86: add CPU flag for WAITPKG

Add a new CPUID flag indicating processor support for UMONITOR/UMWAIT
and TPAUSE instructions instruction.

Signed-off-by: Liang Ma <liang.j.ma@intel.com>
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_eal/x86/include/rte_cpuflags.h
lib/librte_eal/x86/rte_cpuflags.c