1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-17 22:08:33 +00:00

cpuid: correct the name of SSE4* cpuid flags

The naming was changed in when with cpuid v2
(github.com/klauspost/cpuid/v2) and we didn't catch this in NFD. No
issue reports of the inadvertent naming change so let's just adapt to
the updated naming in NFD configuration. The SSE4* labels are disabled
by default so they're not widely used, if at all.
This commit is contained in:
Markus Lehtonen 2021-07-06 11:54:55 +03:00
parent bd97f9e803
commit 31bd91988f
7 changed files with 13 additions and 13 deletions

View file

@ -119,8 +119,8 @@ worker:
# - "SSE" # - "SSE"
# - "SSE2" # - "SSE2"
# - "SSE3" # - "SSE3"
# - "SSE4.1" # - "SSE4"
# - "SSE4.2" # - "SSE42"
# - "SSSE3" # - "SSSE3"
# attributeWhitelist: # attributeWhitelist:
# kernel: # kernel:

View file

@ -81,7 +81,7 @@ about configurability, see
[configuration](deployment-and-usage#worker-configuration). [configuration](deployment-and-usage#worker-configuration).
By default, the following CPUID flags have been blacklisted: By default, the following CPUID flags have been blacklisted:
BMI1, BMI2, CLMUL, CMOV, CX16, ERMS, F16C, HTT, LZCNT, MMX, MMXEXT, NX, POPCNT, BMI1, BMI2, CLMUL, CMOV, CX16, ERMS, F16C, HTT, LZCNT, MMX, MMXEXT, NX, POPCNT,
RDRAND, RDSEED, RDTSCP, SGX, SSE, SSE2, SSE3, SSE4.1, SSE4.2 and SSSE3. RDRAND, RDSEED, RDTSCP, SGX, SSE, SSE2, SSE3, SSE4, SSE42 and SSSE3.
**NOTE** The cpuid features advertise *supported* CPU capabilities, that is, a **NOTE** The cpuid features advertise *supported* CPU capabilities, that is, a
capability might be supported but not enabled. capability might be supported but not enabled.

View file

@ -206,8 +206,8 @@ data:
# - "SSE" # - "SSE"
# - "SSE2" # - "SSE2"
# - "SSE3" # - "SSE3"
# - "SSE4.1" # - "SSE4"
# - "SSE4.2" # - "SSE42"
# - "SSSE3" # - "SSSE3"
# attributeWhitelist: # attributeWhitelist:
# kernel: # kernel:

View file

@ -163,8 +163,8 @@ data:
# - "SSE" # - "SSE"
# - "SSE2" # - "SSE2"
# - "SSE3" # - "SSE3"
# - "SSE4.1" # - "SSE4"
# - "SSE4.2" # - "SSE42"
# - "SSSE3" # - "SSSE3"
# attributeWhitelist: # attributeWhitelist:
# kernel: # kernel:

View file

@ -180,8 +180,8 @@ data:
# - "SSE" # - "SSE"
# - "SSE2" # - "SSE2"
# - "SSE3" # - "SSE3"
# - "SSE4.1" # - "SSE4"
# - "SSE4.2" # - "SSE42"
# - "SSSE3" # - "SSSE3"
# attributeWhitelist: # attributeWhitelist:
# kernel: # kernel:

View file

@ -43,8 +43,8 @@
# - "SSE" # - "SSE"
# - "SSE2" # - "SSE2"
# - "SSE3" # - "SSE3"
# - "SSE4.1" # - "SSE4"
# - "SSE4.2" # - "SSE42"
# - "SSSE3" # - "SSSE3"
# attributeWhitelist: # attributeWhitelist:
# kernel: # kernel:

View file

@ -63,8 +63,8 @@ func newDefaultConfig() *Config {
"SSE", "SSE",
"SSE2", "SSE2",
"SSE3", "SSE3",
"SSE4.1", "SSE4",
"SSE4.2", "SSE42",
"SSSE3", "SSSE3",
}, },
AttributeWhitelist: []string{}, AttributeWhitelist: []string{},