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 3F1A1A034F; Tue, 9 Nov 2021 23:50:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B4D9B40E03; Tue, 9 Nov 2021 23:50:38 +0100 (CET) Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by mails.dpdk.org (Postfix) with ESMTP id 785054068B for ; Tue, 9 Nov 2021 23:50:37 +0100 (CET) Received: by mail-wm1-f52.google.com with SMTP id d72-20020a1c1d4b000000b00331140f3dc8so570198wmd.1 for ; Tue, 09 Nov 2021 14:50:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=qvdlqCcuH346NMb6LJFNdioeYs6TYt5mXbsYmg3Q8Q8=; b=wwk2UbigIwZtJtFxztHDkfgBtvFoEUWlnWNx6wHWIqf36+6r+JOYYcQXJw1vER++qd +d+B1t+DU32u1O8yEi/HXDVlud1QTIsEWpkkUOgbcI0t0sOkzwegZYwKElSAo5uVDS5N ktJw//LtIQ3vSsqg8N8Lhk5117O18B3n5ZODMk+D+fdx+5CPduD9/Se8NLrvrxiJC3CB 9aUET4HqbO9iZJXVrtvV0TRxM6lfCqwwd7OaoyHVAsAfFTBS2HIRMR77iOl+pwiBoiGj FWp65kLyeeVEO1PVeKYPcn9SW7JAR99QlQPFx+3mJfh3Ieom7MXY5f/gEItwQLIwH5lJ bW9w== X-Gm-Message-State: AOAM532izsx2BpIBTLjsdlgR0d0Q/kZaAO1yFI17cmcJ3z10wAXIUJHC pXlutEeJzwHR6ZtqaifxPXc= X-Google-Smtp-Source: ABdhPJzW6rJlI4ifwXX5lgKQN2VrnxYIbjNaEToqrDsk2URAghy9SxrF1k6LG6wLcL9mcJ7vXnGwog== X-Received: by 2002:a1c:f405:: with SMTP id z5mr11424606wma.72.1636498237176; Tue, 09 Nov 2021 14:50:37 -0800 (PST) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id l5sm21590073wrs.59.2021.11.09.14.50.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Nov 2021 14:50:36 -0800 (PST) Message-ID: From: Luca Boccassi To: Stephen Hemminger , konstantin.ananyev@intel.com Cc: dev@dpdk.org Date: Tue, 09 Nov 2021 22:50:36 +0000 In-Reply-To: <20211109210403.114391-1-stephen@networkplumber.org> References: <20211109210403.114391-1-stephen@networkplumber.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.38.3-1+plugin MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] test/bpf_convert: do not require DNS lookup 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 Tue, 2021-11-09 at 13:04 -0800, Stephen Hemminger wrote: > These tests are testing with strings with hostname (dpdk.org) > and this makes test code do a DNS lookup. In container test > runs, DNS is unavailable. Replace dpdk.org with the current > IP and IPV6 addresses. Actual addresses don't matter the purpose > of the test is to BPF code conversion, not any packets. >=20 > Reported-by: Luca Boccassi > Signed-off-by: Stephen Hemminger > --- > =C2=A0app/test/test_bpf.c | 4 ++-- > =C2=A01 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c > index ef861d05e755..15d39a72b578 100644 > --- a/app/test/test_bpf.c > +++ b/app/test/test_bpf.c > @@ -3359,8 +3359,8 @@ static const char * const sample_filters[] =3D { > =C2=A0 "dst net 192.168.0.0/24", > =C2=A0 "dst net 192.168.0.0 mask 255.255.255.0", > =C2=A0 "port 53", > - "host dpdk.org and not (port 80 or port 25)", > - "host dpdk.org and not port 80 and not port 25", > + "host 92.243.24.197 and not (port 80 or port 25)", > + "host 2001:4b98:dc0:43:216:3eff:feb6:2d88 and not port 80 and not port= 25", > =C2=A0 "port not 53 and not arp", > =C2=A0 "(tcp[0:2] > 1500 and tcp[0:2] < 1550) or (tcp[2:2] > 1500 and tcp= [2:2] < 1550)", > =C2=A0 "ether proto 0x888e", Thanks for tracking this down! Acked-by: Luca Boccassi --=20 Kind regards, Luca Boccassi