crypto: qat - exchange device capabilities over PFVF
Allow the VF driver to get the supported device capabilities through PFVF, by adding a new block message, the Capability Summary. This messages allows to exchange the capability through masks, which report, depending on the Capability Summary version, up to the following information: - algorithms and/or services that are supported by the device (e.g. symmetric crypto, data compression, etc.) - (extended) compression capabilities, with details about the compression service (e.g. if compress and verify is supported by this device) - the frequency of the device This patch supports the latest Capabilities Summary version 3 for VFs, but will limit support for the PF driver to version 2. This change also increases the PFVF protocol to version 2. Signed-off-by:Marco Chiappero <marco.chiappero@intel.com> Reviewed-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>
Showing
- drivers/crypto/qat/qat_common/adf_accel_devices.h 1 addition, 0 deletionsdrivers/crypto/qat/qat_common/adf_accel_devices.h
- drivers/crypto/qat/qat_common/adf_pfvf_msg.h 32 additions, 3 deletionsdrivers/crypto/qat/qat_common/adf_pfvf_msg.h
- drivers/crypto/qat/qat_common/adf_pfvf_pf_msg.c 18 additions, 0 deletionsdrivers/crypto/qat/qat_common/adf_pfvf_pf_msg.c
- drivers/crypto/qat/qat_common/adf_pfvf_pf_msg.h 3 additions, 0 deletionsdrivers/crypto/qat/qat_common/adf_pfvf_pf_msg.h
- drivers/crypto/qat/qat_common/adf_pfvf_pf_proto.c 1 addition, 0 deletionsdrivers/crypto/qat/qat_common/adf_pfvf_pf_proto.c
- drivers/crypto/qat/qat_common/adf_pfvf_vf_msg.c 46 additions, 0 deletionsdrivers/crypto/qat/qat_common/adf_pfvf_vf_msg.c
- drivers/crypto/qat/qat_common/adf_pfvf_vf_msg.h 1 addition, 0 deletionsdrivers/crypto/qat/qat_common/adf_pfvf_vf_msg.h
- drivers/crypto/qat/qat_common/adf_pfvf_vf_proto.c 10 additions, 1 deletiondrivers/crypto/qat/qat_common/adf_pfvf_vf_proto.c
Please register or sign in to comment