Skip to content

RFC: Support disabling DPDK drivers in meson builds

Bruce Richardson dpdk-dev 1 version Applied

Status from this message: Applied, thanks for implementing a community request

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3build: align variable names between drivers and libsdrivers/meson.build+11 -110 replies
2/3build: process dependencies before main build checkdrivers/meson.build lib/meson.build+27 -230 replies
3/3build: support disabling drivers with mesondrivers/meson.build meson_options.txt+14 -44 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLuca BoccassiMaxime Coquelin
SeriesSeries-grumbly-acked-by A-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [dpdk-dev] [PATCH 0/3] RFC: Support disabling DPDK drivers in meson builds

Following on from the discussion about meson at userspace 2019, here is a patchset which allows a user to disable drivers in a DPDK build. This set also includes the changes necessary to recursively disable any drivers that depend upon the disabled one, e.g. disabling mempool/dpaa also disables net/dpaa and event/dpaa with suitable reasons provided in the output summary at the end of the meson configuration phase.

A number of changes are made to the lib/meson.build file too, in order to keep the general logic flow between drivers/meson.build and lib/meson.build as similar as possible.

Example of use:

meson -Ddisable_drivers=mempool/dpaa,net/i40e build

Bruce Richardson (3):
build: align variable names between drivers and libs
build: process dependencies before main build check
build: support disabling drivers with meson

 drivers/meson.build | 45 +++++++++++++++++++++++++++------------------
 lib/meson.build     | 23 +++++++++++++----------
 meson_options.txt   |  2 ++
 3 files changed, 42 insertions(+), 28 deletions(-)
Signature · 1 line
2.21.0