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/null: use ring size function
[dpdk.git]
/
drivers
/
crypto
/
null
/
null_crypto_pmd_ops.c
diff --git
a/drivers/crypto/null/null_crypto_pmd_ops.c
b/drivers/crypto/null/null_crypto_pmd_ops.c
index
26ff631
..
4a24537
100644
(file)
--- a/
drivers/crypto/null/null_crypto_pmd_ops.c
+++ b/
drivers/crypto/null/null_crypto_pmd_ops.c
@@
-193,7
+193,7
@@
null_crypto_pmd_qp_create_processed_pkts_ring(struct null_crypto_qp *qp,
r = rte_ring_lookup(qp->name);
if (r) {
- if (r
->prod.size
>= ring_size) {
+ if (r
te_ring_get_size(r)
>= ring_size) {
NULL_CRYPTO_LOG_INFO(
"Reusing existing ring %s for processed packets",
qp->name);