/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 inde… 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 10Kb", [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 | 41 u32 burst; member 70 u32 burst; in tcf_police_burst() local 76 * "rate" bytes "burst" nanoseconds in tcf_police_burst() 85 * "rate" bytes "burst" nanoseconds 2^6 ticks in tcf_police_burst() 89 * "rate" * "burst" in tcf_police_burst() 94 * "rate" * "burst" in tcf_police_burst() 98 burst = div_u64(params->tcfp_burst * params->rate.rate_bytes_ps, in tcf_police_burst() 101 return burst; in tcf_police_burst() 118 u32 burst; in tcf_police_burst_pkt() local 124 * "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
|
H A D | intel,ldma.yaml | 36 The third cell is the burst length of the channel. 69 instead of the whole burst. 79 Enable RX dynamic burst write. When it is enabled, the DMA does RX dynamic burst; 80 if it is disabled, the DMA RX will still support programmable fixed burst size of 2,4,8,16.
|
/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/atm/ |
H A D | Kconfig | 65 bool "Fine-tune burst settings" 70 transfer is called a burst. 72 The default settings for the burst sizes are suitable for most PCI 76 The burst sizes can be set independently in the send (TX) and 79 Note that enabling many different burst sizes in the same direction 82 available burst size. 92 Burst sixteen words at once in the send direction. This may work 99 Burst eight words at once in the send direction. This is the default 106 Burst four words at once in the send direction. You may want to try 114 Burst two words at once in the send direction. You may want to try [all …]
|
/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/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 1m conform-exceed drop/ok 325 action police rate 2.5tbit burst 1g conform-exceed drop/ok 330 action police rate 1.5kbit burst 1m 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/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()
|
/linux/include/linux/platform_data/ |
H A D | gpmc-omap.h | 105 u32 t_bacc; /* burst access valid clock to output delay */ 131 #define GPMC_BURST_4 4 /* 4 word burst */ 132 #define GPMC_BURST_8 8 /* 8 word burst */ 133 #define GPMC_BURST_16 16 /* 16 word burst */ 148 bool burst_read; /* enables read page/burst mode */ 149 bool burst_write; /* enables write page/burst mode */ 155 u32 burst_len; /* page/burst length */
|