Home
last modified time | relevance | path

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

123

/linux-6.12.1/tools/testing/selftests/net/forwarding/
Dmin_max_mtu.sh126 local should_fail=${1:-0}; shift
129 check_err_fail $should_fail $? "Set MTU $mtu for $dev"
156 local should_fail=$1; shift
163 check_err_fail $should_fail $? "Ping, packet size: $pkt_size"
169 local should_fail=$1; shift
176 check_err_fail $should_fail $? "Ping6, packet size: $pkt_size"
188 local should_fail
190 should_fail=0
191 mtu_set_if $dev $max_mtu $should_fail
194 should_fail=1
[all …]
/linux-6.12.1/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
/linux-6.12.1/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")
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
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
Dport_scale.sh6 local should_fail=$1
11 if ((! should_fail)); then
Dport_range_scale.sh6 local should_fail=$1; shift
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.12.1/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")
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
Dport_range_scale.sh6 local should_fail=$1; shift
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.12.1/tools/testing/selftests/drivers/net/hw/
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