Skip to content

Commit 2a8b8e8

Browse files
mythitkatila
authored andcommitted
qat: report cy/dc capabilities for 401xx/402xx too
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
1 parent c17149f commit 2a8b8e8

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
@@ -399,7 +399,9 @@ func getDeviceCapabilities(device string) (string, error) {
399399
}
400400

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

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

0 commit comments

Comments
 (0)