netlink: specs: finish up operation enum-models
authorJakub Kicinski <kuba@kernel.org>
Tue, 31 Jan 2023 02:33:51 +0000 (18:33 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 1 Feb 2023 04:36:03 +0000 (20:36 -0800)
commit8403bf04453044397219bc70715a3a94730199cc
treee284e80e2e3c09d7bba3bca87e86e16b401f2aa8
parent5c6674f6eb52f7968b805b25c7478b3d96b6b4f7
netlink: specs: finish up operation enum-models

I had a (bright?) idea of introducing the concept of enum-models
to account for all the weird ways families enumerate their messages.
I've never finished it because generating C code for each of them
is pretty daunting. But for languages which can use ID values directly
the support is simple enough, so clean this up a bit.

"unified" model is what I recommend going forward.
"directional" model is what ethtool uses.
"notify-split" is used by the proposed DPLL code, but we can just
make them use "unified", it hasn't been merged :)

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/genetlink-c.yaml
Documentation/netlink/genetlink-legacy.yaml
Documentation/netlink/genetlink.yaml
Documentation/userspace-api/netlink/genetlink-legacy.rst