[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <58eaf33b-019e-4064-57f3-4598f3b3dc34@intel.com>
Date: Wed, 23 Aug 2023 12:40:37 -0700
From: Jacob Keller <jacob.e.keller@...el.com>
To: Donald Hunter <donald.hunter@...il.com>, <netdev@...r.kernel.org>, "Jakub
Kicinski" <kuba@...nel.org>, "David S. Miller" <davem@...emloft.net>, "Eric
Dumazet" <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, "Jonathan
Corbet" <corbet@....net>, <linux-doc@...r.kernel.org>, Stanislav Fomichev
<sdf@...gle.com>, Arkadiusz Kubalewski <arkadiusz.kubalewski@...el.com>
CC: <donald.hunter@...hat.com>
Subject: Re: [PATCH net-next v4 11/12] doc/netlink: Add spec for rt link
messages
On 8/23/2023 4:42 AM, Donald Hunter wrote:
> Add schema for rt link with support for newlink, dellink, getlink,
> setlink and getstats.
>
> A dummy link can be created like this:
>
> sudo ./tools/net/ynl/cli.py \
> --spec Documentation/netlink/specs/rt_link.yaml \
> --do newlink --create \
> --json '{"ifname": "dummy0", "linkinfo": {"kind": "dummy"}}'
>
> For example, offload stats can be fetched like this:
>
> ./tools/net/ynl/cli.py \
> --spec Documentation/netlink/specs/rt_link.yaml \
> --dump getstats --json '{ "filter-mask": 8 }'
>
> Signed-off-by: Donald Hunter <donald.hunter@...il.com>
> ---
Reviewed-by: Jacob Keller <jacob.e.keller@...el.com>
Powered by blists - more mailing lists