doc/netlink: Update schema to support cmd-cnt-name and cmd-max-name
authorDavide Caratti <dcaratti@redhat.com>
Fri, 27 Oct 2023 14:04:54 +0000 (16:04 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Oct 2023 21:56:04 +0000 (14:56 -0700)
commit6479c975b20a7fe6ecacec3a60dc6f838ecee9d6
tree568ff2e67aea51821b462f5a24d5531df7879c53
parentd96e48a3d55db7ee62e607ad2d89eee1a8585028
doc/netlink: Update schema to support cmd-cnt-name and cmd-max-name

allow specifying cmd-cnt-name and cmd-max-name in netlink specs, in
accordance with Documentation/userspace-api/netlink/c-code-gen.rst.

Use cmd-cnt-name and attr-cnt-name in the mptcp yaml spec and in the
corresponding uAPI headers, to preserve the #defines we had in the past
and avoid adding new ones.

v2:
 - squash modification in mptcp.yaml and MPTCP uAPI headers

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Link: https://lore.kernel.org/r/12d4ed0116d8883cf4b533b856f3125a34e56749.1698415310.git.dcaratti@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/genetlink-c.yaml
Documentation/netlink/genetlink-legacy.yaml
Documentation/netlink/netlink-raw.yaml
Documentation/netlink/specs/mptcp.yaml
include/uapi/linux/mptcp.h
include/uapi/linux/mptcp_pm.h