Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4133658pxb; Mon, 27 Sep 2021 10:04:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz61dyq8oVv374zZmmVsR8XPqhwcRZ4z6G1PjUT6/CwpmHZX3ajwa4IcQM8AoPsw41plW8V X-Received: by 2002:a17:906:2505:: with SMTP id i5mr1243795ejb.450.1632762274778; Mon, 27 Sep 2021 10:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632762274; cv=none; d=google.com; s=arc-20160816; b=pMaxK77OVWP2auuI1SiWHGyE6H4YNciWY/5uyHBI9L4INaRs+/tc6+6dwJZ6wJ8CvO dAyMZrWh0sAbLASdXtLOCfRKaq+hzBNZjcg+wEHJnn7gJMqcAlmI3ts4HdCrD1Z7bada H2kmvLflTkmNm9MzmSrj5X7paonQ4aBxc16KgSk4StS/6fmrHOVx8CHGS/fTcJPCzDku AHhmIxK3MEuFTffG94V2ngA0jhoghuy8dj3a3bQDMkfCPso13GDkvs0FI7zplmfLyHGC pivp30dE/uKRc9kdW4F3rHMs08YSairW4oJ7MEN19cCpyyUqkp6lOOOvBFGWwSBo7H2u FSqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject; bh=o2XHzSYsbOYcU62TLUI/+j1mjUTJZnCKwFmpL04UWuI=; b=VQ9O+jFk3yhn3L/wD/CcTSN0LaAvcdL5ZAULEdLtkfPfNGvCCphbZyXbkYQtxrNB+S lXFauf5Pz4QTCVkVCOmI237eXcAsCB3rwJeVR2jPqWj2Hq8k9uaD7oEphSgvnNFwhCOs jb4HKT2713b0OGJTpK0m6Kyw9+ucVqwUBmwJg2ZYnzT/bjo3gcxnO7Lo+8xCudFRCKMX 7wvnjmprgtXZ693R5QK3+Rp0D70klMDygLJyQouD6FXeR4X+rjJ/ynbAtb3ACAthEHpf wX+asfuMrqJp7co78WNQE984gVlnMPbGZnlKZvWWLmwwha6eoz+55+KVVdomE9wVy1zy XO1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c15si17753811ejk.388.2021.09.27.10.04.09; Mon, 27 Sep 2021 10:04:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235515AbhI0RED (ORCPT + 99 others); Mon, 27 Sep 2021 13:04:03 -0400 Received: from www62.your-server.de ([213.133.104.62]:56018 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235316AbhI0REC (ORCPT ); Mon, 27 Sep 2021 13:04:02 -0400 Received: from sslproxy06.your-server.de ([78.46.172.3]) by www62.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1mUu14-0005lT-P7; Mon, 27 Sep 2021 19:02:10 +0200 Received: from [85.1.206.226] (helo=linux.home) by sslproxy06.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mUu14-000U8x-Aa; Mon, 27 Sep 2021 19:02:10 +0200 Subject: Re: [PATCH v2 1/2] tools/include: Update if_link.h and netlink.h To: Ian Rogers , Alexei Starovoitov , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , John Fastabend , KP Singh , "David S. Miller" , Igor Russkikh , Mark Starovoytov , Horatiu Vultur , Antoine Tenart , =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , Nikolay Aleksandrov , Roopa Prabhu , Jiri Pirko , Vlad Buslov , Ido Schimmel , Alexandre Cassen , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org References: <20210922222935.495290-1-irogers@google.com> From: Daniel Borkmann Message-ID: Date: Mon, 27 Sep 2021 19:02:09 +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: <20210922222935.495290-1-irogers@google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.103.3/26305/Mon Sep 27 11:04:42 2021) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/23/21 12:29 AM, Ian Rogers wrote: > Sync the uAPI headers so that userspace and the kernel match. These > changes make the tools version match the updates to the files in the > kernel directory that were updated by commits: > > if_link.h: > 8f4c0e01789c hsr: enhance netlink socket interface to support PRP > 427f0c8c194b macvlan: Add nodst option to macvlan type source > 583be982d934 mctp: Add device handling and netlink interface > c7fa1d9b1fb1 net: bridge: mcast: dump ipv4 querier state > 2dba407f994e net: bridge: multicast: make tracked EHT hosts limit configurable > b6e5d27e32ef net: ethernet: rmnet: Add support for MAPv5 egress packets > 14452ca3b5ce net: qualcomm: rmnet: Export mux_id and flags to netlink > 78a3ea555713 net: remove comments on struct rtnl_link_stats > 0db0c34cfbc9 net: tighten the definition of interface statistics > 571912c69f0e net: UDP tunnel encapsulation module for tunnelling different protocols like MPLS, IP, NSH etc. > 00e77ed8e64d rtnetlink: add IFLA_PARENT_[DEV|DEV_BUS]_NAME > 829eb208e80d rtnetlink: add support for protodown reason > > netlink.h: > d07dcf9aadd6 netlink: add infrastructure to expose policies to userspace > 44f3625bc616 netlink: export policy in extended ACK > d409989b59ad netlink: simplify NLMSG_DATA with NLMSG_HDRLEN > a85cbe6159ff uapi: move constants from to > > v2. Is a rebase and sync to the latest versions. A list of changes > computed via diff and blame was added to the commit message as suggested > in: > https://lore.kernel.org/lkml/20201015223119.1712121-1-irogers@google.com/ > > Signed-off-by: Ian Rogers With both patches applied to bpf-next, this would break our CI: [...] CC bench.o CC bench_count.o CC bench_rename.o CC bench_trigger.o CC bench_ringbufs.o BINARY bench BINARY xdpxceiver xdpxceiver.c: In function ‘testapp_invalid_desc’: xdpxceiver.c:1223:41: warning: implicit declaration of function ‘ARRAY_SIZE’ [-Wimplicit-function-declaration] 1223 | pkt_stream_generate_custom(test, pkts, ARRAY_SIZE(pkts)); | ^~~~~~~~~~ /usr/bin/ld: /tmp/ccoQONpi.o: in function `testapp_invalid_desc': /root/daniel/bpf/tools/testing/selftests/bpf/xdpxceiver.c:1223: undefined reference to `ARRAY_SIZE' collect2: error: ld returned 1 exit status make: *** [Makefile:166: /root/daniel/bpf/tools/testing/selftests/bpf/xdpxceiver] Error 1 Please take a look and submit v3 of the series with the build issue fixed. Thanks, Daniel