From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5377AA034E; Mon, 14 Feb 2022 16:31:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 142E141144; Mon, 14 Feb 2022 16:31:30 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 8AD394067E for ; Mon, 14 Feb 2022 16:31:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644852688; x=1676388688; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=LrkYS3Z4kXACHpV6bWhDHeQxv+A/Va4RvGSsg3at5gU=; b=iHUKWXfySmAbpAnwEu2UHffSljIVHaYP6tdcNJFe2KkOsgYbO02yAWUJ hpKFnfMuQaQM+MTAkAnY6RjVZ1aTbfOIoQ2LJNAXL12BdFEIRqwYxqiJg jkUFhR9sqMP0uSXzN6da8+LofUPOyzPj3fCJCXplpfx82MijACVV1RvYG lr4R3N6G4m2PVwUzTN8DInqu7xFLIOx1sKZSYFc1FSt0t4oGRcFKvCNn1 0/xzYnW+1B2s8oVTRNdSxEC59ZsJj4Gj1DonPGYj9wgoV3nz+/eXxF0w3 ROL2GxGNETSnWXaaeaXCmW/66ZwcRA7slkZZjo6OU3WaU7f/14RHaLWUg A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="336537481" X-IronPort-AV: E=Sophos;i="5.88,368,1635231600"; d="scan'208";a="336537481" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 07:30:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,368,1635231600"; d="scan'208";a="501877062" Received: from silpixa00401026.ir.intel.com ([10.243.22.62]) by orsmga002.jf.intel.com with ESMTP; 14 Feb 2022 07:30:55 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: Olivier Matz , Andrew Rybchenko , Bruce Richardson Subject: [PATCH] build: make ring mempool driver mandatory Date: Mon, 14 Feb 2022 15:30:38 +0000 Message-Id: <20220214153038.367923-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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/" for the build. Signed-off-by: Bruce Richardson --- drivers/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/meson.build b/drivers/meson.build index d5f4e1c1f2..1d8123b00c 100644 --- a/drivers/meson.build +++ b/drivers/meson.build @@ -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 -- 2.32.0