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.richard...@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....
- [PATCH v2 3/7] build: make bpf library optional Bruce Richardson
- [PATCH v2 4/7] build: make efd library optional Bruce Richardson
- [PATCH v2 5/7] build: make distributor library optio... Bruce Richardson
- [PATCH v2 6/7] build: make fragmentation library opt... Bruce Richardson
- [PATCH v2 7/7] build: make reorder library optional Bruce Richardson
- Re: [PATCH v2 0/7] expand list of optional libraries David Marchand
- Re: [PATCH v2 0/7] expand list of optional libra... David Marchand
- Re: [PATCH v2 0/7] expand list of optional l... Bruce Richardson
- [PATCH v3 0/8] expand list of optional libraries Bruce Richardson
- [PATCH v3 1/8] examples/l3fwd: make eventdev an opti... Bruce Richardson
- Re: [PATCH v3 1/8] examples/l3fwd: make eventdev... Bruce Richardson
- [PATCH v3 2/8] build: make most device classes optio... Bruce Richardson
- [PATCH v3 3/8] build: make membership library option... Bruce Richardson
- [PATCH v3 5/8] build: make efd library optional Bruce Richardson
- [PATCH v3 4/8] build: make bpf library optional Bruce Richardson
- [PATCH v3 6/8] build: make distributor library optio... Bruce Richardson
- [PATCH v3 8/8] build: make reorder library optional Bruce Richardson
- [PATCH v3 7/8] build: make fragmentation library opt... Bruce Richardson
- [PATCH v4 0/9] expand list of optional libraries Bruce Richardson
- [PATCH v4 1/9] examples/l3fwd: make eventdev an opti... Bruce Richardson
- [PATCH v4 2/9] event/dlb2: skip configuration if no ... Bruce Richardson