[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id:
<169844402397.23229.13480254568507181124.git-patchwork-notify@kernel.org>
Date: Fri, 27 Oct 2023 22:00:23 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, kuba@...nel.org, pabeni@...hat.com,
davem@...emloft.net, edumazet@...gle.com
Subject: Re: [patch net-next v4] tools: ynl: introduce option to process unknown
attributes or types
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 27 Oct 2023 11:25:25 +0200 you wrote:
> From: Jiri Pirko <jiri@...dia.com>
>
> In case the kernel sends message back containing attribute not defined
> in family spec, following exception is raised to the user:
>
> $ sudo ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/devlink.yaml --do trap-get --json '{"bus-name": "netdevsim", "dev-name": "netdevsim1", "trap-name": "source_mac_is_multicast"}'
> Traceback (most recent call last):
> File "/home/jiri/work/linux/tools/net/ynl/lib/ynl.py", line 521, in _decode
> attr_spec = attr_space.attrs_by_val[attr.type]
> ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
> KeyError: 132
>
> [...]
Here is the summary with links:
- [net-next,v4] tools: ynl: introduce option to process unknown attributes or types
https://git.kernel.org/netdev/net-next/c/d96e48a3d55d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists