Thread (1 message) 1 message, 1 author, 2023-08-25

Re: [PATCH net-next v5 11/12] doc/netlink: Add spec for rt link messages

From: Donald Hunter <donald.hunter@gmail.com>
Date: 2023-08-25 09:07:03
Also in: linux-doc

Jiri Pirko [off-list ref] writes:
Thu, Aug 24, 2023 at 01:20:02PM CEST, donald.hunter@gmail.com wrote:

[...]
quoted
+attribute-sets:
+  -
+    name: link-attrs
+    name-prefix: ifla-
+    attributes:
+      -
+        name: address
+        type: binary
+        display-hint: mac
+        value: 1
+      -
+        name: broadcast
+        type: binary
+        display-hint: mac
+        value: 2
Why do you specify value here? In general, it is not needed if it
is the prev+1.
I added the values when I generated some of the spec contents from
btftool output and they were helpful for visual lookup when I was
working on the spec.

I can remove them.
quoted
+      -
+        name: ifname
+        type: string
+        value: 3
[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help