HomeFreeBSD

qat: refactor error handling and add mutex locks

Description

qat: refactor error handling and add mutex locks

Error handling in qat driver code has been refactored.
Mutex lock handling has also been added during driver
attach and detach. Also pci_disable_busmaster() is called in
adf_detach() to ensure proper cleanup during device detachment.

Reviewed by: markj, ziaee
MFC after: 2 weeks
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D50379

Details

Provenance
hareshx.sankar.raj_intel.comAuthored on May 7 2025, 9:32 AM
markjCommitted on Jun 6 2025, 1:49 PM
Reviewer
markj
Differential Revision
D50379: Overview:
Parents
rGded037e65e52: qat: driver updates to improve code and fix bugs
Branches
Unknown
Tags
Unknown