]> git.droids-corp.org - dpdk.git/commit
examples/l3fwd: support config file for EM
authorSean Morrissey <sean.morrissey@intel.com>
Tue, 1 Mar 2022 14:49:08 +0000 (14:49 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 8 Mar 2022 08:59:53 +0000 (09:59 +0100)
commite7e6dd6430921edbf215c0fb99f49d3cdff868c2
treebb66777c2dcbb343ac7315eea5b826988dec843b
parent52def963fc1c5aa8eae51ea2f87e0a34be4e53ee
examples/l3fwd: support config file for EM

Add support to define ipv4 and ipv6 forwarding tables
from reading from a config file for EM with a format
similar to l3fwd-acl one.

Users can now use the default hardcoded route tables
or optionally config files for 'l3fwd_em'. Default
config files have been provided for use with EM.

Related l3fwd docs have been updated to reflect these
changes.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
doc/guides/sample_app_ug/l3_forward.rst
examples/l3fwd/em_default_v4.cfg [new file with mode: 0644]
examples/l3fwd/em_default_v6.cfg [new file with mode: 0644]
examples/l3fwd/em_route_parse.c
examples/l3fwd/l3fwd_em.c
examples/l3fwd/l3fwd_route.h