Home
last modified time | relevance | path

Searched refs:trap_name (Results 1 – 7 of 7) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink_trap.sh58 local trap_name
63 for trap_name in $(devlink_traps_get); do
65 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then
66 devlink_trap_action_set $trap_name "trap"
67 action=$(devlink_trap_action_get $trap_name)
69 check_err 1 "Trap $trap_name did not change action to trap"
72 devlink_trap_action_set $trap_name "drop"
73 action=$(devlink_trap_action_get $trap_name)
75 check_err 1 "Trap $trap_name did not change action to drop"
78 orig_action=$(devlink_trap_action_get $trap_name)
[all …]
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh214 local trap_name=$1; shift
216 devlink -j trap show $DEVLINK_DEV trap $trap_name \
222 local trap_name=$1; shift
226 devlink trap set $DEVLINK_DEV trap $trap_name \
232 local trap_name=$1; shift
234 devlink -j trap show $DEVLINK_DEV trap $trap_name \
240 devlink -j trap show $DEVLINK_DEV trap $trap_name \
246 local trap_name=$1; shift
249 devlink -jv trap show $DEVLINK_DEV trap $trap_name \
256 local trap_name=$1; shift
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l3_exceptions.sh160 local trap_name=$1; shift
163 action=$(devlink_trap_action_get $trap_name)
165 check_err 1 "Trap $trap_name has wrong action: $action"
171 local trap_name="mtu_value_is_too_small"
178 ping_check $trap_name
179 trap_action_check $trap_name $expected_action
194 devlink_trap_exception_test $trap_name $group_name
210 local trap_name="ttl_value_is_too_small"
217 ping_check $trap_name
218 trap_action_check $trap_name $expected_action
[all …]
Ddevlink_trap_l3_drops.sh151 trap_name=$1; shift
153 devlink_trap_action_set $trap_name "trap"
156 devlink_trap_action_set $trap_name "drop"
161 local trap_name="non_ip"
167 ping_check $trap_name
177 devlink_trap_drop_test $trap_name $group_name $rp2
190 local trap_name="uc_dip_over_mc_dmac"
197 ping_check $trap_name
207 devlink_trap_drop_test $trap_name $group_name $rp2
227 local trap_name="sip_is_loopback_address"
[all …]
Ddevlink_trap_l2_drops.sh97 local trap_name="source_mac_is_multicast"
110 devlink_trap_drop_test $trap_name $group_name $swp2
119 local trap_name="vlan_tag_mismatch"
135 devlink_trap_drop_test $trap_name $group_name $swp2
139 devlink_trap_action_set $trap_name "trap"
141 devlink_trap_stats_idle_test $trap_name
149 devlink_trap_action_set $trap_name "drop"
180 local trap_name="ingress_vlan_filter"
196 devlink_trap_drop_test $trap_name $group_name $swp2
201 devlink_trap_action_set $trap_name "trap"
[all …]
Ddevlink_trap.sh88 local trap_name="source_mac_is_multicast"
105 devlink_trap_action_set $trap_name "trap"
/external/llvm-project/lldb/source/Commands/
DCommandObjectTarget.cpp3445 for (ConstString trap_name : trap_handler_names) { in DoExecute() local
3446 if (trap_name == funcname) { in DoExecute()