Home
last modified time | relevance | path

Searched full:shapers (Results 1 – 8 of 8) 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
302 if (!hierarchy || !xa_get_mark(&hierarchy->shapers, index, in net_shaper_lookup()
310 return xa_load(&hierarchy->shapers, index); in net_shaper_lookup()
329 xa_init_flags(&hierarchy->shapers, XA_FLAGS_ALLOC); in net_shaper_hierarchy_setup()
356 cur = xa_load(&hierarchy->shapers, index); in net_shaper_pre_insert()
370 ret = xa_alloc(&hierarchy->shapers, &index, NULL, in net_shaper_pre_insert()
390 prev = xa_store(&hierarchy->shapers, index, cur, GFP_KERNEL); in net_shaper_pre_insert()
401 xa_erase(&hierarchy->shapers, index); in net_shaper_pre_insert()
409 int nr_shapers, const struct net_shaper *shapers) in net_shaper_commit() argument
416 xa_lock(&hierarchy->shapers); in net_shaper_commit()
[all …]
/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.c909 NL_SET_ERR_MSG_MOD(extack, "Cannot create multiple shapers"); in mana_shaper_set()
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt6942 shapers= [NET]
6943 Maximal number of shapers.