examples/l3fwd: fix build with exact-match enabled
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Sun, 9 Aug 2015 10:28:45 +0000 (11:28 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 10 Aug 2015 20:35:24 +0000 (22:35 +0200)
commit6f1c1e28d98e11c679538ea5eebd0401adba8f55
tree0709b211ff246e7bc4bb55af4f3545db0f281409
parent10cbac6ae95e27f99d81d4d6a4e00bf73de3ef13
examples/l3fwd: fix build with exact-match enabled

L3fwd was trying to use an inexistent function "simple_ipv6_fwd_4pkts",
instead it should be "simple_ipv6_fwd_8pkts", and "simple_ipv8_fwd_4pkts"
instead of "simple_ipv4_fwd_8pkts".

clang reports some unused functions, used only for LPM lookup:
examples/l3fwd/main.c:545:1: error: unused function 'send_packetsx4'
examples/l3fwd/main.c:1165:1: error: unused function 'rfc1812_process'

Fixes: 80fcb4d4 ("examples/l3fwd: increase lookup burst size to 8")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
[Thomas: more #if to fix clang warnings]
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
examples/l3fwd/main.c