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 215AEA0C41; Thu, 16 Sep 2021 01:36:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8FA774069E; Thu, 16 Sep 2021 01:36:29 +0200 (CEST) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mails.dpdk.org (Postfix) with ESMTP id DE39C4003F for ; Thu, 16 Sep 2021 01:36:27 +0200 (CEST) Received: by mail-pg1-f169.google.com with SMTP id k24so4358555pgh.8 for ; Wed, 15 Sep 2021 16:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=M9/nZTfp0SmNGXnNpDOVl5VVHOmcpEd3N7nhLOPwqxM=; b=lHNSTrwbaIq+DKyA2TUNcKLb+VW0CCOY54zkRoe85kRMd3NMoR3uuIt/5pSnUIWTY+ ztG32zRbVm9HBC/AJzca12XzwxolV1IQ41jtc9CQga9oMsy9iXXRTsGgHEo/ECmbolzm utIDRSw/ffPxicGu1WWCWoA47wcPbyCtCUNyA7Z8tAYN8bYHcs5hz/y4bByjB3qQoK+Q 6/QnPVomrjh77rXQ1aEddysKUdKYwUriEtu6+XmZGCyX151zBQYyjerEpmFG5pL8cAda 9FHP6oKx03XjWyI/iQQLMlxJYuNC7Mt1jZjhcsPn3ekw9l8goT+vWoA2W224mWBRwnKQ t1Jg== 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:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=M9/nZTfp0SmNGXnNpDOVl5VVHOmcpEd3N7nhLOPwqxM=; b=epq1STcMEEt5fb7//3xYAv7K1MDPzVMZqRPJAv+EJHBj0TTjdZGrzt4JeoaMRm2jMO ueBwwD5JsethlZGMz2vlmGAP32wvV/NxRljYANkNaLixUR4reoK2EGCH5QW09Lt4zaqh 4XqUoPb/CFXXvmziVKUlNeCAPUBEIz0Mdm4URIk4uqZCuxGuG68KTUO7VUi6oP/wpaB5 0JXOcc5VifvrrrQSyzdfRSA9Y9XgJYVj+ZUPaca5A07LhX5CKV39vZAYlijyo0BIZXY2 5unCXkMQnackOoEw0RP84BDKolvbCbvPUn2u7olVCkD0fvv5jenkT0dZhl2enjjeucUK 0UIw== X-Gm-Message-State: AOAM5322g2z2GZ82YBumjEQzdwg+AHtTawXsqnhnMZFevkWe65218fQ+ 35IiOniI7sPmOTWRtHSu5NRk0g== X-Google-Smtp-Source: ABdhPJysVt7EMFmyP188jRp4NMzEu5Yj5Ld5BPsLDthX0L0tpbJG4+/sxXcoq/cdc/PPHqFt0B6ZeA== X-Received: by 2002:a63:e00b:: with SMTP id e11mr2198475pgh.190.1631748986742; Wed, 15 Sep 2021 16:36:26 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id m12sm5938438pjc.18.2021.09.15.16.36.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Sep 2021 16:36:26 -0700 (PDT) Date: Wed, 15 Sep 2021 16:36:23 -0700 From: Stephen Hemminger To: "Ananyev, Konstantin" Cc: "dev@dpdk.org" Message-ID: <20210915163623.63b6e9fe@hermes.local> In-Reply-To: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, 15 Sep 2021 11:27:15 +0000 "Ananyev, Konstantin" 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 > > --- > > 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], > > -- > > Acked-by: Konstantin Ananyev > > > 2.30.2 > One oddity of original BPF test is that it constructs an mbuf where there is no Ethernet header. Didn't want to change that since not only would the constructor have to be changed but also the hand written BPF programs as well. Not necessarily a bug, but the test is not doing what any application using BPF on incoming mbuf's would expect to do.