[PATCH v3 1/8] examples/l3fwd: make eventdev an optional dependency
Bruce Richardson
bruce.richardson at intel.com
Fri Jun 23 15:25:02 CEST 2023
On Fri, Jun 23, 2023 at 12:15:01PM +0100, Bruce Richardson wrote:
> With l3fwd being a very commonly used example app, and built as part of
> our CI tests, we need to ensure it's buildable with just about all
> supported DPDK configurations. To enable l3fwd application to be built
> when the eventdev library is disabled, we need to compile in the
> eventdev support conditionally. Thankfully, the eventdev support is
> pretty self-contained, with only the main.c file having more than a
> couple of ifdefs.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
> examples/l3fwd/l3fwd_em.c | 2 ++
> examples/l3fwd/l3fwd_fib.c | 2 ++
> examples/l3fwd/l3fwd_lpm.c | 2 ++
> examples/l3fwd/main.c | 65 ++++++++++++++++++++++++++++++--------
> examples/l3fwd/meson.build | 13 +++++---
> 5 files changed, 66 insertions(+), 18 deletions(-)
>
Apologies, it appears I still have issues in the case where l3fwd is
compiled standalone after a DPDK install, rather than as part of the build.
New revision of the set will be forthcoming....
More information about the dev
mailing list