Searched refs:shapers (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | shaper.py | 12 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 19 ksft_eq(len(shapers), 0) 82 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 83 ksft_eq(shapers, [{'ifindex': cfg.ifindex, 102 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True) 103 ksft_eq(len(shapers), 0) 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) [all …]
|
| /linux/net/shaper/ |
| H A D | shaper.c | 25 struct xarray shapers; member 292 if (!hierarchy || xa_get_mark(&hierarchy->shapers, index, in net_shaper_lookup() 296 return xa_load(&hierarchy->shapers, index); in net_shaper_lookup() 315 xa_init_flags(&hierarchy->shapers, XA_FLAGS_ALLOC); in net_shaper_hierarchy_setup() 342 cur = xa_load(&hierarchy->shapers, index); in net_shaper_pre_insert() 356 ret = xa_alloc(&hierarchy->shapers, &index, NULL, in net_shaper_pre_insert() 376 xa_lock(&hierarchy->shapers); in net_shaper_pre_insert() 377 prev = __xa_store(&hierarchy->shapers, index, cur, GFP_KERNEL); in net_shaper_pre_insert() 378 __xa_set_mark(&hierarchy->shapers, index, NET_SHAPER_NOT_VALID); in net_shaper_pre_insert() 379 xa_unlock(&hierarchy->shapers); in net_shaper_pre_insert() [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/ti/ |
| H A D | cpsw.rst | 11 The cpsw has 3 CBS shapers for each external ports. This document 28 - CBS shapers should be used with rated queues 29 - The bandwidth for CBS shapers has to be set a little bit more then
|
| /linux/Documentation/networking/ |
| H A D | netdevices.rst | 372 Note that supporting net shapers automatically enables "ops locking".
|