diff options
| author | Daniil Baturin <daniil@baturin.org> | 2025-07-28 12:34:10 +0100 |
|---|---|---|
| committer | Daniil Baturin <daniil@baturin.org> | 2025-07-28 14:46:13 +0100 |
| commit | ffba3fc129dcd306f97942706f99a04c7c3d6af2 (patch) | |
| tree | 8367e9389199ace0c9be76058f0fa1b35a9bf69f /src/op_mode | |
| parent | fc5ea5bdf1a1fb0092d2f4847b100b29f1ac25a4 (diff) | |
| download | vyos-1x-ffba3fc129dcd306f97942706f99a04c7c3d6af2.tar.gz vyos-1x-ffba3fc129dcd306f97942706f99a04c7c3d6af2.zip | |
qat: T7662: add PCI ID range for Intel C62x virtual function devices
Diffstat (limited to 'src/op_mode')
| -rwxr-xr-x | src/op_mode/show_acceleration.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/op_mode/show_acceleration.py b/src/op_mode/show_acceleration.py index 6d1d842fa..36e906cb8 100755 --- a/src/op_mode/show_acceleration.py +++ b/src/op_mode/show_acceleration.py @@ -26,7 +26,7 @@ from vyos.utils.process import popen def detect_qat_dev(): output, err = popen('lspci -nn', decode='utf-8') if not err: - data = re.findall('(8086:19e2)|(8086:37c8)|(8086:0435)|(8086:6f54)', output) + data = re.findall('(8086:19e2)|(8086:37c[8-9])|(8086:0435)|(8086:6f54)', output) # QAT devices found if data: return @@ -93,7 +93,7 @@ args = parser.parse_args() if args.hw: detect_qat_dev() # Show availible Intel QAT devices - call('lspci -nn | egrep -e \'8086:37c8|8086:19e2|8086:0435|8086:6f54\'') + call('lspci -nn | egrep -e \'8086:37c[8-9]|8086:19e2|8086:0435|8086:6f54\'') elif args.flow and args.dev: check_qat_if_conf() call('cat '+get_qat_proc_path(args.dev)+"fw_counters") |
