git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
crypto/qat: update raw data path
[dpdk.git]
/
drivers
/
crypto
/
cnxk
/
cnxk_cryptodev.h
diff --git
a/drivers/crypto/cnxk/cnxk_cryptodev.h
b/drivers/crypto/cnxk/cnxk_cryptodev.h
index
03af4af
..
5e38933
100644
(file)
--- a/
drivers/crypto/cnxk/cnxk_cryptodev.h
+++ b/
drivers/crypto/cnxk/cnxk_cryptodev.h
@@
-6,19
+6,25
@@
#define _CNXK_CRYPTODEV_H_
#include <rte_cryptodev.h>
#define _CNXK_CRYPTODEV_H_
#include <rte_cryptodev.h>
+#include <rte_security.h>
#include "roc_cpt.h"
#define CNXK_CPT_MAX_CAPS 34
#define CNXK_SEC_CRYPTO_MAX_CAPS 4
#define CNXK_SEC_MAX_CAPS 3
#include "roc_cpt.h"
#define CNXK_CPT_MAX_CAPS 34
#define CNXK_SEC_CRYPTO_MAX_CAPS 4
#define CNXK_SEC_MAX_CAPS 3
-
+#define CNXK_AE_EC_ID_MAX 5
/**
* Device private data
*/
struct cnxk_cpt_vf {
struct roc_cpt cpt;
struct rte_cryptodev_capabilities crypto_caps[CNXK_CPT_MAX_CAPS];
/**
* Device private data
*/
struct cnxk_cpt_vf {
struct roc_cpt cpt;
struct rte_cryptodev_capabilities crypto_caps[CNXK_CPT_MAX_CAPS];
+ struct rte_cryptodev_capabilities
+ sec_crypto_caps[CNXK_SEC_CRYPTO_MAX_CAPS];
+ struct rte_security_capability sec_caps[CNXK_SEC_MAX_CAPS];
+ uint64_t cnxk_fpm_iova[CNXK_AE_EC_ID_MAX];
+ struct roc_ae_ec_group *ec_grp[CNXK_AE_EC_ID_MAX];
};
int cnxk_cpt_eng_grp_add(struct roc_cpt *roc_cpt);
};
int cnxk_cpt_eng_grp_add(struct roc_cpt *roc_cpt);