crypto: qat - change signature of uof_get_num_objs()
authorJie Wang <jie.wang@intel.com>
Fri, 15 Dec 2023 10:01:45 +0000 (05:01 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Dec 2023 04:30:19 +0000 (12:30 +0800)
commitb34bd0fd563df763ccca998b3d5fc824c536c28a
tree127a73d3aede3abb479b3a46a61dd4f9c2148865
parent4db87a5f9e3026d72e03bbdf1dac1dc5303e37f7
crypto: qat - change signature of uof_get_num_objs()

Add accel_dev as parameter of the function uof_get_num_objs().
This is in preparation for the introduction of the QAT 420xx driver as
it will allow to reconfigure the ae_mask when a configuration that does
not require all AEs is loaded on the device.

This does not introduce any functional change.

Signed-off-by: Jie Wang <jie.wang@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c
drivers/crypto/intel/qat/qat_common/adf_accel_devices.h
drivers/crypto/intel/qat/qat_common/adf_accel_engine.c