Lines Matching +full:nested +full:- +full:attributes
1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 name: net-shaper
32 @cap-get operation.
35 -
39 render-max: true
41 - name: unspec
43 -
46 -
51 -
55 node shapers; can be nested in either @netdev
59 -
64 -
67 -
71 attribute-sets:
72 -
73 name: net-shaper
74 attributes:
75 -
78 nested-attributes: handle
80 -
84 doc: Metric used by the given shaper for bw-min, bw-max and burst.
85 -
86 name: bw-min
89 -
90 name: bw-max
93 -
97 Maximum burst-size for shaping. Should not be interpreted
99 -
105 -
113 -
117 -
120 nested-attributes: handle
124 -
127 multi-attr: true
128 nested-attributes: leaf-info
131 -
133 attributes:
134 -
139 -
146 -
147 name: leaf-info
148 subset-of: net-shaper
149 attributes:
150 -
152 -
154 -
156 -
158 attributes:
159 -
163 -
168 -
169 name: support-metric-bps
171 doc: The device accepts 'bps' metric for bw-min, bw-max and burst.
172 -
173 name: support-metric-pps
175 doc: The device accepts 'pps' metric for bw-min, bw-max and burst.
176 -
177 name: support-nesting
182 scope can have flag 'support-nesting'.
183 -
184 name: support-bw-min
187 -
188 name: support-bw-max
191 -
192 name: support-burst
195 -
196 name: support-priority
199 -
200 name: support-weight
206 -
210 attribute-set: net-shaper
213 pre: net-shaper-nl-pre-doit
214 post: net-shaper-nl-post-doit
216 attributes: &ns-binding
217 - ifindex
218 - handle
220 attributes: &ns-attrs
221 - ifindex
222 - parent
223 - handle
224 - metric
225 - bw-min
226 - bw-max
227 - burst
228 - priority
229 - weight
232 pre: net-shaper-nl-pre-dumpit
233 post: net-shaper-nl-post-dumpit
235 attributes:
236 - ifindex
238 attributes: *ns-attrs
239 -
245 attribute-set: net-shaper
246 flags: [ admin-perm ]
249 pre: net-shaper-nl-pre-doit
250 post: net-shaper-nl-post-doit
252 attributes:
253 - ifindex
254 - handle
255 - metric
256 - bw-min
257 - bw-max
258 - burst
259 - priority
260 - weight
262 -
276 attribute-set: net-shaper
277 flags: [ admin-perm ]
280 pre: net-shaper-nl-pre-doit
281 post: net-shaper-nl-post-doit
283 attributes: *ns-binding
285 -
301 The user can optionally provide shaping attributes for the node
307 attribute-set: net-shaper
308 flags: [ admin-perm ]
311 pre: net-shaper-nl-pre-doit
312 post: net-shaper-nl-post-doit
314 attributes:
315 - ifindex
316 - parent
317 - handle
318 - metric
319 - bw-min
320 - bw-max
321 - burst
322 - priority
323 - weight
324 - leaves
326 attributes: *ns-binding
328 -
329 name: cap-get
333 attribute-set: caps
336 pre: net-shaper-nl-cap-pre-doit
337 post: net-shaper-nl-cap-post-doit
339 attributes:
340 - ifindex
341 - scope
343 attributes: &cap-attrs
344 - ifindex
345 - scope
346 - support-metric-bps
347 - support-metric-pps
348 - support-nesting
349 - support-bw-min
350 - support-bw-max
351 - support-burst
352 - support-priority
353 - support-weight
356 pre: net-shaper-nl-cap-pre-dumpit
357 post: net-shaper-nl-cap-post-dumpit
359 attributes:
360 - ifindex
362 attributes: *cap-attrs