summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-28 19:20:37 +0100
committerChristian Poessinger <christian@poessinger.com>2020-10-28 19:20:37 +0100
commit4a83a9ac55caf463c876dd948445e09d316ca629 (patch)
treee100954300d4df9bf38f37327f72456d17b82634 /src/conf_mode
parent8e11d9cc51b16949f42cde3cb9a002fe3ab92228 (diff)
downloadvyos-1x-4a83a9ac55caf463c876dd948445e09d316ca629.tar.gz
vyos-1x-4a83a9ac55caf463c876dd948445e09d316ca629.zip
qat: T2968: adjust to C200xx PCI ID from Intel drivers
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/intel_qat.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/conf_mode/intel_qat.py b/src/conf_mode/intel_qat.py
index ab98cbc03..dd04a002d 100755
--- a/src/conf_mode/intel_qat.py
+++ b/src/conf_mode/intel_qat.py
@@ -66,8 +66,14 @@ def verify(qat):
# Check if QAT device exist
output, err = popen('lspci -nn', decode='utf-8')
if not err:
+ # PCI id | Chipset
+ # 19e2 -> C3xx
+ # 37c8 -> C62x
+ # 0435 -> DH895
+ # 6f54 -> D15xx
+ # 18ee -> QAT_200XX
data = re.findall(
- '(8086:19e2)|(8086:37c8)|(8086:0435)|(8086:6f54)|(8086:1f18)', output)
+ '(8086:19e2)|(8086:37c8)|(8086:0435)|(8086:6f54)|(8086:18ee)', output)
# If QAT devices found
if not data:
raise ConfigError('No QAT acceleration device found')