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 7301043F05; Thu, 25 Apr 2024 17:06:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5E9904387A; Thu, 25 Apr 2024 17:06:03 +0200 (CEST) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mails.dpdk.org (Postfix) with ESMTP id BE8424387B for ; Thu, 25 Apr 2024 17:06:01 +0200 (CEST) Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-34782453ffdso1014539f8f.1 for ; Thu, 25 Apr 2024 08:06:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714057561; x=1714662361; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9bM2ju43urFJmNEgmVo3NMLWOtmb5haQZ/mDir3ToF0=; b=hnQxFJl8spvamKIA8lviKp8vQCZhOxjDMLttc1hxykYKkwnlM4NfuDMf0aIRLzCIx7 Wmd5j6VAOVypKrZkfYg788udvXGBj6p06noBmWC0N21RBp7ESLo0uohKD4Z4Wmb+Qyy5 n+YqiIqHcfn2ZkpamH1boeZcWUNvy/KbPCWK85NEcn4DgeMOAJFt1Q72vh4Pafl+zekG Pv7chp6eJUtbHi66bvU0y2Hb/m5BcwDKbrkMh736SePNgGRKD6LnEHqtMnbFOEkBq3/X oBpBsE2W2NDy5OIUXF0BZ3lEc7H5S9ZoG2uPGJ1Tlgd6z1r/Memf11YO8fW72FR2QcTy 9cmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714057561; x=1714662361; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9bM2ju43urFJmNEgmVo3NMLWOtmb5haQZ/mDir3ToF0=; b=APs1GRXwt0Y7QEB2/hlpsy915cXIcrbE5i5ft3icYxKR3Sm8UakjrIXomUkKKdb9gN EtaJgupp1/54HPRMHf0w9OAKK8r6OPdnuUexicPsCBh7gMmzFCdgxk6mZBJY9bQYq5Q7 e4yrp3QnCdhnCDTOVZmVMlFKfEPamvjA9xlm3NEoNkMUHEbGLeJbPXSMrMaobYa68ZCX x6hliZiq0fLcdsA8KZMYI6LAJU0XeBZXJVxo8Gzd0kDIdeq/PwKlc20vkc8pu/W4im/K jhy09L0nkPVco444vYaMWEyUI7bv6TFRG+DQQSMLLzM9/luet8ewujWqIHF0yZGDFzEw /OQA== X-Gm-Message-State: AOJu0YysWlpAtooIJaByLD1zB41oQa+zoEjcMxJ443HxF5X6GzRdOS4z O6qWI47dYP2xSauVqx41yoclq+Ov9P0yL/tbOZZS3YhMj4vsEVrVkfRwuj1d X-Google-Smtp-Source: AGHT+IHR0u+anl7HWPzTdXP/kyNvJTCv0yDZ8IRAlLHSVGBF1IOc4dxjhN/zXXAomXAnQn+YF2oFHw== X-Received: by 2002:a05:6000:930:b0:349:fa94:ef18 with SMTP id cx16-20020a056000093000b00349fa94ef18mr5004705wrb.50.1714057560889; Thu, 25 Apr 2024 08:06:00 -0700 (PDT) Received: from localhost ([137.220.120.171]) by smtp.gmail.com with ESMTPSA id p17-20020a5d4591000000b0034658db39d7sm20260541wrq.8.2024.04.25.08.06.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 08:06:00 -0700 (PDT) From: luca.boccassi@gmail.com To: dev@dpdk.org Cc: john.mcnamara@intel.com Subject: [PATCH] bpf/xdp: disable on 32bit x86 Date: Thu, 25 Apr 2024 16:05:58 +0100 Message-Id: <20240425150558.3603483-1-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 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 From: Luca Boccassi As per Intel, this is not supported, and the librte-bpf test fails on 32bit x86 kernels, so disable the library and the pmd. Signed-off-by: Luca Boccassi --- drivers/net/af_xdp/meson.build | 6 ++++++ lib/bpf/meson.build | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/drivers/net/af_xdp/meson.build b/drivers/net/af_xdp/meson.build index 9f33e57fa2..2e936a1905 100644 --- a/drivers/net/af_xdp/meson.build +++ b/drivers/net/af_xdp/meson.build @@ -7,6 +7,12 @@ if is_windows subdir_done() endif +if arch_subdir == 'x86' and dpdk_conf.get('RTE_ARCH_32') + build = false + reason = 'not supported on 32bit x86' + subdir_done() +endif + sources = files('rte_eth_af_xdp.c') libxdp_ver = '>=1.2.2' diff --git a/lib/bpf/meson.build b/lib/bpf/meson.build index cd739bb827..776dbb72c9 100644 --- a/lib/bpf/meson.build +++ b/lib/bpf/meson.build @@ -7,6 +7,12 @@ if is_windows subdir_done() endif +if arch_subdir == 'x86' and dpdk_conf.get('RTE_ARCH_32') + build = false + reason = 'not supported on 32bit x86' + subdir_done() +endif + sources = files('bpf.c', 'bpf_dump.c', 'bpf_exec.c', -- 2.39.2