Re: [Bpf] IETF BPF working group draft charter
David Vernet <void@manifault.com> Tue, 23 May 2023 19:08 UTC
Return-Path: <dcvernet@gmail.com>
X-Original-To: bpf@ietfa.amsl.com
Delivered-To: bpf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 21D27C151543 for <bpf@ietfa.amsl.com>; Tue, 23 May 2023 12:08:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.549
X-Spam-Level:
X-Spam-Status: No, score=-1.549 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.096, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uGeKOsh-hYHL for <bpf@ietfa.amsl.com>; Tue, 23 May 2023 12:08:17 -0700 (PDT)
Received: from mail-qt1-f181.google.com (mail-qt1-f181.google.com [209.85.160.181]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EF31CC15152F for <bpf@ietf.org>; Tue, 23 May 2023 12:08:17 -0700 (PDT)
Received: by mail-qt1-f181.google.com with SMTP id d75a77b69052e-3f6a3a76665so16196101cf.1 for <bpf@ietf.org>; Tue, 23 May 2023 12:08:17 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684868897; x=1687460897; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0EI+fHLpUVZG+VmRk8r0zhzsqkYH9/xeBmWXrFfPfZc=; b=OqQ2yPKHx0tHVB2JmNzT8yJZq+aYSiXGBaLQ4/drNwXdzYNlJc06gIqxppqxPUlsz6 DNbQ5XdCFwV9F0Qh2hbvCV8sI3Kodd+VbPSfBLdozfG6XYVIT7BILOeApUt5oOdfGfTz 5rItC3EWWAMf05mHOs01uOdSgj/j/zinZBNtvKlAl7Nf8tY2/1IyqdFlDCFwdLUWUaVk 5rSTW5efAX65JVtev1WklcKS0X3MXbHdoYZa7QfVQ29mVGBNv/SEKlQM9w9XxxENlH/Z jsauGxpXVyLkpz6BLsf4I9ZbNKCpJIoaBfWHyiakH4gb5LxhYBIcqzQSpFq/oMWmn/MS 6FIw==
X-Gm-Message-State: AC+VfDyoDtt3IyyJtLEndq0Gk39o6ylgbhqaQJoU/cm6u6aX2vHBpjjm LtjFtm/gpkrBiWpb6pPluUo=
X-Google-Smtp-Source: ACHHUZ7i0sk8I5bqxumTaC+wlvuZbNrQxFwEOP2VZcaSdwBg+SAzd8e8yPjuJNEeMGolzPXSZdFGag==
X-Received: by 2002:a05:6214:20ef:b0:623:7108:362d with SMTP id 15-20020a05621420ef00b006237108362dmr27558746qvk.9.1684868896779; Tue, 23 May 2023 12:08:16 -0700 (PDT)
Received: from maniforge ([2620:10d:c091:400::5:5c45]) by smtp.gmail.com with ESMTPSA id o8-20020a0ccb08000000b00621268e14efsm2973902qvk.55.2023.05.23.12.08.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 12:08:16 -0700 (PDT)
Date: Tue, 23 May 2023 14:08:14 -0500
From: David Vernet <void@manifault.com>
To: Dave Thaler <dthaler@microsoft.com>
Cc: "Jose E. Marchesi" <jemarch@gnu.org>, "bpf@ietf.org" <bpf@ietf.org>, bpf <bpf@vger.kernel.org>, Erik Kline <ek.ietf@gmail.com>, "Suresh Krishnan (sureshk)" <sureshk@cisco.com>, Christoph Hellwig <hch@infradead.org>, Alexei Starovoitov <ast@kernel.org>
Message-ID: <20230523190814.GA32582@maniforge>
References: <PH7PR21MB38780769D482CC5F83768D3CA37E9@PH7PR21MB3878.namprd21.prod.outlook.com> <87v8grkn67.fsf@gnu.org> <PH7PR21MB3878BCFA99C1585203982670A37E9@PH7PR21MB3878.namprd21.prod.outlook.com> <87r0rdy26o.fsf@gnu.org> <PH7PR21MB3878B869D69FD35FA718AF5DA37FA@PH7PR21MB3878.namprd21.prod.outlook.com> <20230523163200.GD20100@maniforge> <PH7PR21MB3878A4135C14B318DD43365CA340A@PH7PR21MB3878.namprd21.prod.outlook.com> <20230523171535.GE20100@maniforge>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20230523171535.GE20100@maniforge>
User-Agent: Mutt/2.2.10 (2023-03-25)
Archived-At: <https://mailarchive.ietf.org/arch/msg/bpf/lYsOGXITqFh_JxmD1qk1dLfjIU8>
Subject: Re: [Bpf] IETF BPF working group draft charter
X-BeenThere: bpf@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Discussion of BPF/eBPF standardization efforts within the IETF <bpf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bpf>, <mailto:bpf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bpf/>
List-Post: <mailto:bpf@ietf.org>
List-Help: <mailto:bpf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bpf>, <mailto:bpf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 May 2023 19:08:20 -0000
On Tue, May 23, 2023 at 12:15:35PM -0500, David Vernet wrote: > On Tue, May 23, 2023 at 04:50:42PM +0000, Dave Thaler wrote: > > > -----Original Message----- > > > From: David Vernet <void@manifault.com> > > > Sent: Tuesday, May 23, 2023 9:32 AM > > > To: Dave Thaler <dthaler@microsoft.com> > > > Cc: Jose E. Marchesi <jemarch@gnu.org>; bpf@ietf.org; bpf > > > <bpf@vger.kernel.org>; Erik Kline <ek.ietf@gmail.com>; Suresh Krishnan > > > (sureshk) <sureshk@cisco.com>; Christoph Hellwig <hch@infradead.org>; > > > Alexei Starovoitov <ast@kernel.org> > > > Subject: Re: [Bpf] IETF BPF working group draft charter > > > > > > On Thu, May 18, 2023 at 07:42:11PM +0000, Dave Thaler wrote: > > > > Jose E. Marchesi <jemarch@gnu.org> wrote: > > > > > I would think that the way the x86_64, aarch64, risc-v, sparc, mips, > > > > > powerpc architectures, along with their variants, handle their ELF > > > > > extensions and psABI, ensures interoperability good enough for the > > > problem at hand, but ok. > > > > > I'm definitely not an expert in these matters. > > > > > > > > I am not familiar enough with those to make any comment about that. > > > > > > Hi Dave, > > > > > > Taking a step back here, perhaps we need to think about all of this more > > > generically as "ABI", rather than ELF "extensions", "bindings", etc. In my > > > opinion this would include, at a minimum, the following items from the current > > > proposed WG charter: > > > > > > * the eBPF bindings for the ELF executable file format, > > > > > > * the platform support ABI, including calling convention, linker > > > requirements, and relocations, > > > > > > As far as I know (please correct me if I'm wrong), there isn't really a precedence > > > for standardizing ABIs like this. For example, x86 calling conventions are not > > > standardized. Solaris, Linux, FreeBSD, macOS, etc all follow the System V > > > AMD64 ABI, but Microsoft of course does not. As Jose pointed out, such > > > standards extensions do not exist for psABI ELF extensions for various > > > architectures either. > > > > > > While it may be that we do end up needing to standardize these ABIs for BPF, > > > I'm beginning to think that we should just remove them from the current WG > > > charter, and consider standardizing them at a later time if it's clear that it's > > > actually necessary. I think this is especially true given that we don't seem to be > > > getting any closer to having consensus, and that we're very short on time given > > > that Erik is going to be proposing the charter to the rest of the ADs in just two > > > days on 5/25. > > > > > > Thanks, > > > David > > > > I can tell you it's very important to those who work on the ebpf-for-windows project that the ELF format is common between Linux and Windows so that tools like > > llvm-objdump and bpftool and other BPF-specific ELF parsing tools work for both > > Linux and Windows. We don't want Windows to diverge. > > Be that as it may, as I said before, to my knowledge there's no > precedence at all for standardizing ABI like this. Is there a reason > that you think Windows would diverge if we didn't standardize the ABI? > > I realize that I'm essentially saying, "Hey, pretend there's a standard > and don't diverge", but if that's what the entire rest of the industry > has done up until this point with all other psABIs, then it seems like a > reasonable expectation. > > > As such, I feel strongly that it is a requirement to be standardized right away. > > I have to respectfully disagree. I think there are much bigger fish to > fry, such as standardizing the ISA. Unless we really have a good reason > for diverging from industry norms, standardizing on ABI now feels to me > like we're putting the cart before the horse. Hi Dave et al, FYI, I just sent out a GitHub PR to remove these lines from the proposed WG charter: https://github.com/ekline/bpf/pull/5/files. I thought it was prudent to go ahead and open the PR now given how close we are to the 5/25 meeting, and that we don't seem to be any closer to getting consensus here. We can (and should) continue the discussion here, but my two cents is that unless there's a strong reason to keep ABI standardization within scope of the WG, that it makes sense to remove these bullets. That said, if the discussion dies down and/or doesn't continue, IMHO it would be prudent to merge the PR. I don't think our default position should be to deviate from well-established industry-wide precedence, with the onus being on those advocating for following industry norms to prove that we don't need to discuss it. Again, I may be missing some important context here, so apologies if that's the case. Thanks, David > Just to be very clear: I could be totally wrong here, and it could be > very important to deviate from industry norms and standardize ABI as > part of the initial WG charter. However, IMHO, a positive claim like > that needs to come with clear substantiation. The reality is that > deviating from industry norms and standardizing on ABI will have its own > costs and consequences. > > > Hence I would not want this removed from the charter unless there's an effort > > to do it somewhere else right away, which would seem to increase the coordination > > burden.
- [Bpf] IETF BPF working group draft charter Dave Thaler
- Re: [Bpf] IETF BPF working group draft charter Jose E. Marchesi
- Re: [Bpf] IETF BPF working group draft charter Dave Thaler
- Re: [Bpf] IETF BPF working group draft charter David Vernet
- Re: [Bpf] IETF BPF working group draft charter Dave Thaler
- Re: [Bpf] IETF BPF working group draft charter Jose E. Marchesi
- Re: [Bpf] IETF BPF working group draft charter Dave Thaler
- Re: [Bpf] IETF BPF working group draft charter David Vernet
- Re: [Bpf] IETF BPF working group draft charter Dave Thaler
- Re: [Bpf] IETF BPF working group draft charter David Vernet
- Re: [Bpf] IETF BPF working group draft charter David Vernet
- Re: [Bpf] IETF BPF working group draft charter Erik Kline
- Re: [Bpf] IETF BPF working group draft charter Jose E. Marchesi
- Re: [Bpf] IETF BPF working group draft charter Michael Richardson
- Re: [Bpf] IETF BPF working group draft charter Dave Thaler
- Re: [Bpf] IETF BPF working group draft charter David Vernet
- Re: [Bpf] IETF BPF working group draft charter Suresh Krishnan
- Re: [Bpf] IETF BPF working group draft charter Jose E. Marchesi
- Re: [Bpf] IETF BPF working group draft charter Dave Thaler
- Re: [Bpf] IETF BPF working group draft charter Jose E. Marchesi
- Re: [Bpf] IETF BPF working group draft charter Christoph Hellwig
- Re: [Bpf] IETF BPF working group draft charter Jose E. Marchesi
- Re: [Bpf] IETF BPF working group draft charter Dave Thaler
- Re: [Bpf] IETF BPF working group draft charter David Vernet
- Re: [Bpf] IETF BPF working group draft charter Dave Thaler
- Re: [Bpf] IETF BPF working group draft charter David Vernet
- Re: [Bpf] IETF BPF working group draft charter Dave Thaler
- Re: [Bpf] IETF BPF working group draft charter Christoph Hellwig
- Re: [Bpf] IETF BPF working group draft charter Michael Richardson
- Re: [Bpf] IETF BPF working group draft charter Dave Thaler
- Re: [Bpf] IETF BPF working group draft charter Michael Richardson
- Re: [Bpf] IETF BPF working group draft charter Christoph Hellwig
- Re: [Bpf] IETF BPF working group draft charter Lorenz Bauer
- Re: [Bpf] IETF BPF working group draft charter Dave Thaler