mbox series

[v3,0/5] examples/l3fwd: add FIB lookup method to l3fwd

Message ID 20210219150945.2071651-1-conor.walsh@intel.com (mailing list archive)
Headers
Series examples/l3fwd: add FIB lookup method to l3fwd |

Message

Conor Walsh Feb. 19, 2021, 3:09 p.m. UTC
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.

---

v3: add support for NEON, PPC 64 and machines that do not support SSE,
    NEON or PPC 64.

v2: added the socket header file to fix FreeBSD build.

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              | 523 ++++++++++++++++++++++++
 examples/l3fwd/l3fwd_lpm.c              |  68 +--
 examples/l3fwd/main.c                   |  43 +-
 examples/l3fwd/meson.build              |   4 +-
 10 files changed, 752 insertions(+), 76 deletions(-)
 create mode 100644 examples/l3fwd/l3fwd_common_route.h
 create mode 100644 examples/l3fwd/l3fwd_fib.c