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 F3C4045A6C; Mon, 30 Sep 2024 19:50:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9D5914027C; Mon, 30 Sep 2024 19:50:47 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by mails.dpdk.org (Postfix) with ESMTP id D43ED4026C for ; Mon, 30 Sep 2024 19:50:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1727718646; x=1759254646; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=GRMcTkbYGeSkA9q9dWbw412ShrMJKRorCvbVhfMwGiI=; b=PDbz8LUyhRZ86PGvI79vJbKF8hYQMUbkBW/WroO3+oeSrNZs3raYIM1m xwkGPIgDYaFigD9EykRuaXd4nR1AXtdX5UzOq0VeMlCs6gt/EOq5Gr6zv dTXfsnFWpZFXtejUrrTJXMoxmoWu34zEakQaVkxj1xbbu3FEsfVCX87ZX zoRY6WJInO33lqzCb1al0a9y317LpVM2rouyL94xPkUUqXvGz77cuoYy+ bx35vwLNhrd+qGer7wcWIdmzzlcvhLWSG+kl7J18WZ1Gm52Ju+0QlMR+f VTeLDimyyqc9CZx4hj2wbup7tfwDSgx8qWFhIl/a+H/aRKeGsU4kl4y+v A==; X-CSE-ConnectionGUID: UOE7+nXDSYe/o8uhQINpGw== X-CSE-MsgGUID: t60F9Z2oRjWYD+Rv4obX6Q== X-IronPort-AV: E=McAfee;i="6700,10204,11211"; a="30712522" X-IronPort-AV: E=Sophos;i="6.11,166,1725346800"; d="scan'208";a="30712522" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2024 10:50:45 -0700 X-CSE-ConnectionGUID: 7DlAMnTtQVSq5kpJurDVSw== X-CSE-MsgGUID: snsYuYcWSjCZSINSZmdWaA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,166,1725346800"; d="scan'208";a="77457734" Received: from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.25]) by fmviesa003.fm.intel.com with ESMTP; 30 Sep 2024 10:50:44 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH v1 0/8] centralize AVX-512 feature detection Date: Mon, 30 Sep 2024 18:50:24 +0100 Message-ID: <20240930175033.2283861-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.43.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 meson code to detect CPU and compiler support for AVX512 was duplicated across multiple drivers. Do all detection in just a single place to simplify the code. Bruce Richardson (8): config/x86: add global defines for checking AVX-512 event/dlb2: use global AVX-512 variables common/idpf: use global AVX-512 variables net/cpfl: use global AVX-512 variables net/i40e: use global AVX-512 variables net/iavf: use global AVX-512 variables net/ice: use global AVX-512 variables net/idpf: use global AVX-512 variables config/x86/meson.build | 12 +++++++++- drivers/common/idpf/meson.build | 17 ++----------- drivers/event/dlb2/meson.build | 42 +++++++-------------------------- drivers/net/cpfl/meson.build | 19 ++------------- drivers/net/i40e/meson.build | 13 ++-------- drivers/net/iavf/meson.build | 13 ++-------- drivers/net/ice/meson.build | 15 ++---------- drivers/net/idpf/meson.build | 19 ++------------- 8 files changed, 32 insertions(+), 118 deletions(-) -- 2.43.0