From: David Vernet <void@manifault.com>
To: Dave Thaler <dthaler=40microsoft.com@dmarc.ietf.org>
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>
Subject: Re: [Bpf] IETF BPF working group draft charter
Date: Tue, 23 May 2023 11:32:00 -0500 [thread overview]
Message-ID: <20230523163200.GD20100@maniforge> (raw)
In-Reply-To: <PH7PR21MB3878B869D69FD35FA718AF5DA37FA@PH7PR21MB3878.namprd21.prod.outlook.com>
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
WARNING: multiple messages have this Message-ID (diff)
From: David Vernet <void@manifault.com>
To: Dave Thaler <dthaler=40microsoft.com@dmarc.ietf.org>
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>
Subject: Re: [Bpf] IETF BPF working group draft charter
Date: Tue, 23 May 2023 11:32:00 -0500 [thread overview]
Message-ID: <20230523163200.GD20100@maniforge> (raw)
Message-ID: <20230523163200.VNPl79FiElxxA7VCvvjkFt3eIPXmZv7fjR8R42pSbC4@z> (raw)
In-Reply-To: <PH7PR21MB3878B869D69FD35FA718AF5DA37FA@PH7PR21MB3878.namprd21.prod.outlook.com>
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
--
Bpf mailing list
Bpf@ietf.org
https://www.ietf.org/mailman/listinfo/bpf
next prev parent reply other threads:[~2023-05-23 16:32 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <PH7PR21MB38780769D482CC5F83768D3CA37E9@PH7PR21MB3878.namprd21.prod.outlook.com>
[not found] ` <87v8grkn67.fsf@gnu.org>
2023-05-17 18:19 ` [Bpf] IETF BPF working group draft charter Dave Thaler
2023-05-17 18:19 ` Dave Thaler
2023-05-17 21:00 ` David Vernet
2023-05-17 21:00 ` David Vernet
2023-05-17 21:13 ` Dave Thaler
2023-05-17 21:13 ` Dave Thaler
2023-05-18 17:33 ` Jose E. Marchesi
2023-05-18 17:33 ` Jose E. Marchesi
2023-05-18 19:42 ` Dave Thaler
2023-05-18 19:42 ` Dave Thaler
2023-05-23 16:32 ` David Vernet [this message]
2023-05-23 16:32 ` David Vernet
2023-05-23 16:50 ` Dave Thaler
2023-05-23 16:50 ` Dave Thaler
2023-05-23 17:15 ` David Vernet
2023-05-23 17:15 ` David Vernet
2023-05-23 19:08 ` David Vernet
2023-05-23 19:08 ` David Vernet
2023-05-23 19:42 ` Erik Kline
2023-05-23 19:42 ` Erik Kline
2023-05-23 19:47 ` Jose E. Marchesi
2023-05-23 19:47 ` Jose E. Marchesi
2023-05-23 17:58 ` Michael Richardson
2023-05-23 17:58 ` Michael Richardson
2023-05-23 18:25 ` Dave Thaler
2023-05-23 18:25 ` Dave Thaler
2023-05-23 20:28 ` David Vernet
2023-05-23 20:28 ` David Vernet
2023-05-24 20:38 ` Suresh Krishnan
2023-05-24 21:06 ` Jose E. Marchesi
2023-05-24 21:06 ` Jose E. Marchesi
2023-05-26 16:05 ` Dave Thaler
2023-05-26 16:05 ` Dave Thaler
2023-05-26 17:25 ` Jose E. Marchesi
2023-05-26 17:25 ` Jose E. Marchesi
2023-05-25 7:44 ` Christoph Hellwig
2023-05-25 7:44 ` Christoph Hellwig
2023-05-25 10:14 ` Jose E. Marchesi
2023-05-25 10:14 ` Jose E. Marchesi
2023-05-26 16:02 ` Dave Thaler
2023-05-26 16:02 ` Dave Thaler
2023-05-26 16:55 ` David Vernet
2023-05-26 16:55 ` David Vernet
2023-05-26 17:01 ` Dave Thaler
2023-05-26 17:01 ` Dave Thaler
2023-05-26 17:19 ` David Vernet
2023-05-26 17:19 ` David Vernet
2023-05-26 17:30 ` Dave Thaler
2023-05-26 17:30 ` Dave Thaler
2023-05-31 3:48 ` Christoph Hellwig
2023-05-31 3:48 ` Christoph Hellwig
2023-05-31 19:38 ` Michael Richardson
2023-05-31 19:38 ` Michael Richardson
2023-05-31 19:44 ` Dave Thaler
2023-05-31 19:44 ` Dave Thaler
2023-06-01 17:40 ` Michael Richardson
2023-06-01 17:40 ` Michael Richardson
2023-05-31 3:47 ` Christoph Hellwig
2023-05-31 3:47 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230523163200.GD20100@maniforge \
--to=void@manifault.com \
--cc=ast@kernel.org \
--cc=bpf@ietf.org \
--cc=bpf@vger.kernel.org \
--cc=dthaler=40microsoft.com@dmarc.ietf.org \
--cc=ek.ietf@gmail.com \
--cc=hch@infradead.org \
--cc=jemarch@gnu.org \
--cc=sureshk@cisco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.