Home
last modified time | relevance | path

Searched refs:should_fail (Results 1 – 25 of 63) sorted by relevance

123

/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/
Dtc_police_scale.sh37 local should_fail=$1; shift
53 check_err_fail $should_fail $? "Rule insertion"
59 local should_fail=$1; shift
61 tc_police_rules_create $count $should_fail
66 check_err_fail $should_fail $? "tc police offload count"
72 local should_fail=$1; shift
79 __tc_police_test $count $should_fail
Dtc_flower_scale.sh71 local should_fail=$1; shift
87 check_err_fail $should_fail $? "Rule insertion"
93 local should_fail=$1; shift
96 tc_flower_rules_create $count $should_fail
102 …check_err_fail $should_fail $? "Attempt to offload $count rules (actual result $((offload_count - …
108 local should_fail=$1; shift
123 __tc_flower_test $count $should_fail
Drif_mac_profile_scale.sh15 local should_fail=$1; shift
30 check_err_fail $should_fail $? "RIF creation"
38 local should_fail=$1; shift
40 rif_mac_profiles_create $count $should_fail
46 check_err_fail $should_fail $? "Attempt to use $count profiles (actual result $occ)"
Dport_scale.sh30 local should_fail=$1; shift
52 local should_fail=$1; shift
54 split_all_ports $should_fail
60 check_err_fail $should_fail $? "Attempt to create $max_ports ports (actual result $occ)"
Dmirror_gre_scale.sh52 local should_fail=$1; shift
88 check_err_fail $should_fail $? "Mirror rule insertion"
113 local should_fail=$1; shift
115 mirror_gre_tunnels_create $count $should_fail
116 if ((should_fail)); then
137 local should_fail=$1; shift
145 __mirror_gre_test $count $should_fail
Dmirror_gre.sh153 local should_fail=$1; shift
160 if ((should_fail)); then
167 log_test "$what: should_fail=$should_fail ($tcflags)"
172 local should_fail=$1; shift
174 test_span_failable $should_fail gt6-key "mirror to keyful gretap"
175 test_span_failable $should_fail gt6-soft "mirror to gretap w/ soft underlay"
Drouter_scale.sh114 local should_fail=$2
123 check_err_fail $should_fail $? "Offload routes: Expected $route_count, got $delta."
124 if [[ $RET -ne 0 ]] || [[ $should_fail -eq 1 ]]; then
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dresource_scale.sh45 for should_fail in 0 1; do
47 target=$(${current_test}_get_target "$should_fail")
49 log_test_skip "'$current_test' should_fail=$should_fail test"
57 target=$(${current_test}_get_target "$should_fail")
58 ${current_test}_test "$target" "$should_fail"
59 if [[ "$should_fail" -eq 0 ]]; then
Drif_counter_scale.sh6 local should_fail=$1; shift
22 if ((max_cnts > max_rifs && should_fail)); then
29 if ((! should_fail)); then
Dport_scale.sh6 local should_fail=$1
11 if ((! should_fail)); then
Dmirror_gre_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
Drif_mac_profile_scale.sh6 local should_fail=$1
11 if ((! should_fail)); then
Dtc_police_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
Drouter_scale.sh6 local should_fail=$1
11 if [[ $should_fail -eq 0 ]]; then
Dtc_flower_scale.sh6 local should_fail=$1; shift
20 if ((! should_fail)); then
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Dresource_scale.sh50 for should_fail in 0 1; do
52 target=$(${current_test}_get_target "$should_fail")
54 log_test_skip "'$current_test' [$profile] should_fail=$should_fail test"
61 target=$(${current_test}_get_target "$should_fail")
62 ${current_test}_test "$target" "$should_fail"
63 if [[ "$should_fail" -eq 0 ]]; then
Drif_counter_scale.sh6 local should_fail=$1; shift
22 if ((max_cnts > max_rifs && should_fail)); then
29 if ((! should_fail)); then
Dtc_flower_scale.sh6 local should_fail=$1; shift
14 if ((! should_fail)); then
Dmirror_gre_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
Dport_scale.sh6 local should_fail=$1
11 if ((! should_fail)); then
Drif_mac_profile_scale.sh6 local should_fail=$1
11 if ((! should_fail)); then
Dtc_police_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
Drouter_scale.sh6 local should_fail=$1
11 if [[ $should_fail -eq 0 ]]; then
/linux-6.1.9/tools/testing/selftests/net/
Ddevlink_port_split.py26 def run_command(cmd, should_fail=False): argument
36 if stderr != "" and not should_fail:
105 def split(k, port, should_fail=False): argument
114 stdout, stderr = run_command(cmd, should_fail=should_fail)
116 if should_fail:
196 new_split_group = split(k, port, should_fail=True)
/linux-6.1.9/drivers/ufs/core/
Dufs-fault-injection.c64 return should_fail(&ufs_trigger_eh_attr, 1); in ufs_trigger_eh()
69 return should_fail(&ufs_timeout_attr, 1); in ufs_fail_completion()

123