[PATCH v3 11/14] test/eventdev: skip test if eventdev driver disabled

Bruce Richardson bruce.richardson at intel.com
Fri Jan 23 10:06:41 CET 2026


On Thu, Jan 22, 2026 at 12:40:44PM -0800, Stephen Hemminger wrote:
> On Wed, 21 Jan 2026 16:50:27 -0800
> Stephen Hemminger <stephen at networkplumber.org> wrote:
> 
> > If DPDK is build with -Ddisable_drivers=eventdev/* then the
> > test will be unable to create the needed software eventdev device.
> > 
> > Fixes: 50823f30f0c8 ("test: build using per-file dependencies")
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> 
> Maybe more needs to be done or handle this in meson build.
> Not sure.

If the code changes in tests to handle this are only a few lines as here,
it's probably not worth doing. Also, this particular case can't be handled
in meson.build, since it has a runtime as well as a build time dependency. For
example, a build could include the DLB2 eventdev driver and so the test
would run on systems with that hardware, but if the SW eventdev fallback is
not built, then it fails to run on hardware without. That sort of
situation, build-time dependencies can't handle.

/Bruce


More information about the stable mailing list