Re: [PATCH net-next v3 00/10] genetlink: provide struct genl_info to dumps
From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-08-15 22:10:25
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski [off-list ref]: On Mon, 14 Aug 2023 14:47:13 -0700 you wrote:
One of the biggest (which is not to say only) annoyances with genetlink handling today is that doit and dumpit need some of the same information, but it is passed to them in completely different structs. The implementations commonly end up writing a _fill() method which populates a message and have to pass at least 6 parameters. 3 of which are extracted manually from request info. [...]
Here is the summary with links:
- [net-next,v3,01/10] genetlink: push conditional locking into dumpit/done
https://git.kernel.org/netdev/net-next/c/84817d8c6042
- [net-next,v3,02/10] genetlink: make genl_info->nlhdr const
https://git.kernel.org/netdev/net-next/c/fde9bd4a4d41
- [net-next,v3,03/10] genetlink: remove userhdr from struct genl_info
https://git.kernel.org/netdev/net-next/c/bffcc6882a1b
- [net-next,v3,04/10] genetlink: add struct genl_info to struct genl_dumpit_info
https://git.kernel.org/netdev/net-next/c/9272af109fe6
- [net-next,v3,05/10] genetlink: use attrs from struct genl_info
https://git.kernel.org/netdev/net-next/c/7288dd2fd488
- [net-next,v3,06/10] genetlink: add a family pointer to struct genl_info
https://git.kernel.org/netdev/net-next/c/5c670a010de4
- [net-next,v3,07/10] genetlink: add genlmsg_iput() API
https://git.kernel.org/netdev/net-next/c/5aa51d9f889c
- [net-next,v3,08/10] netdev-genl: use struct genl_info for reply construction
https://git.kernel.org/netdev/net-next/c/0e19d3108aea
- [net-next,v3,09/10] ethtool: netlink: simplify arguments to ethnl_default_parse()
https://git.kernel.org/netdev/net-next/c/ec0e5b09b834
- [net-next,v3,10/10] ethtool: netlink: always pass genl_info to .prepare_data
https://git.kernel.org/netdev/net-next/c/f946270d05c2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html