Skip to content

Commit bcec717

Browse files
kuba-moodavem330
authored andcommitted
netlink: specs: update for codegen enumerating from 1
Now that the codegen rules had been changed we can update the specs to reflect the new default. Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ad4fafc commit bcec717

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

Documentation/netlink/specs/ethtool.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ attribute-sets:
1111
-
1212
name: dev-index
1313
type: u32
14-
value: 1
1514
-
1615
name: dev-name
1716
type: string
@@ -25,7 +24,6 @@ attribute-sets:
2524
-
2625
name: index
2726
type: u32
28-
value: 1
2927
-
3028
name: name
3129
type: string
@@ -39,14 +37,12 @@ attribute-sets:
3937
name: bit
4038
type: nest
4139
nested-attributes: bitset-bit
42-
value: 1
4340
-
4441
name: bitset
4542
attributes:
4643
-
4744
name: nomask
4845
type: flag
49-
value: 1
5046
-
5147
name: size
5248
type: u32
@@ -61,7 +57,6 @@ attribute-sets:
6157
-
6258
name: index
6359
type: u32
64-
value: 1
6560
-
6661
name: value
6762
type: string
@@ -71,7 +66,6 @@ attribute-sets:
7166
-
7267
name: string
7368
type: nest
74-
value: 1
7569
multi-attr: true
7670
nested-attributes: string
7771
-
@@ -80,7 +74,6 @@ attribute-sets:
8074
-
8175
name: id
8276
type: u32
83-
value: 1
8477
-
8578
name: count
8679
type: u32
@@ -96,14 +89,12 @@ attribute-sets:
9689
name: stringset
9790
type: nest
9891
multi-attr: true
99-
value: 1
10092
nested-attributes: stringset
10193
-
10294
name: strset
10395
attributes:
10496
-
10597
name: header
106-
value: 1
10798
type: nest
10899
nested-attributes: header
109100
-
@@ -119,7 +110,6 @@ attribute-sets:
119110
attributes:
120111
-
121112
name: header
122-
value: 1
123113
type: nest
124114
nested-attributes: header
125115
-
@@ -132,7 +122,6 @@ attribute-sets:
132122
attributes:
133123
-
134124
name: header
135-
value: 1
136125
type: nest
137126
nested-attributes: header
138127
-
@@ -180,7 +169,6 @@ attribute-sets:
180169
attributes:
181170
-
182171
name: pad
183-
value: 1
184172
type: pad
185173
-
186174
name: reassembly-errors
@@ -205,7 +193,6 @@ attribute-sets:
205193
attributes:
206194
-
207195
name: header
208-
value: 1
209196
type: nest
210197
nested-attributes: header
211198
-
@@ -251,13 +238,11 @@ operations:
251238

252239
do: &strset-get-op
253240
request:
254-
value: 1
255241
attributes:
256242
- header
257243
- stringsets
258244
- counts-only
259245
reply:
260-
value: 1
261246
attributes:
262247
- header
263248
- stringsets

Documentation/netlink/specs/fou.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ attribute-sets:
2626
-
2727
name: unspec
2828
type: unused
29+
value: 0
2930
-
3031
name: port
3132
type: u16
@@ -71,6 +72,7 @@ operations:
7172
-
7273
name: unspec
7374
doc: unused
75+
value: 0
7476

7577
-
7678
name: add

Documentation/netlink/specs/netdev.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ attribute-sets:
4848
name: ifindex
4949
doc: netdev ifindex
5050
type: u32
51-
value: 1
5251
checks:
5352
min: 1
5453
-
@@ -66,7 +65,6 @@ operations:
6665
-
6766
name: dev-get
6867
doc: Get / dump information about a netdev.
69-
value: 1
7068
attribute-set: dev
7169
do:
7270
request:

0 commit comments

Comments
 (0)