Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink_trap.sh61 local trap_name
66 for trap_name in $(devlink_traps_get); do
68 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then
69 devlink_trap_action_set $trap_name "trap"
70 action=$(devlink_trap_action_get $trap_name)
72 check_err 1 "Trap $trap_name did not change action to trap"
75 devlink_trap_action_set $trap_name "drop"
76 action=$(devlink_trap_action_get $trap_name)
78 check_err 1 "Trap $trap_name did not change action to drop"
81 orig_action=$(devlink_trap_action_get $trap_name)
[all …]
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l3_drops.sh153 trap_name=$1; shift
155 devlink_trap_action_set $trap_name "trap"
158 devlink_trap_action_set $trap_name "drop"
163 local trap_name="non_ip"
168 ping_check $trap_name
178 devlink_trap_drop_test $trap_name $rp2 101
191 local trap_name="uc_dip_over_mc_dmac"
197 ping_check $trap_name
207 devlink_trap_drop_test $trap_name $rp2 101
227 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.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"
177 ping_check $trap_name
178 trap_action_check $trap_name $expected_action
193 devlink_trap_exception_test $trap_name
209 local trap_name="ttl_value_is_too_small"
215 ping_check $trap_name
216 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
229 local trap_name="decap_error"
247 devlink_trap_exception_test $trap_name
297 local trap_name="overlay_smac_is_mc"
314 devlink_trap_drop_test $trap_name $swp1 101
Ddevlink_trap_tunnel_ipip.sh142 local trap_name="decap_error"
163 devlink_trap_exception_test $trap_name
201 local trap_name="decap_error"
219 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.sh644 local trap_name=$1; shift
646 devlink_trap_rx_packets_get "$trap_name"
653 local trap_name=$1; shift
655 do_drop_test "$vlan" "$limit" "$trap_name" trap \
656 "qevent_counter_fetch_trap $trap_name"
/Linux-v5.10/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh265 local trap_name=$1; shift
267 devlink -j trap show $DEVLINK_DEV trap $trap_name \
273 local trap_name=$1; shift
277 devlink trap set $DEVLINK_DEV trap $trap_name \
283 local trap_name=$1; shift
285 devlink -j trap show $DEVLINK_DEV trap $trap_name \
291 devlink -j trap show $DEVLINK_DEV trap $trap_name \
297 local trap_name=$1; shift
300 devlink -jv trap show $DEVLINK_DEV trap $trap_name \
307 local trap_name=$1; shift
[all …]
/Linux-v5.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-v5.10/net/core/
Ddrop_monitor.c66 char trap_name[NET_DM_MAX_HW_TRAP_NAME_LEN]; member
333 if (nla_put_string(msg, NET_DM_ATTR_HW_TRAP_NAME, hw_entry->trap_name)) in net_dm_hw_entry_put()
459 if (!strncmp(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe()
469 strlcpy(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe()
734 nla_total_size(strlen(hw_metadata->trap_name) + 1) + in net_dm_hw_packet_report_size()
771 hw_metadata->trap_name)) in net_dm_hw_packet_report_fill()
825 const char *trap_name; in net_dm_hw_metadata_copy() local
836 trap_name = kstrdup(metadata->trap_name, GFP_ATOMIC); in net_dm_hw_metadata_copy()
837 if (!trap_name) in net_dm_hw_metadata_copy()
839 hw_metadata->trap_name = trap_name; in net_dm_hw_metadata_copy()
[all …]
Ddevlink.c9845 metadata->trap_name = trap_item->trap->name; in devlink_trap_report_metadata_set()
/Linux-v5.10/arch/microblaze/include/asm/
Dunwind.h16 const char *trap_name; member
/Linux-v5.10/arch/parisc/include/asm/
Dtraps.h17 const char *trap_name(unsigned long code);
/Linux-v5.10/arch/parisc/mm/
Dfault.c220 const char *trap_name(unsigned long code) in trap_name() function
250 pr_cont("\ntrap #%lu: %s%c", code, trap_name(code), in show_signal_msg()
/Linux-v5.10/arch/microblaze/kernel/
Dunwind.c236 printk("%s%s\n", loglvl, handler->trap_name); in microblaze_unwind_inner()
/Linux-v5.10/arch/parisc/kernel/
Dtraps.c453 msg, code, trap_name(code), offset); in parisc_terminate()
/Linux-v5.10/include/net/
Ddevlink.h670 const char *trap_name; member