mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Asbjørn Sloth Tønnesen" <ast@fiberby.net>
To: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
Cc: "Asbjørn Sloth Tønnesen" <ast@fiberby.net>,
	"Donald Hunter" <donald.hunter@gmail.com>,
	"Simon Horman" <horms@kernel.org>,
	"Jacob Keller" <jacob.e.keller@intel.com>,
	"Stanislav Fomichev" <sdf@fomichev.me>,
	"Matthieu Baerts (NGI0)" <matttbe@kernel.org>,
	"David Ahern" <dsahern@kernel.org>,
	"Chuck Lever" <chuck.lever@oracle.com>,
	wireguard@lists.zx2c4.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH net 0/4] tools: ynl-gen: misc fixes + wireguard ynl plan
Date: Mon,  1 Sep 2025 14:50:19 +0000	[thread overview]
Message-ID: <20250901145034.525518-1-ast@fiberby.net> (raw)

Hi,

This is the first batch of changes related to converting
the netlink around wireguard, to be based on an YNL spec,
with the focus on making it a 1-to-1 replacement.

I will post these 28 patches in 3 batches.

This 1st series with some misc fixes for net.

Once this 1st series makes its way to net-next, then I plan
to post the 2nd series with YNL improvements for net-next,
and the 3rd series with the wireguard changes as RFC at
the same time, as many of the patches in the 2nd series is
using the 3rd series for justification, so they should be
available for reviewers.

Once the 2nd series is accepted into net-next, then
I will post the 3rd series in v1 for net-next.

Below are the diff stats for each series:

1st series (this) - misc fixes (4 patches):
 Documentation/netlink/specs/fou.yaml     | 4 ++--
 include/net/genetlink.h                  | 2 +-
 net/ipv4/fou_nl.c                        | 4 ++--
 tools/net/ynl/pyynl/ynl_gen_c.py         | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

2nd series - ynl improvements (10 patches):
 Doc../netlink/genetlink-legacy.yaml      |  2 +-
 tools/net/ynl/pyynl/lib/ynl.py           | 36 ++++++++++++---
 tools/net/ynl/pyynl/ynl_gen_c.py         | 34 ++++++++------
 3 files changed, 52 insertions(+), 20 deletions(-)

3rd series - wireguard changes (14 patches):
 Doc../netlink/specs/wireguard.yaml       | 321 ++++++++++++++
 MAINTAINERS                              |   3 +
 drivers/net/wireguard/Makefile           |   1 +
 drivers/net/wireguard/netlink.c          |  73 +--
 drivers/net/wireguard/netlink_gen.c      |  72 +++
 drivers/net/wireguard/netlink_gen.h      |  30 ++
 include/uapi/linux/wireguard.h           | 202 ++-------
 include/uapi/linux/wireguard_params.h    |  18 +
 tools/net/ynl/samples/.gitignore         |   1 +
 tools/net/ynl/samples/wireguard.c        | 104 +++++
 10 files changed, 605 insertions(+), 220 deletions(-)

Asbjørn Sloth Tønnesen (4):
  netlink: specs: fou: change local-v6/peer-v6 check
  tools: ynl-gen: use macro for binary min-len check
  tools: ynl-gen: fix nested array counting
  genetlink: fix typo in comment

 Documentation/netlink/specs/fou.yaml | 4 ++--
 include/net/genetlink.h              | 2 +-
 net/ipv4/fou_nl.c                    | 4 ++--
 tools/net/ynl/pyynl/ynl_gen_c.py     | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

-- 
2.50.1


             reply	other threads:[~2025-09-01 14:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-01 14:50 Asbjørn Sloth Tønnesen [this message]
2025-09-01 14:50 ` [PATCH net 1/4] netlink: specs: fou: change local-v6/peer-v6 check Asbjørn Sloth Tønnesen
2025-09-01 18:50   ` Jakub Kicinski
2025-09-01 14:50 ` [PATCH net 2/4] tools: ynl-gen: use macro for binary min-len check Asbjørn Sloth Tønnesen
2025-09-01 18:52   ` Jakub Kicinski
2025-09-01 21:10     ` Asbjørn Sloth Tønnesen
2025-09-01 14:50 ` [PATCH net 3/4] tools: ynl-gen: fix nested array counting Asbjørn Sloth Tønnesen
2025-09-01 18:56   ` Jakub Kicinski
2025-09-01 14:50 ` [PATCH net 4/4] genetlink: fix typo in comment Asbjørn Sloth Tønnesen
2025-09-01 18:57   ` Jakub Kicinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250901145034.525518-1-ast@fiberby.net \
    --to=ast@fiberby.net \
    --cc=chuck.lever@oracle.com \
    --cc=davem@davemloft.net \
    --cc=donald.hunter@gmail.com \
    --cc=dsahern@kernel.org \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=jacob.e.keller@intel.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matttbe@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sdf@fomichev.me \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®