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 18A02A0032; Tue, 16 Nov 2021 14:31:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CBF5840DF5; Tue, 16 Nov 2021 14:31:48 +0100 (CET) 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 89B2A40040 for ; Tue, 16 Nov 2021 14:31:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1637069507; 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: in-reply-to:in-reply-to:references:references; bh=c53oRQ0FULsOLla/xS2rjneWlBeFlK5BSacaNpx9f8c=; b=FlTqjtXnNMhTR3lGHk+ypys04V+vexzrvE6ityN7ZLYhf9ZuMIJ2FLNkpl4+PJ914+n4l3 DWWcJO3M2/YIhDQYf0sSPTw5qBafJPCqzOsxkLggJYbNdzXLnmQODpMQEZ9RINETrNBlQA B2QBb4wMAWiXO9ev56FUNU/iWfigj7E= Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-187-cIv-YufYNnKtZOJDKd2x9w-1; Tue, 16 Nov 2021 08:31:43 -0500 X-MC-Unique: cIv-YufYNnKtZOJDKd2x9w-1 Received: by mail-lj1-f198.google.com with SMTP id q13-20020a2e750d000000b00218c953d0b8so6231557ljc.21 for ; Tue, 16 Nov 2021 05:31:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=c53oRQ0FULsOLla/xS2rjneWlBeFlK5BSacaNpx9f8c=; b=2nvNdA8WAmLqwtVCNeMZgSO+EvzQ1ZOHeb8wipEkRp4/buZLpb/l+YASDr/7HbWzUP Wflr3/0Rx+DRV9obl6qELH6OKvDwVlUZj8AOVq6P9nhOQPtYHt9pJk0hiiJ7pAkTYIRM VfnqSlrdwxkKyYAZvVVBFRlyo0WzWy44u77e6ljpZtV/BeSh2HL8Uabx3+n7aew7xxBL 1cVSbF3/5zCGb12S0tqb+5Qf7Zh0+debZkvwEwWcMK22LYXEoY905LDZ4GoGI8wsE0iH J0npUCt/egR0bIog/kqCUzy13jTCxvoEaVKcDLl3KJqwCZ/SegfcDYndjEIzF/hYmLUU mjeg== X-Gm-Message-State: AOAM531pqmYDex84wS2JsCaQXay27K1TzHi5bvq8RzIcFtnCTnb6JP2/ doM10KvDPqKi3b8U7jTPbwejiWD4jSbA/y3zZd5FwuE/z4DxptqySWFZ8yKsuXzw62kkoL8Zdei UoHwd7Enpraoc/xp0mOI= X-Received: by 2002:a19:e00b:: with SMTP id x11mr6541322lfg.217.1637069501955; Tue, 16 Nov 2021 05:31:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyUe5Smku7VZwS4ExHAfCtq+wm/4rf6vlPv8hb+Inr4UN4gMV8Xf2mDV8Hft+LWLMPHTbao8YKdD/ZF2JwF9OI= X-Received: by 2002:a19:e00b:: with SMTP id x11mr6541299lfg.217.1637069501722; Tue, 16 Nov 2021 05:31:41 -0800 (PST) MIME-Version: 1.0 References: <20211115232337.118084-1-stephen@networkplumber.org> <20211115232956.118682-1-stephen@networkplumber.org> In-Reply-To: <20211115232956.118682-1-stephen@networkplumber.org> From: David Marchand Date: Tue, 16 Nov 2021 14:31:30 +0100 Message-ID: Subject: Re: [PATCH v5] test/bpf_convert: do not require DNS lookup To: Stephen Hemminger Cc: dev , Luca Boccassi Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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, Nov 16, 2021 at 12:30 AM Stephen Hemminger wrote: > > These tests were using strings with hostname (dpdk.org) and this makes > test code do a DNS lookup. In container environment used for OpenSuse > build, DNS is unavailable. Replace dpdk.org with an IPv4 address > reserved for documentation (RFC5737) and use IPv6 in one example > (RFC3849). Actual addresses don't matter for this test which is > validating that code generated in classic BPF can be successfully > converted to eBPF. Fixes: 2eccf6afbea9 ("bpf: add function to convert classic BPF to DPDK BPF") > > Signed-off-by: Stephen Hemminger > Acked-by: Luca Boccassi Applied, thanks. -- David Marchand