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
Imported Upstream version 16.07-rc1
[deb_dpdk.git]
/
doc
/
guides
/
sample_app_ug
/
l3_forward.rst
diff --git
a/doc/guides/sample_app_ug/l3_forward.rst
b/doc/guides/sample_app_ug/l3_forward.rst
index
3e070d0
..
491f99d
100644
(file)
--- a/
doc/guides/sample_app_ug/l3_forward.rst
+++ b/
doc/guides/sample_app_ug/l3_forward.rst
@@
-324,7
+324,7
@@
The key code snippet of simple_ipv4_fwd_4pkts() is shown below:
const void *key_array[4] = {&key[0], &key[1], &key[2],&key[3]};
const void *key_array[4] = {&key[0], &key[1], &key[2],&key[3]};
- rte_hash_lookup_
multi
(qconf->ipv4_lookup_struct, &key_array[0], 4, ret);
+ rte_hash_lookup_
bulk
(qconf->ipv4_lookup_struct, &key_array[0], 4, ret);
dst_port[0] = (ret[0] < 0)? portid:ipv4_l3fwd_out_if[ret[0]];
dst_port[1] = (ret[1] < 0)? portid:ipv4_l3fwd_out_if[ret[1]];
dst_port[0] = (ret[0] < 0)? portid:ipv4_l3fwd_out_if[ret[0]];
dst_port[1] = (ret[1] < 0)? portid:ipv4_l3fwd_out_if[ret[1]];