| /linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| H A D | police.json | 20 "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1", 23 "matchPattern": "action order [0-9]*: police 0x1 rate 1Kbit burst 10Kb", 46 "$TC actions add action police rate 4Mbit burst 120k index 9" 48 "cmdUnderTest": "$TC actions add action police rate 8kbit burst 24k index 9", 75 "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 1k index 98", 78 "matchPattern": "action order [0-9]*: police 0x62 rate 90Kbit burst 10Kb mtu 1Kb", 102 "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 2kb peakrate 100kbit index 3", 105 "matchPattern": "action order [0-9]*: police 0x3 rate 90Kbit burst 10Kb mtu 2Kb peakrate 100Kbit", 129 "cmdUnderTest": "$TC actions add action police rate 5kbit burst 6kb peakrate 10kbit index 9", 132 "matchPattern": "action order [0-9]*: police 0x9 rate 5Kb burst 1 [all...] |
| /linux/Documentation/devicetree/bindings/ata/ |
| H A D | ceva,ahci-1v84.yaml | 48 - description: CIBGN - COMINIT Burst Gap Nominal. 49 - description: CIBGMX - COMINIT Burst Gap Maximum. 50 - description: CIBGMN - COMINIT Burst Gap Minimum. 59 - description: CWBGMN - COMWAKE Burst Gap Minimum. 60 - description: CWBGMX - COMWAKE Burst Gap Maximum. 61 - description: CWBGN - COMWAKE Burst Gap Nominal. 64 ceva,p0-burst-params: 67 Burst timing value for COM parameter for port 0. 69 ceva,p0-burst-params = /bits/ 8 <BMX BNM SFD PTST>; 71 - description: BMX - COM Burst Maximum. [all …]
|
| /linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
| H A D | tbf.json | 14 … "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 10000", 17 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 10Kbit burst 1500b limit 1000b", 35 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 mtu … 38 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b limit 1000b", 56 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 mtu … 59 …"matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b peakrate 30Kbit minburst.… 77 … "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf burst 1500 rate 20000 latency 100ms", 80 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b lat 100ms", 98 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 over… 101 …"matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1800b limit 1000b overhead 300", [all …]
|
| H A D | htb.json | 88 "name": "Create HTB with class rate and burst setting", 99 "cmdUnderTest": "$TC class add dev $DUMMY parent 1: classid 1:1 htb rate 20kbit burst 1000", 102 … "matchPattern": "class htb 1:1 root prio 0 rate 20Kbit ceil 20Kbit burst 1000b cburst 1600b", 124 … "matchPattern": "class htb 1:1 root prio 0 rate 20Kbit ceil 20Kbit burst 1600b cburst 1600b", 146 … "matchPattern": "class htb 1:1 root prio 1 rate 20Kbit ceil 20Kbit burst 1600b cburst 1600b", 168 … "matchPattern": "class htb 1:1 root prio 0 rate 20Kbit ceil 10Kbit burst 1600b cburst 1600b", 190 … "matchPattern": "class htb 1:1 root prio 0 rate 20Kbit ceil 20Kbit burst 1600b cburst 2000b", 212 "matchPattern": "class htb 1:1 root prio 0 rate 20Kbit ceil 20Kbit burst 2Kb cburst 2Kb", 234 … "matchPattern": "class htb 1:1 root prio 0 rate 20Kbit ceil 20Kbit burst 1600b cburst 1600b",
|
| /linux/lib/ |
| H A D | ratelimit.c | 20 * This enforces a rate limit: not more than @rs->burst callbacks 34 int burst = READ_ONCE(rs->burst); in ___ratelimit() local 39 * Zero interval says never limit, otherwise, non-positive burst in ___ratelimit() 42 if (interval <= 0 || burst <= 0) { in ___ratelimit() 43 …ONCE(interval < 0 || burst < 0, "Negative interval (%d) or burst (%d): Uninitialized ratelimit_sta… in ___ratelimit() 44 ret = interval == 0 || burst > 0; in ___ratelimit() 45 if (!(READ_ONCE(rs->flags) & RATELIMIT_INITIALIZED) || (!interval && !burst) || in ___ratelimit() 56 * the current burst is used or not. It might cause in ___ratelimit() 70 atomic_set(&rs->rs_n_left, rs->burst); in ___ratelimit() 80 atomic_set(&rs->rs_n_left, rs->burst); in ___ratelimit() [all …]
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | arb.c | 38 int burst; member 103 fifo->burst = cbs; in nv04_calc_arb() 117 * to the CRTC FIFO burst. (ns) */ in nv10_calc_arb() 169 /* FIFO burst */ in nv10_calc_arb() 171 /* Max burst not leading to overflows. */ in nv10_calc_arb() 174 fifo->burst = min(max_burst_o, 1024); in nv10_calc_arb() 176 /* Max burst value with an acceptable latency. */ in nv10_calc_arb() 178 fifo->burst = min(max_burst_l, fifo->burst); in nv10_calc_arb() 180 fifo->burst = rounddown_pow_of_two(fifo->burst); in nv10_calc_arb() 185 max_lwm = fifo_len - fifo->burst in nv10_calc_arb() [all …]
|
| /linux/include/net/tc_act/ |
| H A D | tc_police.h | 42 u32 burst; member 62 u32 burst; in tcf_police_burst() local 68 * "rate" bytes "burst" nanoseconds in tcf_police_burst() 77 * "rate" bytes "burst" nanoseconds 2^6 ticks in tcf_police_burst() 81 * "rate" * "burst" in tcf_police_burst() 86 * "rate" * "burst" in tcf_police_burst() 90 burst = div_u64(params->tcfp_burst * params->rate.rate_bytes_ps, in tcf_police_burst() 93 return burst; in tcf_police_burst() 110 u32 burst; in tcf_police_burst_pkt() local 116 * "rate" pkts "burst" nanoseconds in tcf_police_burst_pkt() [all …]
|
| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | snps,dwc3-common.yaml | 271 start the corresponding USB RX transaction (burst). 281 snps,rx-max-burst: 283 Max USB RX burst size. In host mode, this field specifies the 284 Maximum Bulk IN burst the DWC_usb3 core can perform. When the system 285 bus is slower than the USB, RX FIFO can overrun during a long burst. 286 You can program a smaller value to this field to limit the RX burst 301 transmission for the corresponding USB transaction (burst). 310 snps,tx-max-burst: 312 Max USB TX burst size. When the system bus is slower than the USB, 313 TX FIFO can underrun during a long burst. Program a smaller value [all …]
|
| H A D | chipidea,usb2-common.yaml | 54 ahb-burst-config: 58 used to change AHB burst configuration, check the chipidea spec for 65 tx-burst-size-dword: 67 it is vendor dependent, the tx burst size in dword (4 bytes), This 68 register represents the maximum length of a the burst in 32-bit 70 of this property will only take effect if property "ahb-burst-config" 77 rx-burst-size-dword: 79 it is vendor dependent, the rx burst size in dword (4 bytes), This 80 register represents the maximum length of a the burst in 32-bit words 82 this property will only take effect if property "ahb-burst-config"
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | lantiq,etop-xway.yaml | 32 lantiq,tx-burst-length: 35 TX programmable burst length. 38 lantiq,rx-burst-length: 41 RX programmable burst length. 51 - lantiq,tx-burst-length 52 - lantiq,rx-burst-length 65 lantiq,tx-burst-length = <8>; 66 lantiq,rx-burst-length = <8>;
|
| H A D | samsung-sxgbe.txt | 15 - samsung,pbl: Integer, Programmable Burst Length. 17 - samsung,burst-map: Integer, Program the possible bursts supported by sxgbe 18 This is an integer and represents allowable DMA bursts when fixed burst. 19 Allowable range is 0x01-0x3F. When this field is set fixed burst is enabled. 20 When fixed length is needed for burst mode, it can be set within allowable 48 samsung,burst-map = <0x20>
|
| /linux/Documentation/devicetree/bindings/dma/ |
| H A D | renesas,nbpfaxi.txt | 26 - max-burst-mem-read: limit burst size for memory reads 28 than using the maximum burst size allowed by the hardware's buffer size. 29 - max-burst-mem-write: limit burst size for memory writes 31 than using the maximum burst size allowed by the hardware's buffer size. 32 If both max-burst-mem-read and max-burst-mem-write are set, DMA_MEM_TO_MEM
|
| /linux/samples/pktgen/ |
| H A D | pktgen_sample03_burst_single_flow.sh | 7 # Using pktgen "burst" option (use -b $N) 37 [ -z "$BURST" ] && BURST=32 82 # Setup burst, for easy testing -b 0 disable bursting 83 # (internally in pktgen default and minimum burst=1) 84 if [[ ${BURST} -ne 0 ]]; then 85 pg_set $dev "burst $BURST" 87 info "$dev: Not using burst"
|
| H A D | pktgen_sample05_flow_per_thread.sh | 29 [ -z "$BURST" ] && BURST=32 77 # Setup burst, for easy testing -b 0 disable bursting 78 # (internally in pktgen default and minimum burst=1) 79 if [[ ${BURST} -ne 0 ]]; then 80 pg_set $dev "burst $BURST" 82 info "$dev: Not using burst"
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_police.c | 15 u32 burst; member 26 /* Avoid zero burst size */ in lan966x_police_add() 27 pol->burst = pol->burst ?: 1; in lan966x_police_add() 29 pol->burst = DIV_ROUND_UP(pol->burst, 4096); in lan966x_police_add() 32 pol->burst > GENMASK(6, 0)) in lan966x_police_add() 46 ANA_POL_PIR_CFG_PIR_BURST_SET(pol->burst), in lan966x_police_add() 153 pol.burst = act->police.burst; in lan966x_police_port_add()
|
| /linux/drivers/dma/qcom/ |
| H A D | qcom_adm.c | 190 * adm_get_blksize - Get block size from burst value 192 * @burst: Burst size of transaction 194 static int adm_get_blksize(unsigned int burst) in adm_get_blksize() argument 198 switch (burst) { in adm_get_blksize() 203 ret = ffs(burst >> 4) - 1; in adm_get_blksize() 226 * @burst: Burst size of transaction 231 u32 burst, in adm_process_fc_descriptors() argument 244 row_offset = burst; in adm_process_fc_descriptors() 249 row_offset = burst << 16; in adm_process_fc_descriptors() 254 while (remainder >= burst) { in adm_process_fc_descriptors() [all …]
|
| /linux/drivers/dma/dw-edma/ |
| H A D | dw-edma-core.c | 45 struct dw_edma_burst *burst; in dw_edma_alloc_burst() local 47 burst = kzalloc_obj(*burst, GFP_NOWAIT); in dw_edma_alloc_burst() 48 if (unlikely(!burst)) in dw_edma_alloc_burst() 51 INIT_LIST_HEAD(&burst->list); in dw_edma_alloc_burst() 52 if (chunk->burst) { in dw_edma_alloc_burst() 55 list_add_tail(&burst->list, &chunk->burst->list); in dw_edma_alloc_burst() 59 chunk->burst = burst; in dw_edma_alloc_burst() 62 return burst; in dw_edma_alloc_burst() 102 chunk->burst = NULL; in dw_edma_alloc_chunk() 132 list_for_each_entry_safe(child, _next, &chunk->burst->list, list) { in dw_edma_free_burst() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| H A D | meter.c | 120 u64 rate, burst; in mlx5e_tc_meter_modify() local 125 burst = meter_params->burst; in mlx5e_tc_meter_modify() 130 burst <<= 7; in mlx5e_tc_meter_modify() 133 if (!rate || rate > MLX5_MAX_CIR || !burst || burst > MLX5_MAX_CBS) in mlx5e_tc_meter_modify() 137 if (burst > MLX5_MAX_HW_CBS) { in mlx5e_tc_meter_modify() 139 "burst(%lld) is too large, use HW allowed value(%d)\n", in mlx5e_tc_meter_modify() 140 burst, MLX5_MAX_HW_CBS); in mlx5e_tc_meter_modify() 141 burst = MLX5_MAX_HW_CBS; in mlx5e_tc_meter_modify() 148 mlx5e_flow_meter_cbs_calc(burst, &cbs_man, &cbs_exp); in mlx5e_tc_meter_modify() 149 mlx5_core_dbg(mdev, "burst=%lld, cbs=%lld, exp=%d, man=%d\n", in mlx5e_tc_meter_modify() [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | tc_restrictions.sh | 320 action police rate 0.5kbit burst 2k conform-exceed drop/ok 325 action police rate 2.5tbit burst 1g conform-exceed drop/ok 330 action police rate 1.5kbit burst 2k conform-exceed drop/ok 337 action police rate 1.9tbit burst 1g conform-exceed drop/ok 344 action police rate 1.5kbit burst 512b conform-exceed drop/ok 345 check_fail $? "Incorrect success to add police action with too low burst size" 349 action police rate 1.5kbit burst 2k conform-exceed drop/ok 350 check_err $? "Failed to add police action with low burst size" 356 log_test "police rate and burst limits" 370 action police rate 100mbit burst 100k conform-exceed drop/ok [all …]
|
| /linux/Documentation/netlink/specs/ |
| H A D | net_shaper.yaml | 85 doc: Metric used by the given shaper for bw-min, bw-max and burst. 95 name: burst 98 Maximum burst-size for shaping. Should not be interpreted 172 doc: The device accepts 'bps' metric for bw-min, bw-max and burst. 176 doc: The device accepts 'pps' metric for bw-min, bw-max and burst. 193 name: support-burst 195 doc: The device supports a maximum burst size. 228 - burst 259 - burst 322 - burst [all …]
|
| /linux/drivers/net/ethernet/mscc/ |
| H A D | ocelot_police.c | 56 cbs = (cbs ? cbs : 1); /* No zero burst size */ in qos_policer_conf_set() 57 cbs_max = 60; /* Limit burst size */ in qos_policer_conf_set() 70 pbs = (pbs ? pbs : 1); /* No zero burst size */ in qos_policer_conf_set() 71 pbs_max = 60; /* Limit burst size */ in qos_policer_conf_set() 80 pbs = (pbs ? pbs : 1); /* No zero burst size */ in qos_policer_conf_set() 81 pbs_max = GENMASK(6, 0); /* Limit burst size */ in qos_policer_conf_set() 91 pbs = (pbs ? pbs : 1); /* No zero burst size */ in qos_policer_conf_set() 92 pbs_max = 61; /* Limit burst size */ in qos_policer_conf_set() 97 /* Disable policer using maximum rate and zero burst */ in qos_policer_conf_set() 213 pp.pbs = pol->burst; in ocelot_port_policer_add()
|
| /linux/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | ti,gpmc-child.yaml | 94 gpmc,page-burst-access-ns: 164 burst accesses, defines the number of 178 gpmc,burst-length: 179 description: Page/burst length. 184 gpmc,burst-wrap: 188 gpmc,burst-read: 189 description: Enables read page/burst mode 192 gpmc,burst-write: 193 description: Enables write page/burst mode
|
| /linux/Documentation/devicetree/bindings/memory-controllers/fsl/ |
| H A D | fsl,imx-weim.yaml | 77 fsl,burst-clk-enable: 81 in Burst Clock Mode. 83 fsl,continuous-burst-clk: 86 Make Burst Clock to output continuous clock. Without this option Burst 118 fsl,burst-clk-enable: false 122 - fsl,burst-clk-enable 125 fsl,continuous-burst-clk: false
|
| /linux/net/bridge/netfilter/ |
| H A D | ebt_limit.c | 74 if (info->burst == 0 || in ebt_limit_mt_check() 75 user2credits(info->avg * info->burst) < user2credits(info->avg)) { in ebt_limit_mt_check() 77 info->avg, info->burst); in ebt_limit_mt_check() 83 info->credit = user2credits(info->avg * info->burst); in ebt_limit_mt_check() 84 info->credit_cap = user2credits(info->avg * info->burst); in ebt_limit_mt_check() 93 * only avg/burst have meaningful values in userspace. 96 compat_uint_t avg, burst; member
|
| /linux/net/netfilter/ |
| H A D | xt_limit.c | 111 if (r->burst == 0 in limit_mt_check() 112 || user2credits(r->avg * r->burst) < user2credits(r->avg)) { in limit_mt_check() 114 r->avg, r->burst); in limit_mt_check() 127 priv->credit = user2credits(r->avg * r->burst); /* Credits full. */ in limit_mt_check() 146 u_int32_t burst; member 162 .burst = cm->burst, in limit_mt_compat_from_user() 176 .burst = m->burst, in limit_mt_compat_to_user()
|