Home
last modified time | relevance | path

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

123

/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/
Dport_range_scale.sh30 local should_fail=$1; shift
45 check_err_fail $should_fail $? "Rule insertion"
53 local should_fail=$1; shift
55 port_range_rules_create $count $should_fail
60 check_err_fail $should_fail $? "port range offload count"
66 local should_fail=$1; shift
73 __port_range_test $count $should_fail
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"
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dresource_scale.sh46 for should_fail in 0 1; do
48 target=$(${current_test}_get_target "$should_fail")
50 log_test_skip "'$current_test' should_fail=$should_fail test"
58 target=$(${current_test}_get_target "$should_fail")
59 ${current_test}_test "$target" "$should_fail"
60 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
Dmirror_gre_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
Dport_range_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.6.21/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Dresource_scale.sh51 for should_fail in 0 1; do
53 target=$(${current_test}_get_target "$should_fail")
55 log_test_skip "'$current_test' [$profile] should_fail=$should_fail test"
62 target=$(${current_test}_get_target "$should_fail")
63 ${current_test}_test "$target" "$should_fail"
64 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_range_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.6.21/tools/testing/selftests/net/
Ddevlink_port_split.py26 def run_command(cmd, should_fail=False): argument
36 if stderr != "" and not should_fail:
107 def split(k, port, should_fail=False): argument
116 stdout, stderr = run_command(cmd, should_fail=should_fail)
118 if should_fail:
198 new_split_group = split(k, port, should_fail=True)

123