mbox series

[net-next,00/12] tools: ynl-gen: code gen improvements before ethtool

Message ID 20230608211200.1247213-1-kuba@kernel.org (mailing list archive)
Headers show
Series tools: ynl-gen: code gen improvements before ethtool | expand

Message

Jakub Kicinski June 8, 2023, 9:11 p.m. UTC
I was going to post ethtool but I couldn't stand the ugliness
of the if conditions which were previously generated.
So I cleaned that up and improved a number of other things
ethtool will benefit from.

Jakub Kicinski (12):
  tools: ynl-gen: cleanup user space header includes
  tools: ynl: regen: cleanup user space header includes
  tools: ynl-gen: complete the C keyword list
  tools: ynl-gen: combine else with closing bracket
  tools: ynl-gen: get attr type outside of if()
  tools: ynl: regen: regenerate the if ladders
  tools: ynl-gen: stop generating common notification handlers
  tools: ynl: regen: stop generating common notification handlers
  tools: ynl-gen: sanitize notification tracking
  tools: ynl-gen: support code gen for events
  tools: ynl-gen: don't pass op_name to RenderInfo
  tools: ynl-gen: support / skip pads on the way to kernel

 tools/net/ynl/generated/devlink-user.c   |  78 +++----
 tools/net/ynl/generated/fou-user.c       |  35 ++--
 tools/net/ynl/generated/handshake-user.c |  78 ++-----
 tools/net/ynl/generated/handshake-user.h |   3 -
 tools/net/ynl/generated/netdev-user.c    |  58 +-----
 tools/net/ynl/generated/netdev-user.h    |   3 -
 tools/net/ynl/lib/nlspec.py              |   7 +-
 tools/net/ynl/ynl-gen-c.py               | 253 ++++++++++-------------
 8 files changed, 186 insertions(+), 329 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org June 9, 2023, 9:50 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu,  8 Jun 2023 14:11:48 -0700 you wrote:
> I was going to post ethtool but I couldn't stand the ugliness
> of the if conditions which were previously generated.
> So I cleaned that up and improved a number of other things
> ethtool will benefit from.
> 
> Jakub Kicinski (12):
>   tools: ynl-gen: cleanup user space header includes
>   tools: ynl: regen: cleanup user space header includes
>   tools: ynl-gen: complete the C keyword list
>   tools: ynl-gen: combine else with closing bracket
>   tools: ynl-gen: get attr type outside of if()
>   tools: ynl: regen: regenerate the if ladders
>   tools: ynl-gen: stop generating common notification handlers
>   tools: ynl: regen: stop generating common notification handlers
>   tools: ynl-gen: sanitize notification tracking
>   tools: ynl-gen: support code gen for events
>   tools: ynl-gen: don't pass op_name to RenderInfo
>   tools: ynl-gen: support / skip pads on the way to kernel
> 
> [...]

Here is the summary with links:
  - [net-next,01/12] tools: ynl-gen: cleanup user space header includes
    https://git.kernel.org/netdev/net-next/c/30b5c720e1a9
  - [net-next,02/12] tools: ynl: regen: cleanup user space header includes
    https://git.kernel.org/netdev/net-next/c/9b52fd4b6305
  - [net-next,03/12] tools: ynl-gen: complete the C keyword list
    https://git.kernel.org/netdev/net-next/c/820343ccbb2e
  - [net-next,04/12] tools: ynl-gen: combine else with closing bracket
    https://git.kernel.org/netdev/net-next/c/2c0f1466867c
  - [net-next,05/12] tools: ynl-gen: get attr type outside of if()
    https://git.kernel.org/netdev/net-next/c/e4ea3cc68472
  - [net-next,06/12] tools: ynl: regen: regenerate the if ladders
    https://git.kernel.org/netdev/net-next/c/7234415b8f86
  - [net-next,07/12] tools: ynl-gen: stop generating common notification handlers
    https://git.kernel.org/netdev/net-next/c/f2ba1e5e2208
  - [net-next,08/12] tools: ynl: regen: stop generating common notification handlers
    https://git.kernel.org/netdev/net-next/c/d0915d64c3a6
  - [net-next,09/12] tools: ynl-gen: sanitize notification tracking
    https://git.kernel.org/netdev/net-next/c/ced1568862bd
  - [net-next,10/12] tools: ynl-gen: support code gen for events
    https://git.kernel.org/netdev/net-next/c/6da3424fd629
  - [net-next,11/12] tools: ynl-gen: don't pass op_name to RenderInfo
    https://git.kernel.org/netdev/net-next/c/6f96ec73cb5a
  - [net-next,12/12] tools: ynl-gen: support / skip pads on the way to kernel
    https://git.kernel.org/netdev/net-next/c/76abff37f0d7

You are awesome, thank you!