aboutsummaryrefslogtreecommitdiffstats
path: root/doc/guides/prog_guide/writing_efficient_code.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/guides/prog_guide/writing_efficient_code.rst')
-rw-r--r--doc/guides/prog_guide/writing_efficient_code.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guides/prog_guide/writing_efficient_code.rst b/doc/guides/prog_guide/writing_efficient_code.rst
index 78d2afa9..8223acee 100644
--- a/doc/guides/prog_guide/writing_efficient_code.rst
+++ b/doc/guides/prog_guide/writing_efficient_code.rst
@@ -124,7 +124,7 @@ The code algorithm that dequeues messages may be something similar to the follow
while (1) {
/* Process as many elements as can be dequeued. */
- count = rte_ring_dequeue_burst(ring, obj_table, MAX_BULK);
+ count = rte_ring_dequeue_burst(ring, obj_table, MAX_BULK, NULL);
if (unlikely(count == 0))
continue;