crypto: qat - add hook to initialize vector routing table
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Fri, 13 Nov 2020 16:46:42 +0000 (16:46 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Nov 2020 03:45:34 +0000 (14:45 +1100)
commit6644f49e7b71e13bcc5498d9fea8862c5ce96388
treef93b0e2edffe314393341194776c60d264c6ebad
parente73916f20829be09932326ab0c9627b29df553e8
crypto: qat - add hook to initialize vector routing table

Add an hook to initialize the vector routing table with the default
values before MSIx is enabled.
The new function set_msix_rttable() is called only if present in the
struct adf_hw_device_data of the device. This is to allow for QAT
devices that do not support that functionality.

Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Fiona Trahe <fiona.trahe@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_accel_devices.h
drivers/crypto/qat/qat_common/adf_isr.c