From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id C94B5A0C41;
	Thu, 16 Sep 2021 05:09:18 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id A617E4003F;
	Thu, 16 Sep 2021 05:09:18 +0200 (CEST)
Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com
 [209.85.215.173])
 by mails.dpdk.org (Postfix) with ESMTP id 787664003C
 for <dev@dpdk.org>; Thu, 16 Sep 2021 05:09:17 +0200 (CEST)
Received: by mail-pg1-f173.google.com with SMTP id u18so4870953pgf.0
 for <dev@dpdk.org>; Wed, 15 Sep 2021 20:09:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20150623.gappssmtp.com; s=20150623;
 h=date:from:to:subject:message-id:in-reply-to:references:mime-version
 :content-transfer-encoding;
 bh=UKjfbun0wudByOmCvu6mlRKJE8tG/clWbu/1RT36Vmg=;
 b=PRPUWH5mIRBOi2nNLCT+QaFlfGcxxXu2RINc1EOMDZdfTXD9h8bFMmy1NJfnB+Kgia
 ykgaAeggy4IYSSeKwYzoMR4clYpqBMKGFmvQw1GRt2eIuO5GyTtKUfsa3NiDFNI8lMwl
 hyxLfBiUGnQ30HlULgHTHT7EZgqQXj/agGSb+GzySsOae01ESJPr8+9M1plxaNSqBTL5
 NfaHxARF/OBKqq0Tyld57jqAYmWrMvQ22Lal5wpd3JjkpIK0RqI+ggVPULL9kFCBCqcO
 SpHgJbUycEaEBfeBxOw1wUTmSrljMpfxb2nqtRGLVAdDv2/uGyBJhYoq/TKrQeXrmURP
 bU8A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=UKjfbun0wudByOmCvu6mlRKJE8tG/clWbu/1RT36Vmg=;
 b=SRbGxAQnmJoO5R/RUfpAVaEir8yIPMqTA7fjLwUYq/qMiYUl9sGKADYYSAz9t/EAXH
 Aj7xWOMHimqhe13LE314rcQTmkpIDgWbFl3EuwetUEHs417pRVRBXmEivEQ5F2SNabvF
 g8zS/auPw5BYFMoJQqyZGXGEa3cXVU1EevyT3DpWGXJVDdDqNF/YF84bLfZ5wUa79VDV
 Rz6npZ978IJVCEOpuDq+kjyBrVbRqIHaPMbNbYrTqjqjx5mLIG507E+lmF4eS7eiGz59
 wDZ3EYYnMdkmBAQ6MoaJNCuz+RNJ7SZQY8n4HWuWK5RI8BCljGI34ZM4D+8L7H5ipLPV
 j2IA==
X-Gm-Message-State: AOAM532/q8aPv4bj+wneYk3pTOMJXIm/Al7pW9j30FMBuxgkvDvMq4b1
 E23Lm63ju+LHDwyIYVBjScwG2X4ZhvoQJw==
X-Google-Smtp-Source: ABdhPJxoNYlJgYh5dYC4vgkKn1O8sCGCmpIOw7jTVDTD10y4OO3N0GK2GNsNKApm7rRO3YEjnWqpgA==
X-Received: by 2002:a63:f410:: with SMTP id g16mr2851284pgi.201.1631761756238; 
 Wed, 15 Sep 2021 20:09:16 -0700 (PDT)
Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123])
 by smtp.gmail.com with ESMTPSA id f2sm1215977pga.60.2021.09.15.20.09.15
 for <dev@dpdk.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 15 Sep 2021 20:09:16 -0700 (PDT)
Date: Wed, 15 Sep 2021 20:09:13 -0700
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Message-ID: <20210915200913.4b36e178@hermes.local>
In-Reply-To: <20210913181510.46058-11-stephen@networkplumber.org>
References: <20210903004732.109023-1-stephen@networkplumber.org>
 <20210913181510.46058-1-stephen@networkplumber.org>
 <20210913181510.46058-11-stephen@networkplumber.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Re: [dpdk-dev] [PATCH v8 10/12] test: enable bpf autotest
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

On Mon, 13 Sep 2021 11:15:08 -0700
Stephen Hemminger <stephen@networkplumber.org> wrote:

> The BPF autotest is defined but not run automatically.
> Since it is short, it should be added to the autotest suite.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  app/test/meson.build | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/app/test/meson.build b/app/test/meson.build
> index 0d551ac9c2b2..cd18484bb73a 100644
> --- a/app/test/meson.build
> +++ b/app/test/meson.build
> @@ -194,6 +194,8 @@ test_deps = [
>  fast_tests = [
>          ['acl_autotest', true],
>          ['atomic_autotest', false],
> +        ['bpf_autotest', true],
> +        ['bpf_convert_autotest', true],
>          ['bitops_autotest', true],
>          ['byteorder_autotest', true],
>          ['cksum_autotest', true],

Note: this patch exposes a pre-existing bug in DPDK:
https://bugs.dpdk.org/show_bug.cgi?id=811

The BPF code does not work if built with Clang.
The test was just being ignored by the CI before!