summaryrefslogtreecommitdiff
path: root/Documentation/userspace-api/netlink/c-code-gen.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/userspace-api/netlink/c-code-gen.rst')
-rw-r--r--Documentation/userspace-api/netlink/c-code-gen.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/userspace-api/netlink/c-code-gen.rst b/Documentation/userspace-api/netlink/c-code-gen.rst
index 89de42c13350..46415e6d646d 100644
--- a/Documentation/userspace-api/netlink/c-code-gen.rst
+++ b/Documentation/userspace-api/netlink/c-code-gen.rst
@@ -56,7 +56,9 @@ If ``name-prefix`` is specified it replaces the ``$family-$enum``
portion of the entry name.
Boolean ``render-max`` controls creation of the max values
-(which are enabled by default for attribute enums).
+(which are enabled by default for attribute enums). These max
+values are named ``__$pfx-MAX`` and ``$pfx-MAX``. The name
+of the first value can be overridden via ``enum-cnt-name`` property.
Attributes
==========