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 67F1545AF0; Wed, 9 Oct 2024 11:05:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 39FDB40E32; Wed, 9 Oct 2024 11:05:33 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 7556C40653 for ; Wed, 9 Oct 2024 11:05:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1728464731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GEarzma4RuyLEj/gHTJhL0lnZnbNbWRFQf1OTOXDFc4=; b=JVK3eJQzDTuWMQVLoE0iYWOT5aBRNUBWQPEdt85lVxGz/v4pL4TK8CdwmNjsMOxAILKXXW pK9VLF96+BJziJ0HRlA7VTd1/lTyIsD6ELdfV2fOe/G3932LyiNWYGEfOfFZE2P0+r47Bc 7cHannX/oJe7XzWCUiLnuEupuj+cZjA= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-629-zDUvXP5CMJOoVx6gszk_xg-1; Wed, 09 Oct 2024 05:05:29 -0400 X-MC-Unique: zDUvXP5CMJOoVx6gszk_xg-1 Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-539ada1e190so3776355e87.2 for ; Wed, 09 Oct 2024 02:05:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728464728; x=1729069528; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GEarzma4RuyLEj/gHTJhL0lnZnbNbWRFQf1OTOXDFc4=; b=tHCKIb9qwz0X8+7qSnqu7A7E9UN7b4ZZrUcSMK7Tx6WHMPx5tnQrjyAePKXC1o9fXd XV2C/91NJwISvAmKvu2r2IXK9cOKaMBUg1H8ytDlEfzD3X7AEqaoxrAjhrQc/QdJe79o AOHXOqKP3QBs+bto6j7n2A49EWp/+SoN5hFKQDHT3hcfXj767tGdHLhNoRSe+rH9dD9o 81fNEs434ThGiLad7oeOnTepmn+aHNwIXVkLl0Sifv17GsToRGNHuf/NnhzGxoHl0DeY zm8/6+kwPLpqeAAP9vFU4bc7kBb9CHPu31Vsf/xTD3/SGeZ22Th3GkvKKNH9acwFstk9 3YnA== X-Gm-Message-State: AOJu0YyueFv6XGCHD/LbqnO/57WMYzmGrNt6mXqAlzhhalSodg9Z8oYY gbxNvQt/tLCoNOlFM80JIxR4KjNcVhdh4HvE+ohl3uF97qxYNVlqBMcd5BM4U66dX9b2jJXZcdJ m8a3Iy1KCWd6DFYrRwGSzriNEMKKf+ngES8aweM4fH5UGI4dfEqoTxRXQ5m2iQ885Vag/G2a2Ck HK0KnC0uSuRB236Ck= X-Received: by 2002:a05:6512:234b:b0:533:44a3:21b9 with SMTP id 2adb3069b0e04-539c488d5f3mr867072e87.1.1728464728324; Wed, 09 Oct 2024 02:05:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF1pe/WSGYwn3Q6sROMuPwclC1q3AhLzVpQkhG+LgVAiUYbzl3dvEW+8QuYTtyqj9XpAyYcofsZm0Yur3F8aG8= X-Received: by 2002:a05:6512:234b:b0:533:44a3:21b9 with SMTP id 2adb3069b0e04-539c488d5f3mr867036e87.1.1728464727847; Wed, 09 Oct 2024 02:05:27 -0700 (PDT) MIME-Version: 1.0 References: <20240930175033.2283861-1-bruce.richardson@intel.com> <20241008165258.2802099-1-bruce.richardson@intel.com> In-Reply-To: <20241008165258.2802099-1-bruce.richardson@intel.com> From: David Marchand Date: Wed, 9 Oct 2024 11:05:15 +0200 Message-ID: Subject: Re: [PATCH v3 00/10] centralize AVX-512 feature detection To: Bruce Richardson Cc: dev@dpdk.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Tue, Oct 8, 2024 at 6:53=E2=80=AFPM Bruce Richardson wrote: > > The meson code to detect CPU and compiler support for AVX512 was duplicat= ed > across multiple components. Do all detection in just a single place to si= mplify > the code. > > v3: add in patches for net lib and virtio driver > v2: ensure that target_has_avx512 is always defined on x86 to fix build e= rrors > > > Bruce Richardson (10): > 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 > net/virtio: use global AVX-512 variables > net: use global AVX-512 variables > > config/x86/meson.build | 19 +++++++++++---- > 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 ++------------- > drivers/net/virtio/meson.build | 32 ++++++++++++------------- > lib/net/meson.build | 40 ++++--------------------------- > 10 files changed, 55 insertions(+), 174 deletions(-) Series applied, thanks Bruce. --=20 David Marchand