diff options
author | Marco Chiappero <marco.chiappero@intel.com> | 2021-12-16 09:13:27 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-12-24 14:18:26 +1100 |
commit | 851ed498dba11b96d2f696e23f9084e0add1896f (patch) | |
tree | e335a74a7066d5c59afd595a0d08d68456cd84f0 /block/blk.h | |
parent | 673184a2a58f93f0c170d30247155b3f86ba69ee (diff) | |
download | linux-stable-851ed498dba11b96d2f696e23f9084e0add1896f.tar.gz linux-stable-851ed498dba11b96d2f696e23f9084e0add1896f.tar.bz2 linux-stable-851ed498dba11b96d2f696e23f9084e0add1896f.zip |
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>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions