Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cmd/qat_plugin/dpdkdrv/dpdkdrv.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down