examples/l3fwd: add FIB infrastructure
authorConor Walsh <conor.walsh@intel.com>
Fri, 16 Apr 2021 17:19:39 +0000 (17:19 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 20 Apr 2021 18:13:34 +0000 (20:13 +0200)
commit9510dd1feb71fac0b71c74e71bd2618ad14301ac
treea8e45994024e124bf564b1b080c399c51a1d19e1
parentda796d2755c0c96074c7e07858ae4e7562b79f61
examples/l3fwd: add FIB infrastructure

The purpose of this commit is to add the necessary function calls
and supporting infrastructure to allow the Forwarding Information Base
(FIB) library to be integrated into the l3fwd sample app.
Instead of adding an individual flag for FIB, a new flag '--lookup' has
been added that allows the user to select their desired lookup method.
The flags '-E' and '-L' have been retained for backwards compatibility.

Signed-off-by: Conor Walsh <conor.walsh@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
doc/guides/sample_app_ug/l3_forward.rst
examples/l3fwd/Makefile
examples/l3fwd/l3fwd.h
examples/l3fwd/l3fwd_event.c
examples/l3fwd/l3fwd_event.h
examples/l3fwd/l3fwd_fib.c [new file with mode: 0644]
examples/l3fwd/main.c
examples/l3fwd/meson.build