Lines Matching full:shapers
12 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
15 raise KsftSkipEx("shapers not supported by the device")
18 # Default configuration: no shapers configured.
19 ksft_eq(len(shapers), 0)
26 raise KsftSkipEx("shapers not supported by the device")
39 raise KsftSkipEx("shapers not supported by the device")
42 raise KsftSkipEx("device does not support queue scope shapers with bw_max and metric bps")
82 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
83 ksft_eq(shapers, [{'ifindex': cfg.ifindex,
96 raise KsftSkipEx("queue shapers not supported by device, skipping delete")
102 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
103 ksft_eq(len(shapers), 0)
112 raise KsftSkipEx("shapers not supported by the device")
115 raise KsftSkipEx("device does not support nested netdev scope shapers with weight")
122 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
123 ksft_eq(shapers, [{'ifindex': cfg.ifindex,
134 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
135 ksft_eq(len(shapers), 0)
148 raise KsftSkipEx("shapers not supported by the device")
151 raise KsftSkipEx("device does not support queue scope shapers with weight")
179 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
180 ksft_eq(len(shapers), 1)
193 raise KsftSkipEx("shapers not supported by the device")
196 raise KsftSkipEx("device does not support node scope shapers with bw_max and metric bps")
202 raise KsftSkipEx("shapers not supported by the device")
205 raise KsftSkipEx("device does not support nested queue scope shapers with weight")
272 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
273 ksft_eq(shapers, [{'ifindex': cfg.ifindex,
281 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
282 ksft_eq(len(shapers), 0)
292 raise KsftSkipEx("node scope shapers not supported by the device")
295 raise KsftSkipEx("device does not support node scope shapers nesting")
322 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
323 ksft_eq(shapers, [{'ifindex': cfg.ifindex,
349 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
350 ksft_eq(shapers, [{'ifindex': cfg.ifindex,
372 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
373 ksft_eq(len(shapers), 0)
386 # Delete a channel, with no shapers configured on top of the related
389 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
390 ksft_eq(shapers, [{'ifindex': cfg.ifindex,
410 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
411 ksft_eq(shapers, [{'ifindex': cfg.ifindex,
424 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
425 ksft_eq(shapers, [{'ifindex': cfg.ifindex,