Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink_trap.sh63 local trap_name
68 for trap_name in $(devlink_traps_get); do
70 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then
71 devlink_trap_action_set $trap_name "trap"
72 action=$(devlink_trap_action_get $trap_name)
74 check_err 1 "Trap $trap_name did not change action to trap"
77 devlink_trap_action_set $trap_name "drop"
78 action=$(devlink_trap_action_get $trap_name)
80 check_err 1 "Trap $trap_name did not change action to drop"
83 orig_action=$(devlink_trap_action_get $trap_name)
[all …]
/linux-5.19.10/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh274 local trap_name=$1; shift
276 devlink -j trap show $DEVLINK_DEV trap $trap_name \
282 local trap_name=$1; shift
286 devlink trap set $DEVLINK_DEV trap $trap_name \
292 local trap_name=$1; shift
294 devlink -j trap show $DEVLINK_DEV trap $trap_name \
300 devlink -j trap show $DEVLINK_DEV trap $trap_name \
306 local trap_name=$1; shift
309 devlink -jv trap show $DEVLINK_DEV trap $trap_name \
316 local trap_name=$1; shift
[all …]
/linux-5.19.10/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l3_drops.sh157 trap_name=$1; shift
159 devlink_trap_action_set $trap_name "trap"
162 devlink_trap_action_set $trap_name "drop"
167 local trap_name="non_ip"
172 ping_check $trap_name
182 devlink_trap_drop_test $trap_name $rp2 101
195 local trap_name="uc_dip_over_mc_dmac"
201 ping_check $trap_name
211 devlink_trap_drop_test $trap_name $rp2 101
231 local trap_name="sip_is_loopback_address"
[all …]
Ddevlink_trap_l2_drops.sh97 local trap_name="source_mac_is_multicast"
109 devlink_trap_drop_test $trap_name $swp2 101
118 local trap_name="vlan_tag_mismatch"
133 devlink_trap_drop_test $trap_name $swp2 101
137 devlink_trap_action_set $trap_name "trap"
139 devlink_trap_stats_idle_test $trap_name
141 devlink_trap_group_stats_idle_test $(devlink_trap_group_get $trap_name)
147 devlink_trap_action_set $trap_name "drop"
178 local trap_name="ingress_vlan_filter"
193 devlink_trap_drop_test $trap_name $swp2 101
[all …]
Ddevlink_trap_l3_exceptions.sh163 local trap_name=$1; shift
166 action=$(devlink_trap_action_get $trap_name)
168 check_err 1 "Trap $trap_name has wrong action: $action"
174 local trap_name="mtu_value_is_too_small"
180 ping_check $trap_name
181 trap_action_check $trap_name $expected_action
196 devlink_trap_exception_test $trap_name
212 local trap_name="ttl_value_is_too_small"
218 ping_check $trap_name
219 trap_action_check $trap_name $expected_action
[all …]
Ddevlink_trap_tunnel_vxlan.sh161 local trap_name="decap_error"
179 devlink_trap_exception_test $trap_name
231 local trap_name="decap_error"
249 devlink_trap_exception_test $trap_name
300 local trap_name="overlay_smac_is_mc"
317 devlink_trap_drop_test $trap_name $swp1 101
Ddevlink_trap_tunnel_vxlan_ipv6.sh165 local trap_name="decap_error"
184 devlink_trap_exception_test $trap_name
239 local trap_name="decap_error"
258 devlink_trap_exception_test $trap_name
312 local trap_name="overlay_smac_is_mc"
329 devlink_trap_drop_test $trap_name $swp1 101
Ddevlink_trap_tunnel_ipip.sh151 local trap_name="decap_error"
172 devlink_trap_exception_test $trap_name
185 local trap_name="decap_error"
203 devlink_trap_exception_test $trap_name
Ddevlink_trap.sh88 local trap_name="source_mac_is_multicast"
105 devlink_trap_action_set $trap_name "trap"
Dsch_red_core.sh738 local trap_name=$1; shift
740 devlink_trap_rx_packets_get "$trap_name"
747 local trap_name=$1; shift
749 do_drop_test "$vlan" "$limit" "$trap_name" trap \
750 "qevent_counter_fetch_trap $trap_name"
/linux-5.19.10/include/trace/events/
Ddevlink.h187 __string(trap_name, metadata->trap_name)
198 __assign_str(trap_name, metadata->trap_name);
207 __get_str(trap_name), __get_str(trap_group_name),
/linux-5.19.10/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Ddevlink_trap_tunnel_ipip6.sh151 local trap_name="decap_error"
172 devlink_trap_exception_test $trap_name
185 local trap_name="decap_error"
203 devlink_trap_exception_test $trap_name
/linux-5.19.10/net/core/
Ddrop_monitor.c78 char trap_name[NET_DM_MAX_HW_TRAP_NAME_LEN]; member
344 if (nla_put_string(msg, NET_DM_ATTR_HW_TRAP_NAME, hw_entry->trap_name)) in net_dm_hw_entry_put()
470 if (!strncmp(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe()
480 strlcpy(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe()
761 nla_total_size(strlen(hw_metadata->trap_name) + 1) + in net_dm_hw_packet_report_size()
798 hw_metadata->trap_name)) in net_dm_hw_packet_report_fill()
852 const char *trap_name; in net_dm_hw_metadata_copy() local
863 trap_name = kstrdup(metadata->trap_name, GFP_ATOMIC); in net_dm_hw_metadata_copy()
864 if (!trap_name) in net_dm_hw_metadata_copy()
866 hw_metadata->trap_name = trap_name; in net_dm_hw_metadata_copy()
[all …]
Ddevlink.c11655 metadata->trap_name = trap_item->trap->name; in devlink_trap_report_metadata_set()
/linux-5.19.10/arch/microblaze/include/asm/
Dunwind.h16 const char *trap_name; member
/linux-5.19.10/arch/parisc/include/asm/
Dtraps.h18 const char *trap_name(unsigned long code);
/linux-5.19.10/arch/parisc/mm/
Dfault.c222 const char *trap_name(unsigned long code) in trap_name() function
252 pr_cont("\ntrap #%lu: %s%c", code, trap_name(code), in show_signal_msg()
/linux-5.19.10/arch/microblaze/kernel/
Dunwind.c217 printk("%s%s\n", loglvl, handler->trap_name); in microblaze_unwind_inner()
/linux-5.19.10/arch/parisc/kernel/
Dtraps.c457 msg, code, trap_name(code), offset); in parisc_terminate()
/linux-5.19.10/include/net/
Ddevlink.h716 const char *trap_name; member