| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | min_max_mtu.sh | 126 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 …]
|
| H A D | bridge_fdb_local_vlan_0.sh | 149 local should_fail=$1; shift 163 check_err_fail "$should_fail" $? "FDB dev $dev vid $vlan addr $mac exists" 168 local should_fail=$1; shift 176 check_mac_presence "$should_fail" "$dev" 1 177 check_mac_presence "$should_fail" "$dev" 2 178 check_mac_presence "$should_fail" "$dev" 3 218 local should_fail=$1; shift 226 do_sharing_test "$should_fail" "$what"
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | port_range_scale.sh | 30 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
|
| H A D | tc_police_scale.sh | 37 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
|
| H A D | tc_flower_scale.sh | 71 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
|
| H A D | rif_mac_profile_scale.sh | 15 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)"
|
| H A D | port_scale.sh | 30 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)"
|
| H A D | mirror_gre_scale.sh | 52 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/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
| H A D | resource_scale.sh | 46 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
|
| H A D | rif_counter_scale.sh | 6 local should_fail=$1; shift 22 if ((max_cnts > max_rifs && should_fail)); then 29 if ((! should_fail)); then
|
| H A D | port_scale.sh | 6 local should_fail=$1 11 if ((! should_fail)); then
|
| H A D | rif_mac_profile_scale.sh | 6 local should_fail=$1 11 if ((! should_fail)); then
|
| H A D | port_range_scale.sh | 6 local should_fail=$1; shift 11 if ((! should_fail)); then
|
| H A D | mirror_gre_scale.sh | 6 local should_fail=$1; shift 11 if ((! should_fail)); then
|
| H A D | tc_police_scale.sh | 6 local should_fail=$1; shift 11 if ((! should_fail)); then
|
| H A D | router_scale.sh | 6 local should_fail=$1 11 if [[ $should_fail -eq 0 ]]; then
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
| H A D | resource_scale.sh | 51 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
|
| H A D | rif_counter_scale.sh | 6 local should_fail=$1; shift 22 if ((max_cnts > max_rifs && should_fail)); then 29 if ((! should_fail)); then
|
| H A D | tc_flower_scale.sh | 6 local should_fail=$1; shift 14 if ((! should_fail)); then
|
| H A D | port_scale.sh | 6 local should_fail=$1 11 if ((! should_fail)); then
|
| H A D | rif_mac_profile_scale.sh | 6 local should_fail=$1 11 if ((! should_fail)); then
|
| H A D | mirror_gre_scale.sh | 6 local should_fail=$1; shift 11 if ((! should_fail)); then
|
| H A D | port_range_scale.sh | 6 local should_fail=$1; shift 11 if ((! should_fail)); then
|
| H A D | tc_police_scale.sh | 6 local should_fail=$1; shift 11 if ((! should_fail)); then
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | devlink_port_split.py | 26 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)
|