Skip to content

Commit d83a641

Browse files
committed
qat: report cy/dc capabilities for 401xx/402xx too
Signed-off-by: Mikko Ylinen <[email protected]>
1 parent 4843520 commit d83a641

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmd/qat_plugin/dpdkdrv/dpdkdrv.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,9 @@ func getDeviceCapabilities(device string) (string, error) {
400400
}
401401

402402
devicesWithCapabilities := map[string]struct{}{
403-
"4941": {}, // Check QAT Gen4 (4xxx) VF PCI ID only
403+
"4941": {}, // QAT Gen4 (4xxx) VF PCI ID
404+
"4943": {}, // QAT Gen4 (401xx) VF PCI ID
405+
"4945": {}, // QAT Gen4 (402xx) VF PCI ID
404406
}
405407

406408
if _, ok := devicesWithCapabilities[devID]; !ok {

0 commit comments

Comments
 (0)