]> git.droids-corp.org - dpdk.git/commitdiff
build: make ring mempool driver mandatory
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 14 Feb 2022 15:30:38 +0000 (15:30 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 22 Feb 2022 14:38:19 +0000 (15:38 +0100)
The default mempool driver is one based on the rte_ring, and as such it
needs to be present to have just about any app (which doesn't override
the mempool) run. Given this state of affairs it is probably best to add
this default mempool driver to the always-enabled list to ensure we get
a runnable build in all cases. This means that, for example, to run some
NIC tests with testpmd in a minimal build, in most cases, all the user
should need to do is specify "-Denable_drivers=net/<nic_drv>" for the
build.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
drivers/meson.build

index d5f4e1c1f2197860a190ef83890d4573311ee056..1d8123b00ca069a7dc9d1dedec2d5b85fbd24784 100644 (file)
@@ -40,6 +40,8 @@ endif
 
 # these drivers must always be enabled, otherwise the build breaks
 always_enable = ['bus/pci', 'bus/vdev']
+# we always need a mempool driver, and ring is default, so make it mandatory
+always_enable += ['mempool/ring']
 enable_drivers += always_enable
 
 default_cflags = machine_args