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
net/mlx4: fix returned values upon failed probing
[dpdk.git]
/
examples
/
load_balancer
/
runtime.c
diff --git
a/examples/load_balancer/runtime.c
b/examples/load_balancer/runtime.c
index
1645994
..
8192c08
100644
(file)
--- a/
examples/load_balancer/runtime.c
+++ b/
examples/load_balancer/runtime.c
@@
-349,7
+349,8
@@
app_lcore_io_tx(
ret = rte_ring_sc_dequeue_bulk(
ring,
(void **) &lp->tx.mbuf_out[port].array[n_mbufs],
ret = rte_ring_sc_dequeue_bulk(
ring,
(void **) &lp->tx.mbuf_out[port].array[n_mbufs],
- bsz_rd);
+ bsz_rd,
+ NULL);
if (unlikely(ret == 0))
continue;
if (unlikely(ret == 0))
continue;
@@
-504,7
+505,8
@@
app_lcore_worker(
ret = rte_ring_sc_dequeue_bulk(
ring_in,
(void **) lp->mbuf_in.array,
ret = rte_ring_sc_dequeue_bulk(
ring_in,
(void **) lp->mbuf_in.array,
- bsz_rd);
+ bsz_rd,
+ NULL);
if (unlikely(ret == 0))
continue;
if (unlikely(ret == 0))
continue;