crypto/qat: enable asymmetric crypto on GEN4 device
This commit enables asymmetric crypto in generation four devices (4xxx). Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com> Acked-by: Kai Ji <kai.ji@intel.com>
This commit is contained in:
parent
8ea8e9eeb7
commit
efb1a06bb3
@ -169,6 +169,7 @@ poll mode crypto driver support for the following hardware accelerator devices:
|
||||
* ``Intel QuickAssist Technology C3xxx``
|
||||
* ``Intel QuickAssist Technology D15xx``
|
||||
* ``Intel QuickAssist Technology C4xxx``
|
||||
* ``Intel QuickAssist Technology 4xxx``
|
||||
|
||||
The QAT ASYM PMD has support for:
|
||||
|
||||
|
@ -375,8 +375,12 @@ RTE_INIT(qat_sym_crypto_gen4_init)
|
||||
|
||||
RTE_INIT(qat_asym_crypto_gen4_init)
|
||||
{
|
||||
qat_asym_gen_dev_ops[QAT_GEN4].cryptodev_ops = NULL;
|
||||
qat_asym_gen_dev_ops[QAT_GEN4].get_capabilities = NULL;
|
||||
qat_asym_gen_dev_ops[QAT_GEN4].get_feature_flags = NULL;
|
||||
qat_asym_gen_dev_ops[QAT_GEN4].set_session = NULL;
|
||||
qat_asym_gen_dev_ops[QAT_GEN4].cryptodev_ops =
|
||||
&qat_asym_crypto_ops_gen1;
|
||||
qat_asym_gen_dev_ops[QAT_GEN4].get_capabilities =
|
||||
qat_asym_crypto_cap_get_gen1;
|
||||
qat_asym_gen_dev_ops[QAT_GEN4].get_feature_flags =
|
||||
qat_asym_crypto_feature_flags_get_gen1;
|
||||
qat_asym_gen_dev_ops[QAT_GEN4].set_session =
|
||||
qat_asym_crypto_set_session_gen1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user