* [PATCH] crypto/qat: enable asymmetric crypto on gen3 device
@ 2022-12-14 16:34 Ciara Power
2023-01-11 16:49 ` Ji, Kai
0 siblings, 1 reply; 3+ messages in thread
From: Ciara Power @ 2022-12-14 16:34 UTC (permalink / raw)
To: Kai Ji; +Cc: dev, arkadiuszx.kusztal, Ciara Power
This commit enables asymmetric crypto in generation three
devices.
Signed-off-by: Ciara Power <ciara.power@intel.com>
---
doc/guides/cryptodevs/qat.rst | 3 ++-
doc/guides/rel_notes/release_23_03.rst | 3 +++
drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c | 12 ++++++++----
3 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst
index d1e64475c4..80952ae2fe 100644
--- a/doc/guides/cryptodevs/qat.rst
+++ b/doc/guides/cryptodevs/qat.rst
@@ -168,6 +168,7 @@ poll mode crypto driver support for the following hardware accelerator devices:
* ``Intel QuickAssist Technology C62x``
* ``Intel QuickAssist Technology C3xxx``
* ``Intel QuickAssist Technology D15xx``
+* ``Intel QuickAssist Technology C4xxx``
* ``Intel QuickAssist Technology 4xxx``
* ``Intel QuickAssist Technology 401xxx``
@@ -391,7 +392,7 @@ to see the full table)
+-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+
| Yes | No | No | 2 | D15xx | p | qat_d15xx | d15xx | 6f54 | 1 | 6f55 | 16 |
+-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+
- | Yes | No | No | 3 | C4xxx | p | qat_c4xxx | c4xxx | 18a0 | 1 | 18a1 | 128 |
+ | Yes | Yes | No | 3 | C4xxx | p | qat_c4xxx | c4xxx | 18a0 | 1 | 18a1 | 128 |
+-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+
| Yes | Yes | No | 4 | 4xxx | linux/5.11+ | qat_4xxx | 4xxx | 4940 | 4 | 4941 | 16 |
+-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+
diff --git a/doc/guides/rel_notes/release_23_03.rst b/doc/guides/rel_notes/release_23_03.rst
index b8c5b68d6c..922e414394 100644
--- a/doc/guides/rel_notes/release_23_03.rst
+++ b/doc/guides/rel_notes/release_23_03.rst
@@ -55,6 +55,9 @@ New Features
Also, make sure to start the actual text at the margin.
=======================================================
+* **Updated Intel QuickAssist Technology (QAT) crypto driver.**
+
+ * Added Asymmetric Crypto support for GEN3.
Removed Items
-------------
diff --git a/drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c b/drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
index 7f00f6097d..6dc485d365 100644
--- a/drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
+++ b/drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c
@@ -725,8 +725,12 @@ RTE_INIT(qat_sym_crypto_gen3_init)
RTE_INIT(qat_asym_crypto_gen3_init)
{
- qat_asym_gen_dev_ops[QAT_GEN3].cryptodev_ops = NULL;
- qat_asym_gen_dev_ops[QAT_GEN3].get_capabilities = NULL;
- qat_asym_gen_dev_ops[QAT_GEN3].get_feature_flags = NULL;
- qat_asym_gen_dev_ops[QAT_GEN3].set_session = NULL;
+ qat_asym_gen_dev_ops[QAT_GEN3].cryptodev_ops =
+ &qat_asym_crypto_ops_gen1;
+ qat_asym_gen_dev_ops[QAT_GEN3].get_capabilities =
+ qat_asym_crypto_cap_get_gen1;
+ qat_asym_gen_dev_ops[QAT_GEN3].get_feature_flags =
+ qat_asym_crypto_feature_flags_get_gen1;
+ qat_asym_gen_dev_ops[QAT_GEN3].set_session =
+ qat_asym_crypto_set_session_gen1;
}
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] crypto/qat: enable asymmetric crypto on gen3 device
2022-12-14 16:34 [PATCH] crypto/qat: enable asymmetric crypto on gen3 device Ciara Power
@ 2023-01-11 16:49 ` Ji, Kai
2023-02-01 14:14 ` Akhil Goyal
0 siblings, 1 reply; 3+ messages in thread
From: Ji, Kai @ 2023-01-11 16:49 UTC (permalink / raw)
To: Power, Ciara; +Cc: dev, Kusztal, ArkadiuszX
Acked-by: Kai Ji <kai.ji@intel.com>
> -----Original Message-----
> From: Power, Ciara <ciara.power@intel.com>
> Sent: Wednesday, December 14, 2022 4:34 PM
> To: Ji, Kai <kai.ji@intel.com>
> Cc: dev@dpdk.org; Kusztal, ArkadiuszX <arkadiuszx.kusztal@intel.com>;
> Power, Ciara <ciara.power@intel.com>
> Subject: [PATCH] crypto/qat: enable asymmetric crypto on gen3 device
>
> This commit enables asymmetric crypto in generation three devices.
>
> Signed-off-by: Ciara Power <ciara.power@intel.com>
> ---
> 2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] crypto/qat: enable asymmetric crypto on gen3 device
2023-01-11 16:49 ` Ji, Kai
@ 2023-02-01 14:14 ` Akhil Goyal
0 siblings, 0 replies; 3+ messages in thread
From: Akhil Goyal @ 2023-02-01 14:14 UTC (permalink / raw)
To: Ji, Kai, Power, Ciara; +Cc: dev, Kusztal, ArkadiuszX
> Acked-by: Kai Ji <kai.ji@intel.com>
>
> > Subject: [PATCH] crypto/qat: enable asymmetric crypto on gen3 device
> >
> > This commit enables asymmetric crypto in generation three devices.
> >
> > Signed-off-by: Ciara Power <ciara.power@intel.com>
Applied to dpdk-next-crypto
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-02-01 14:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14 16:34 [PATCH] crypto/qat: enable asymmetric crypto on gen3 device Ciara Power
2023-01-11 16:49 ` Ji, Kai
2023-02-01 14:14 ` Akhil Goyal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).