HomeFreeBSD

qat: reimplement cpaCyGetXXXInstances as a wrapper

Description

qat: reimplement cpaCyGetXXXInstances as a wrapper

Currently code from sal_instances.c and sal_crypto.c
for getting cy instances or number of instances is duplicated.

This commit replaces cpaCyGetXXXInstances implementation with
Lac_GetCyXXXInstancesByType invocation.

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

(cherry picked from commit e745eee59c821c1d8ae7f5b25dfbdf0049b4787c)

Details

Provenance
hareshx.sankar.raj_intel.comAuthored on May 1 2025, 5:53 AM
markjCommitted on Jun 20 2025, 12:47 PM
Reviewer
markj
Differential Revision
D50379: Overview:
Parents
rGef712e91a866: qat: restrict sysctl access to privileged users
Branches
Unknown
Tags
Unknown