Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 17.11.4
[deb_dpdk.git]
/
app
/
test-crypto-perf
/
cperf_ops.c
diff --git
a/app/test-crypto-perf/cperf_ops.c
b/app/test-crypto-perf/cperf_ops.c
index
23d30ca
..
0fa1c41
100644
(file)
--- a/
app/test-crypto-perf/cperf_ops.c
+++ b/
app/test-crypto-perf/cperf_ops.c
@@
-507,6
+507,7
@@
cperf_create_session(struct rte_mempool *sess_mp,
auth_xform.next = NULL;
auth_xform.auth.algo = options->auth_algo;
auth_xform.auth.op = options->auth_op;
auth_xform.next = NULL;
auth_xform.auth.algo = options->auth_algo;
auth_xform.auth.op = options->auth_op;
+ auth_xform.auth.iv.offset = iv_offset;
/* auth different than null */
if (options->auth_algo != RTE_CRYPTO_AUTH_NULL) {
/* auth different than null */
if (options->auth_algo != RTE_CRYPTO_AUTH_NULL) {
@@
-561,6
+562,8
@@
cperf_create_session(struct rte_mempool *sess_mp,
auth_xform.next = NULL;
auth_xform.auth.algo = options->auth_algo;
auth_xform.auth.op = options->auth_op;
auth_xform.next = NULL;
auth_xform.auth.algo = options->auth_algo;
auth_xform.auth.op = options->auth_op;
+ auth_xform.auth.iv.offset = iv_offset +
+ cipher_xform.cipher.iv.length;
/* auth different than null */
if (options->auth_algo != RTE_CRYPTO_AUTH_NULL) {
/* auth different than null */
if (options->auth_algo != RTE_CRYPTO_AUTH_NULL) {