qat: report cy/dc capabilities for 401xx/402xx too

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
Mikko Ylinen 2023-05-23 18:14:08 +03:00
parent 4843520756
commit d83a6418a7

View File

@ -400,7 +400,9 @@ func getDeviceCapabilities(device string) (string, error) {
}
devicesWithCapabilities := map[string]struct{}{
"4941": {}, // Check QAT Gen4 (4xxx) VF PCI ID only
"4941": {}, // QAT Gen4 (4xxx) VF PCI ID
"4943": {}, // QAT Gen4 (401xx) VF PCI ID
"4945": {}, // QAT Gen4 (402xx) VF PCI ID
}
if _, ok := devicesWithCapabilities[devID]; !ok {