Currently the l3fwd sample app supports LPM and EM lookup methods this patchset implements the FIB library as another lookup method for l3fwd. The flag '-F' has been added to the applications options to allow the user to use this lookup method.
Conor Walsh (5): examples/l3fwd: fix LPM IPv6 subnets examples/l3fwd: move l3fwd routes to common header examples/l3fwd: add FIB infrastructure examples/l3fwd: implement FIB lookup method doc/guides/l3_forward: update documentation for FIB doc/guides/sample_app_ug/l3_forward.rst | 103 ++++- examples/l3fwd/Makefile | 2 +- examples/l3fwd/l3fwd.h | 27 +- examples/l3fwd/l3fwd_common_route.h | 48 +++ examples/l3fwd/l3fwd_event.c | 9 + examples/l3fwd/l3fwd_event.h | 1 + examples/l3fwd/l3fwd_fib.c | 488 ++++++++++++++++++++++++ examples/l3fwd/l3fwd_lpm.c | 68 +--- examples/l3fwd/main.c | 43 ++- examples/l3fwd/meson.build | 4 +- 10 files changed, 717 insertions(+), 76 deletions(-) create mode 100644 examples/l3fwd/l3fwd_common_route.h create mode 100644 examples/l3fwd/l3fwd_fib.c -- 2.25.1