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

(cherry picked from commit ae1dc27639c88038d150660c4096753e210aec42)

Details

Provenance
hareshx.sankar.raj_intel.comAuthored on May 7 2025, 9:32 AM
markjCommitted on Fri, Jun 20, 12:47 PM
Reviewer
markj
Differential Revision
D50379: Overview:
Parents
rGcabd847e400f: qat: driver updates to improve code and fix bugs
Branches
Unknown
Tags
Unknown
OSZAR »