From: dthaler1968@googlemail.com
To: "'David Vernet'" <void@manifault.com>
Cc: <bpf@vger.kernel.org>, <bpf@ietf.org>
Subject: RE: [Bpf] [PATCH bpf-next] bpf, docs: Use IETF format for field definitions in instruction-set.rst
Date: Fri, 1 Mar 2024 13:55:34 -0800 [thread overview]
Message-ID: <236501da6c23$30b03380$92109a80$@gmail.com> (raw)
In-Reply-To: <20240301214929.GB192865@maniforge>
David Vernet <void@manifault.com> wrote:
[...]
> Very glad that we were able to do this before sending to WG last call.
Thank
> you, Dave. I left a couple of comments below but here's my AB:
>
> Acked-by: David Vernet <void@manifault.com>
[...]
> > -``BPF_ADD | BPF_X | BPF_ALU`` means::
> > +``{ADD, X, ALU}``, where 'code'=``ADD``, 'source'=``X``, and
'class'=``ALU``,
> means::
>
> For some reason ``ADD``, ``X`` and ``ALU`` aren't rendering correctly when
> built with sphinx. It looks like we need to do this:
[...]
> -``{ADD, X, ALU}``, where 'code'=``ADD``, 'source'=``X``, and
'class'=``ALU``,
> means::
> +``{ADD, X, ALU}``, where 'code' = ``ADD``, 'source' = ``X``, and 'class'
=
> ``ALU``, means::
Ack. Do you want me to submit a v2 now with that change or hold off for a
bit?
Keep in mind the deadline for submitting a draft before the meeting is
end-of-day Monday.
[...]
> > -``BPF_XOR | BPF_K | BPF_ALU64`` means::
> > +``{XOR, K, ALU64}`` means::
>
> I do certainly personally prefer the notation that was there before, but
if this
> more closely matches IETF norms then LGTM.
The notation before assumed the values were full byte values so you could OR
them together. When they're not full byte values (and they're not in IETF
convention), OR'ing makes no sense.
The proposed {} notation matches the C struct initialization convention as a
precedent.
Dave
WARNING: multiple messages have this Message-ID (diff)
From: dthaler1968=40googlemail.com@dmarc.ietf.org
To: "'David Vernet'" <void@manifault.com>
Cc: <bpf@vger.kernel.org>, <bpf@ietf.org>
Subject: Re: [Bpf] [PATCH bpf-next] bpf, docs: Use IETF format for field definitions in instruction-set.rst
Date: Fri, 1 Mar 2024 13:55:34 -0800 [thread overview]
Message-ID: <236501da6c23$30b03380$92109a80$@gmail.com> (raw)
Message-ID: <20240301215534.QL3rF9MoVY8tQqojIzJJlkcWxTIzGMEe2vfdTs-upqU@z> (raw)
In-Reply-To: <20240301214929.GB192865@maniforge>
David Vernet <void@manifault.com> wrote:
[...]
> Very glad that we were able to do this before sending to WG last call.
Thank
> you, Dave. I left a couple of comments below but here's my AB:
>
> Acked-by: David Vernet <void@manifault.com>
[...]
> > -``BPF_ADD | BPF_X | BPF_ALU`` means::
> > +``{ADD, X, ALU}``, where 'code'=``ADD``, 'source'=``X``, and
'class'=``ALU``,
> means::
>
> For some reason ``ADD``, ``X`` and ``ALU`` aren't rendering correctly when
> built with sphinx. It looks like we need to do this:
[...]
> -``{ADD, X, ALU}``, where 'code'=``ADD``, 'source'=``X``, and
'class'=``ALU``,
> means::
> +``{ADD, X, ALU}``, where 'code' = ``ADD``, 'source' = ``X``, and 'class'
=
> ``ALU``, means::
Ack. Do you want me to submit a v2 now with that change or hold off for a
bit?
Keep in mind the deadline for submitting a draft before the meeting is
end-of-day Monday.
[...]
> > -``BPF_XOR | BPF_K | BPF_ALU64`` means::
> > +``{XOR, K, ALU64}`` means::
>
> I do certainly personally prefer the notation that was there before, but
if this
> more closely matches IETF norms then LGTM.
The notation before assumed the values were full byte values so you could OR
them together. When they're not full byte values (and they're not in IETF
convention), OR'ing makes no sense.
The proposed {} notation matches the C struct initialization convention as a
precedent.
Dave
--
Bpf mailing list
Bpf@ietf.org
https://www.ietf.org/mailman/listinfo/bpf
next prev parent reply other threads:[~2024-03-01 21:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-01 19:20 [PATCH bpf-next] bpf, docs: Use IETF format for field definitions in instruction-set.rst Dave Thaler
2024-03-01 19:20 ` [Bpf] " Dave Thaler
2024-03-01 21:49 ` David Vernet
2024-03-01 21:49 ` David Vernet
2024-03-01 21:55 ` dthaler1968 [this message]
2024-03-01 21:55 ` dthaler1968=40googlemail.com
2024-03-01 22:04 ` David Vernet
2024-03-01 22:04 ` David Vernet
2024-03-01 22:17 ` Alexei Starovoitov
2024-03-01 22:17 ` Alexei Starovoitov
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='236501da6c23$30b03380$92109a80$@gmail.com' \
--to=dthaler1968@googlemail.com \
--cc=bpf@ietf.org \
--cc=bpf@vger.kernel.org \
--cc=void@manifault.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox