Home
last modified time | relevance | path

Searched full:shapers (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/drivers/net/
H A Dshaper.py15 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
18 raise KsftSkipEx("shapers not supported by the device")
21 # Default configuration: no shapers configured.
22 ksft_eq(len(shapers), 0)
29 raise KsftSkipEx("shapers not supported by the device")
42 raise KsftSkipEx("shapers not supported by the device")
45 raise KsftSkipEx("device does not support queue scope shapers with bw_max and metric bps")
85 shapers = nl_shaper.get({'ifindex': cfg.ifindex}, dump=True)
86 ksft_eq(shapers, [{'ifindex': cfg.ifindex,
99 raise KsftSkipEx("queue shapers not supported by device, skipping delete")
[all …]
/linux/Documentation/netlink/specs/
H A Dnet_shaper.yaml8 This API allows configuring HW shapers available on the network
11 shapers.
16 Depending on the @scope value, the shapers are attached to specific
21 Shapers can be created with two different operations: the @set
24 group. Only the @group operation can create @node scope shapers.
26 Existing shapers can be deleted/reset via the @delete operation.
61 node shapers; can be nested in either @netdev
62 shapers or other @node shapers, allowing placement
110 scheduling is applied to sibling shapers.
117 The scheduling is applied to all sibling shapers
[all …]
/linux/net/shaper/
H A Dshaper.c27 struct xarray shapers; member
321 cur = xa_load(&hierarchy->shapers, index); in net_shaper_lookup()
345 xa_init_flags(&hierarchy->shapers, XA_FLAGS_ALLOC); in net_shaper_hierarchy_setup()
372 cur = xa_load(&hierarchy->shapers, index); in net_shaper_pre_insert()
386 ret = xa_alloc(&hierarchy->shapers, &index, NULL, in net_shaper_pre_insert()
406 prev = xa_store(&hierarchy->shapers, index, cur, GFP_KERNEL); in net_shaper_pre_insert()
417 xa_erase(&hierarchy->shapers, index); in net_shaper_pre_insert()
425 int nr_shapers, const struct net_shaper *shapers) in net_shaper_commit() argument
433 index = net_shaper_handle_to_index(&shapers[i].handle); in net_shaper_commit()
435 cur = xa_load(&hierarchy->shapers, inde in net_shaper_commit()
[all...]
/linux/include/net/
H A Dnet_shaper.h61 * struct net_shaper_ops - Operations on device H/W shapers
78 * @group: create the specified shapers scheduling group
80 * Nest the @leaves shapers identified under the * @node shaper.
81 * All the shapers belong to the device specified by @binding.
/linux/tools/include/uapi/linux/
H A Dpkt_sched.h587 TC_MQPRIO_SHAPER_BW_RATE, /* Add new shapers below */
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_main.c2114 /* Port 0 (the uC port) does not have CBS shapers */
2223 /* The credit based shapers are only allocated if in sja1105_reload_cbs()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni.c2078 * @coupled: Committed and excess rate shapers are coupled
/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c920 NL_SET_ERR_MSG_MOD(extack, "Cannot create multiple shapers"); in mana_shaper_set()
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt6914 shapers= [NET]
6915 Maximal number of shapers.