From: Nikolay Aleksandrov <razor@blackwall.org>
To: Daniel Borkmann <daniel@iogearbox.net>, martin.lau@linux.dev
Cc: pabeni@redhat.com, kuba@kernel.org, bpf@vger.kernel.org,
netdev@vger.kernel.org
Subject: Re: [PATCH bpf-next v2 2/3] netkit: Add add netkit {head,tail}room to rt_link.yaml
Date: Sat, 21 Dec 2024 09:23:45 +0200 [thread overview]
Message-ID: <fae78775-2c93-4fa2-8697-bc4516dc9e8b@blackwall.org> (raw)
In-Reply-To: <20241220234658.490686-2-daniel@iogearbox.net>
On 12/21/24 01:46, Daniel Borkmann wrote:
> Add netkit {head,tail}room attribute support to the rt_link.yaml spec file.
>
> Example:
>
> # ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/rt_link.yaml \
> --do getlink --json '{"ifname": "nk0"}' --output-json | jq
> [...]
> "linkinfo": {
> "kind": "netkit",
> "data": {
> "primary": 0,
> "policy": "forward",
> "mode": "l3",
> "scrub": "default",
> "headroom": 0,
> "tailroom": 0,
> "peer-policy": "forward",
> "peer-scrub": "default"
> }
> },
> [...]
>
> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
> Cc: Nikolay Aleksandrov <razor@blackwall.org>
> ---
> Documentation/netlink/specs/rt_link.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/Documentation/netlink/specs/rt_link.yaml b/Documentation/netlink/specs/rt_link.yaml
> index 9ffa13b77dcf..dbeae6b1c548 100644
> --- a/Documentation/netlink/specs/rt_link.yaml
> +++ b/Documentation/netlink/specs/rt_link.yaml
> @@ -2166,6 +2166,12 @@ attribute-sets:
> name: peer-scrub
> type: u32
> enum: netkit-scrub
> + -
> + name: headroom
> + type: u16
> + -
> + name: tailroom
> + type: u16
>
> sub-messages:
> -
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
next prev parent reply other threads:[~2024-12-21 7:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-20 23:46 [PATCH bpf-next v2 1/3] netkit: Allow for configuring needed_{head,tail}room Daniel Borkmann
2024-12-20 23:46 ` [PATCH bpf-next v2 2/3] netkit: Add add netkit {head,tail}room to rt_link.yaml Daniel Borkmann
2024-12-21 7:23 ` Nikolay Aleksandrov [this message]
2024-12-23 18:49 ` Jakub Kicinski
2024-12-20 23:46 ` [PATCH bpf-next v2 3/3] selftests/bpf: Extend netkit tests to validate set {head,tail}room Daniel Borkmann
2024-12-21 7:24 ` Nikolay Aleksandrov
2024-12-21 7:23 ` [PATCH bpf-next v2 1/3] netkit: Allow for configuring needed_{head,tail}room Nikolay Aleksandrov
2024-12-23 18:48 ` Jakub Kicinski
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=fae78775-2c93-4fa2-8697-bc4516dc9e8b@blackwall.org \
--to=razor@blackwall.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=kuba@kernel.org \
--cc=martin.lau@linux.dev \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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