Project

General

Profile

Actions

Regression #13491

closed

Crypto devices are not detected on current snapshots because the format of pciconf has changed

Added by Jim Pingle over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
High
Category:
Operating System
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Force Exclusion
Affected Plus Version:
Affected Architecture:

Description

The crypto device detection on the dashboard relies on the output of pciconf to determine if a device is active. The format of this command has changed on current snapshots:

old:

qat0@pci0:1:0:0:        class=0x0b4000 card=0x19e28086 chip=0x19e28086 rev=0x11 hdr=0x00

new:

qat0@pci0:1:0:0:        class=0x0b4000 rev=0x11 hdr=0x00 vendor=0x8086 device=0x19e2 subvendor=0x8086 subdevice=0x19e2

The new format has data separated that was combined before, and the code in src/usr/local/www/includes/functions.inc.php is looking for the combined format.


Related issues

Has duplicate Bug #13667: QuickAssist hardware not recognizedDuplicateKristof Provost

Actions
Actions #1

Updated by Jim Pingle over 1 year ago

  • Assignee set to Kristof Provost
  • Private changed from Yes to No
Actions #2

Updated by Jim Pingle over 1 year ago

  • Has duplicate Bug #13667: QuickAssist hardware not recognized added
Actions #3

Updated by Jim Pingle over 1 year ago

  • Status changed from New to Feedback

MR is merged. Works well here for detecting QAT, but needs further testing on more hardware once it's in a snapshot.

Actions #4

Updated by Nick Goehring over 1 year ago

Can confirm the fix is working on an SG-5100 running 23.01 build 23.01.a.20221118.0600. Thanks for the quick turnaround on this one!

Actions #5

Updated by Jim Pingle over 1 year ago

  • Status changed from Feedback to Resolved

Confirmed here as well on 4100 (C3K), 7100 (C3K), and 7551 (C2K).

Actions

Also available in: Atom PDF