From: Jakub Kicinski Subject: Re: [PATCH iproute2 5/5] bpf: implement btf handling and map annotation Date: Tue, 17 Jul 2018 17:27:43 -0700 Message-ID: <20180717172743.6e5e1231@cakuba.lan> References: <20180717233122.29390-1-daniel@iogearbox.net> <20180717233122.29390-6-daniel@iogearbox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dsahern@gmail.com, alexei.starovoitov@gmail.com, netdev@vger.kernel.org To: Daniel Borkmann Return-path: Received: from mail-qk0-f196.google.com ([209.85.220.196]:43856 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730180AbeGRBCz (ORCPT ); Tue, 17 Jul 2018 21:02:55 -0400 Received: by mail-qk0-f196.google.com with SMTP id z74-v6so1529737qkb.10 for ; Tue, 17 Jul 2018 17:27:47 -0700 (PDT) In-Reply-To: <20180717233122.29390-6-daniel@iogearbox.net> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 18 Jul 2018 01:31:22 +0200, Daniel Borkmann wrote: > # bpftool map dump id 386 > [{ > "key": 0, > "value": { > "": { > "value": 0, > "ifindex": 0, > "mac": [] > } > } > },{ > "key": 1, > "value": { > "": { > "value": 0, > "ifindex": 0, > "mac": [] > } > } > },{ > [...] Ugh, the empty keys ("") look worrying, we should probably improve handling of anonymous structs in bpftool :S FWIW all the patches look nice to me! Thanks for keeping the support for loading programs from the ".text" section :)