Home
last modified time | relevance | path

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

/linux-6.14.4/tools/testing/selftests/drivers/net/
Dshaper.py12 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")
[all …]
/linux-6.14.4/Documentation/netlink/specs/
Dnet_shaper.yaml7 This API allows configuring HW shapers available on the network
10 shapers.
15 Depending on the @scope value, the shapers are attached to specific
20 Shapers can be created with two different operations: the @set
23 group. Only the @group operation can create @node scope shapers.
25 Existing shapers can be deleted/reset via the @delete operation.
55 node shapers; can be nested in either @netdev
56 shapers or other @node shapers, allowing placement
104 scheduling is applied to sibling shapers.
111 The scheduling is applied to all sibling shapers
[all …]
/linux-6.14.4/net/shaper/
Dshaper.c25 struct xarray shapers; member
257 if (!hierarchy || xa_get_mark(&hierarchy->shapers, index, in net_shaper_lookup()
261 return xa_load(&hierarchy->shapers, index); in net_shaper_lookup()
280 xa_init_flags(&hierarchy->shapers, XA_FLAGS_ALLOC); in net_shaper_hierarchy_setup()
307 cur = xa_load(&hierarchy->shapers, index); in net_shaper_pre_insert()
321 ret = xa_alloc(&hierarchy->shapers, &index, NULL, in net_shaper_pre_insert()
341 xa_lock(&hierarchy->shapers); in net_shaper_pre_insert()
342 prev = __xa_store(&hierarchy->shapers, index, cur, GFP_KERNEL); in net_shaper_pre_insert()
343 __xa_set_mark(&hierarchy->shapers, index, NET_SHAPER_NOT_VALID); in net_shaper_pre_insert()
344 xa_unlock(&hierarchy->shapers); in net_shaper_pre_insert()
[all …]
/linux-6.14.4/include/net/
Dnet_shaper.h60 * struct net_shaper_ops - Operations on device H/W shapers
77 * @group: create the specified shapers scheduling group
79 * Nest the @leaves shapers identified under the * @node shaper.
80 * All the shapers belong to the device specified by @binding.
/linux-6.14.4/include/uapi/linux/
Dnet_shaper.h19 * shapers; can be nested in either @netdev shapers or other @node shapers,
Dpkt_sched.h608 TC_MQPRIO_SHAPER_BW_RATE, /* Add new shapers below */
/linux-6.14.4/Documentation/networking/device_drivers/ethernet/ti/
Dcpsw.rst11 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-6.14.4/tools/testing/selftests/net/forwarding/
Dsch_red.sh5 # within TBF shaper on $swp3. The two shapers have the same configuration, and
/linux-6.14.4/drivers/net/ethernet/microchip/sparx5/
Dsparx5_qos.c420 /* Maximum number of shapers that can be served by in sparx5_leak_groups_init()
/linux-6.14.4/tools/include/uapi/linux/
Dpkt_sched.h587 TC_MQPRIO_SHAPER_BW_RATE, /* Add new shapers below */
/linux-6.14.4/drivers/net/ethernet/freescale/
Dfec.h439 * implementation class credit based shapers externally
/linux-6.14.4/drivers/net/ethernet/ti/
Dcpsw_priv.c958 /* shapers can be set if link speed is known */ in cpsw_set_cbs()
Ddavinci_cpdma.c852 /* on shapers */ in cpdma_chan_set_rate()
/linux-6.14.4/drivers/net/dsa/sja1105/
Dsja1105_main.c2145 /* Port 0 (the uC port) does not have CBS shapers */
2254 /* The credit based shapers are only allocated if in sja1105_reload_cbs()
/linux-6.14.4/drivers/net/ethernet/freescale/dpaa2/
Ddpni.c2078 * @coupled: Committed and excess rate shapers are coupled
/linux-6.14.4/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h4508 * The QPSC allows advanced configuration of the shapers when QEEC.ptps=1.
4530 * The base-time-interval for updating the shapers tokens (for all hierarchies).
4538 * The base-time-interval for updating the shapers tokens (for all hierarchies).
/linux-6.14.4/Documentation/admin-guide/
Dkernel-parameters.txt6420 shapers= [NET]
6421 Maximal number of shapers.