Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9195AC433E1 for ; Tue, 7 Jul 2020 23:59:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5FEDB2073B for ; Tue, 7 Jul 2020 23:59:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729458AbgGGX7n (ORCPT ); Tue, 7 Jul 2020 19:59:43 -0400 Received: from www62.your-server.de ([213.133.104.62]:44756 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729421AbgGGX7m (ORCPT ); Tue, 7 Jul 2020 19:59:42 -0400 Received: from sslproxy01.your-server.de ([78.46.139.224]) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1jsxUx-0000AD-47; Wed, 08 Jul 2020 01:59:39 +0200 Received: from [178.196.57.75] (helo=pc-9.home) by sslproxy01.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jsxUw-000QOe-U1; Wed, 08 Jul 2020 01:59:38 +0200 Subject: Re: [PATCH bpf-next v2 0/4] samples: bpf: refactor BPF map test with libbpf To: Andrii Nakryiko , "Daniel T. Lee" Cc: Alexei Starovoitov , Yonghong Song , Martin KaFai Lau , Andrii Nakryiko , Networking , bpf References: <20200707184855.30968-1-danieltimlee@gmail.com> From: Daniel Borkmann Message-ID: Date: Wed, 8 Jul 2020 01:59:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.102.3/25866/Tue Jul 7 15:47:52 2020) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 7/7/20 9:01 PM, Andrii Nakryiko wrote: > On Tue, Jul 7, 2020 at 11:49 AM Daniel T. Lee wrote: >> >> There have been many changes in how the current bpf program defines >> map. The development of libbbpf has led to the new method called >> BTF-defined map, which is a new way of defining BPF maps, and thus has >> a lot of differences from the existing MAP definition method. >> >> Although bpf_load was also internally using libbbpf, fragmentation in >> its implementation began to occur, such as using its own structure, >> bpf_load_map_def, to define the map. >> >> Therefore, in this patch set, map test programs, which are closely >> related to changes in the definition method of BPF map, were refactored >> with libbbpf. >> >> --- > > For the series: > > Acked-by: Andrii Nakryiko Applied, thanks everyone!