| /tools/testing/selftests/alsa/ |
| A D | pcm-test.conf | 5 rate 8000 14 rate 8000 23 rate 44100 32 rate 48000 41 rate 48000 50 rate 48000 59 rate 96000
|
| A D | test-pcmtest-driver.c | 25 unsigned int rate; member 80 return rate * channels * snd_pcm_format_physical_width(format) / 8; in get_sec_buf_len() 99 snd_pcm_hw_params_set_rate_near(*handle, hwparams, ¶ms->rate, 0); in setup_handle() 141 self->params.rate = 8000; in FIXTURE_SETUP() 147 self->params.sec_buf_len = get_sec_buf_len(self->params.rate, self->params.channels, in FIXTURE_SETUP() 184 params->rate * params->channels * params->time); in TEST_F() 192 write_res = snd_pcm_writei(handle, samples, params->rate * params->time); in TEST_F() 223 params->rate * params->channels * params->time); in TEST_F() 224 read_res = snd_pcm_readi(handle, samples, params->rate * params->time); in TEST_F() 259 read_res = snd_pcm_readn(handle, (void **)chan_samples, params.rate * params.time); in TEST_F() [all …]
|
| A D | pcm-test.c | 299 long rate, channels, period_size, buffer_size; in test_pcm_time() local 389 samples = realloc(samples, (rate * channels * in test_pcm_time() 406 rrate = rate; in test_pcm_time() 412 if (rrate != rate) { in test_pcm_time() 466 (long)rate, (long)channels, in test_pcm_time() 482 if (frames < rate) { in test_pcm_time() 484 "expected %ld, wrote %li", rate, frames); in test_pcm_time() 488 frames = snd_pcm_readi(handle, samples, rate); in test_pcm_time() 491 "expected %ld, wrote %li", rate, frames); in test_pcm_time() 494 if (frames < rate) { in test_pcm_time() [all …]
|
| /tools/testing/selftests/drivers/net/mlxsw/ |
| A D | devlink_trap_policer.sh | 125 rate 2000000001 &> /dev/null 128 devlink trap policer set $DEVLINK_DEV policer 1 rate 1 130 devlink trap policer set $DEVLINK_DEV policer 1 rate 2000000000 183 local rate pct drop_rate 202 rate=$(trap_rate_get) 203 pct=$((100 * (rate - 1000) / 1000)) 206 log_info "Expected rate 1000 pps, measured rate $rate pps" 245 rate=$(trap_rate_get) 246 (( rate > 1000 )) 247 check_err $? "Expected rate higher than 1000 pps, got $rate pps" [all …]
|
| A D | qos_lib.sh | 5 local rate=$1; shift 9 if ((rate > min)); then 41 local ir=$(rate $u0 $u1 $interval) 42 local er=$(rate $t0 $t1 $interval)
|
| A D | tc_sample.sh | 233 skip_sw action sample rate 32 group 1 285 skip_sw action sample rate 1024 group 1 298 skip_sw action sample rate 1024 group 1 314 skip_sw action sample rate 1024 group 1 333 skip_sw action sample rate 5 group 1 359 skip_sw action sample rate 5 group 1 385 skip_sw action sample rate 5 group 1 411 skip_sw action sample rate 5 group 1 438 skip_sw action sample rate 5 group 1 489 tbf rate 1Mbit burst 256k limit 1M [all …]
|
| A D | tc_restrictions.sh | 178 matchall skip_sw action sample rate 100 group 1 184 matchall skip_sw action sample rate 100 group 1 304 action sample group 1 rate 100 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 349 action police rate 1.5kbit burst 2k conform-exceed drop/ok 370 action police rate 100mbit burst 100k conform-exceed drop/ok [all …]
|
| A D | qos_mc_aware.sh | 133 tc qdisc replace dev $swp3 root handle 3: tbf rate 1gbit \ 265 local mc_ir=$(rate $u0 $u1 $interval) 266 local mc_er=$(rate $t0 $t1 $interval) 315 local uc_ir=$(rate $u0 $u1 $interval) 316 local uc_er=$(rate $t0 $t1 $interval)
|
| A D | tc_police_occ.sh | 72 action police rate 100mbit burst 100k conform-exceed drop/ok 82 action police rate 100mbit burst 100k conform-exceed drop/ok \
|
| A D | sch_ets.sh | 22 tc qdisc replace dev $swp2 root handle 3: tbf rate 1gbit \
|
| /tools/testing/selftests/rcutorture/bin/ |
| A D | kvm-recheck-scf.sh | 31 rate="" 35 rate=" ($nscfss/s)" 37 echo "${configfile} ------- ${nscfs} SCF handler invocations$rate"
|
| /tools/testing/selftests/alsa/conf.d/ |
| A D | Lenovo_ThinkPad_P1_Gen2.conf | 45 rate 48000 # can be omitted - default 53 rate 48000 61 rate 44100
|
| /tools/testing/selftests/bpf/progs/ |
| A D | bpf_cc_cubic.c | 50 __u64 rate; in tcp_update_pacing_rate() local 53 rate = (__u64)tp->mss_cache * ((USEC_PER_SEC / 100) << 3); in tcp_update_pacing_rate() 64 rate *= TCP_PACING_SS_RATIO; in tcp_update_pacing_rate() 66 rate *= TCP_PACING_CA_RATIO; in tcp_update_pacing_rate() 68 rate *= max(tp->snd_cwnd, tp->packets_out); in tcp_update_pacing_rate() 71 rate = div64_u64(rate, (__u64)tp->srtt_us); in tcp_update_pacing_rate() 73 sk->sk_pacing_rate = min(rate, sk->sk_max_pacing_rate); in tcp_update_pacing_rate()
|
| A D | test_spin_lock.c | 37 unsigned int rate; member 47 #define CREDIT_PER_NS(delta, rate) (((delta) * rate) >> 20) argument 85 q->credit += CREDIT_PER_NS(curtime - q->lasttime, q->rate); in bpf_spin_lock_test()
|
| A D | tcp_ca_write_sk_pacing.c | 39 unsigned long rate = in BPF_PROG() local 42 sk->sk_pacing_rate = min(rate, sk->sk_max_pacing_rate); in BPF_PROG()
|
| A D | bpf_cubic.c | 445 unsigned long rate; in hystart_ack_delay() local 447 rate = sk->sk_pacing_rate; in hystart_ack_delay() 448 if (!rate) in hystart_ack_delay() 451 div64_ul((__u64)GSO_MAX_SIZE * 4 * USEC_PER_SEC, rate)); in hystart_ack_delay()
|
| /tools/testing/selftests/drivers/net/netdevsim/ |
| A D | devlink.sh | 576 local rate=$3 579 rate_attr_set $handle $name $rate mbit 584 [ "$debug_value" == "$rate" ] 589 [ "$api_value" == "$rate" ] 657 devlink port function rate add $handle 664 devlink port function rate del $handle 678 rate=10 683 rate=$(($rate+10)) 686 rate=100 689 rate_attr_tx_rate_check $r_obj tx_max $rate \ [all …]
|
| A D | devlink_trap.sh | 303 devlink trap policer set $DEVLINK_DEV policer 1 rate 2000 burst 16 312 devlink trap policer set $DEVLINK_DEV policer 1 rate 0 &> /dev/null 314 devlink trap policer set $DEVLINK_DEV policer 1 rate 9000 &> /dev/null 318 devlink trap policer set $DEVLINK_DEV policer 1 rate 65537 &> /dev/null 321 devlink trap policer set $DEVLINK_DEV policer 1 rate 3000 &> /dev/null
|
| /tools/testing/selftests/net/forwarding/ |
| A D | sch_tbf_etsprio.sh | 18 rate 400Mbit burst $bs limit 1M 20 rate 800Mbit burst $bs limit 1M 45 tbf rate 400Mbit burst $bs limit 1M
|
| A D | tc_police.sh | 144 local nr=$(rate $t0 $t1 10) 160 action police rate 10mbit burst 16k conform-exceed drop/ok 172 action police rate 10mbit burst 16k conform-exceed drop/ok 194 local nr=$(rate $t0 $t1 10) 214 action police rate 10mbit burst 16k conform-exceed drop/ok \ 253 action police rate 10mbit burst 16k conform-exceed drop/pipe \ 264 local nr=$(rate $t0 $t1 10) 274 local nr=$(rate $t0 $t1 10)
|
| A D | sch_ets.sh | 27 rate 1Gbit burst 1Mbit latency 100ms
|
| A D | sch_tbf_root.sh | 16 rate 400Mbit burst $bs limit 1M
|
| /tools/testing/selftests/bpf/ |
| A D | test_sockmap.c | 151 int rate; member 1027 if (rate) in forever_ping_pong() 1028 sleep(rate); in forever_ping_pong() 1523 opt->rate = 1; in test_send_one() 1528 opt->rate = 1; in test_send_one() 1533 opt->rate = 1; in test_send_one() 1555 opt->rate = 2; in test_send_large() 1624 opt->rate = 1; in test_txmsg_skb() 1915 opt->rate = 2; in test_txmsg_ingress_parser() 1926 opt->rate = 1; in test_txmsg_ingress_parser2() [all …]
|
| /tools/testing/selftests/net/mptcp/ |
| A D | simult_flows.sh | 236 tc -n $ns1 qdisc add dev ns1eth1 root netem rate ${rate1}mbit $delay1 237 tc -n $ns1 qdisc add dev ns1eth2 root netem rate ${rate2}mbit $delay2 238 tc -n $ns2 qdisc add dev ns2eth1 root netem rate ${rate1}mbit $delay1 239 tc -n $ns2 qdisc add dev ns2eth2 root netem rate ${rate2}mbit $delay2
|
| /tools/testing/selftests/net/netfilter/ |
| A D | nft_interface_stress.sh | 93 rate=$(ip netns exec $nsc iperf3 \ 146 [[ $rate -gt 0 ]] || {
|