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
common/cnxk: fix channel number setting in MCAM entries
[dpdk.git]
/
lib
/
ipsec
/
rte_ipsec_group.h
diff --git
a/lib/ipsec/rte_ipsec_group.h
b/lib/ipsec/rte_ipsec_group.h
index
60ab297
..
62c2bd7
100644
(file)
--- a/
lib/ipsec/rte_ipsec_group.h
+++ b/
lib/ipsec/rte_ipsec_group.h
@@
-49,10
+49,10
@@
rte_ipsec_ses_from_crypto(const struct rte_crypto_op *cop)
if (cop->sess_type == RTE_CRYPTO_OP_SECURITY_SESSION) {
ss = cop->sym[0].sec_session;
if (cop->sess_type == RTE_CRYPTO_OP_SECURITY_SESSION) {
ss = cop->sym[0].sec_session;
- return (
void
*)(uintptr_t)ss->opaque_data;
+ return (
struct rte_ipsec_session
*)(uintptr_t)ss->opaque_data;
} else if (cop->sess_type == RTE_CRYPTO_OP_WITH_SESSION) {
cs = cop->sym[0].session;
} else if (cop->sess_type == RTE_CRYPTO_OP_WITH_SESSION) {
cs = cop->sym[0].session;
- return (
void
*)(uintptr_t)cs->opaque_data;
+ return (
struct rte_ipsec_session
*)(uintptr_t)cs->opaque_data;
}
return NULL;
}
}
return NULL;
}