[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5338e487-0e6a-4b90-affd-328d8c471d62@blackwall.org>
Date: Sat, 21 Dec 2024 09:22:21 +0200
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: Daniel Borkmann <daniel@...earbox.net>, martin.lau@...ux.dev
Cc: pabeni@...hat.com, bpf@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH bpf-next 2/3] netkit: Add add netkit {head,tail}room to
rt_link.yaml
On 12/19/24 19:39, 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": {
> }
> },
> [...]
>
> Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
> Cc: Nikolay Aleksandrov <razor@...ckwall.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@...ckwall.org>
Powered by blists - more mailing lists