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
app/crypto-perf: support lookaside IPsec
[dpdk.git]
/
lib
/
cryptodev
/
rte_crypto_sym.h
diff --git
a/lib/cryptodev/rte_crypto_sym.h
b/lib/cryptodev/rte_crypto_sym.h
index
c907b16
..
daa090b
100644
(file)
--- a/
lib/cryptodev/rte_crypto_sym.h
+++ b/
lib/cryptodev/rte_crypto_sym.h
@@
-990,6
+990,7
@@
rte_crypto_mbuf_to_vec(const struct rte_mbuf *mb, uint32_t ofs, uint32_t len,
/* whole requested data is completed */
vec[i].len = left;
left = 0;
/* whole requested data is completed */
vec[i].len = left;
left = 0;
+ i++;
break;
}
break;
}
@@
-999,7
+1000,7
@@
rte_crypto_mbuf_to_vec(const struct rte_mbuf *mb, uint32_t ofs, uint32_t len,
}
RTE_ASSERT(left == 0);
}
RTE_ASSERT(left == 0);
- return i
+ 1
;
+ return i;
}
}