From: Jakub Kicinski <kuba@kernel.org>
To: Jiri Pirko <jiri@resnulli.us>
Cc: netdev@vger.kernel.org, nicolas.dichtel@6wind.com,
johannes@sipsolutions.net, fw@strlen.de, pablo@netfilter.org,
mkubecek@suse.cz, aleksander.lobakin@intel.com
Subject: Re: [RFC] netlink: add variable-length / auto integers
Date: Wed, 11 Oct 2023 13:21:07 -0700 [thread overview]
Message-ID: <20231011132107.7eb89258@kernel.org> (raw)
In-Reply-To: <ZSbVASHPVoNfWwce@nanopsycho>
On Wed, 11 Oct 2023 19:01:53 +0200 Jiri Pirko wrote:
> Wed, Oct 11, 2023 at 06:16:24PM CEST, kuba@kernel.org wrote:
> >No, fixed types are still allowed, just discouraged.
>
> Why?
The only legit use case that comes to mind is protocol
fields which have strictly-defined size. People like
to mirror their size into netlink, for better or worse.
> Is there goint to be warn in ynl gen?
Just a comment in the docs:
https://lore.kernel.org/all/20231011090859.3fc30812@kernel.org/
prev parent reply other threads:[~2023-10-11 20:21 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-11 0:33 [RFC] netlink: add variable-length / auto integers Jakub Kicinski
2023-10-11 13:11 ` Johannes Berg
2023-10-11 14:03 ` Nicolas Dichtel
2023-10-11 15:52 ` Jakub Kicinski
2023-10-11 16:01 ` Johannes Berg
2023-10-11 16:45 ` Stephen Hemminger
2023-10-12 9:26 ` David Laight
2023-10-12 6:47 ` Nicolas Dichtel
2023-10-11 16:08 ` Jakub Kicinski
2023-10-11 16:16 ` Johannes Berg
2023-10-11 16:19 ` Jakub Kicinski
2023-10-11 13:46 ` Jiri Pirko
2023-10-11 16:16 ` Jakub Kicinski
2023-10-11 16:21 ` Johannes Berg
2023-10-11 16:34 ` Jakub Kicinski
2023-10-11 16:37 ` Johannes Berg
2023-10-11 17:01 ` Jiri Pirko
2023-10-11 20:21 ` Jakub Kicinski [this message]
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=20231011132107.7eb89258@kernel.org \
--to=kuba@kernel.org \
--cc=aleksander.lobakin@intel.com \
--cc=fw@strlen.de \
--cc=jiri@resnulli.us \
--cc=johannes@sipsolutions.net \
--cc=mkubecek@suse.cz \
--cc=netdev@vger.kernel.org \
--cc=nicolas.dichtel@6wind.com \
--cc=pablo@netfilter.org \
/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;
as well as URLs for NNTP newsgroup(s).