Searched refs:trap_name (Results 1 – 18 of 18) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/ |
D | devlink_trap.sh | 61 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 …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
D | devlink_trap_l3_drops.sh | 156 trap_name=$1; shift 158 devlink_trap_action_set $trap_name "trap" 161 devlink_trap_action_set $trap_name "drop" 166 local trap_name="non_ip" 171 ping_check $trap_name 181 devlink_trap_drop_test $trap_name $rp2 101 194 local trap_name="uc_dip_over_mc_dmac" 200 ping_check $trap_name 210 devlink_trap_drop_test $trap_name $rp2 101 230 local trap_name="sip_is_loopback_address" [all …]
|
D | devlink_trap_l2_drops.sh | 97 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 …]
|
D | devlink_trap_l3_exceptions.sh | 163 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 …]
|
D | devlink_trap_tunnel_vxlan.sh | 161 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
|
D | devlink_trap_tunnel_ipip.sh | 142 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
|
D | devlink_trap.sh | 88 local trap_name="source_mac_is_multicast" 105 devlink_trap_action_set $trap_name "trap"
|
D | sch_red_core.sh | 644 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"
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
D | devlink_lib.sh | 265 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 …]
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | devlink.h | 187 __string(trap_name, metadata->trap_name) 198 __assign_str(trap_name, metadata->trap_name); 207 __get_str(trap_name), __get_str(trap_group_name),
|
/kernel/linux/linux-5.10/net/core/ |
D | drop_monitor.c | 66 char trap_name[NET_DM_MAX_HW_TRAP_NAME_LEN]; member 337 if (nla_put_string(msg, NET_DM_ATTR_HW_TRAP_NAME, hw_entry->trap_name)) in net_dm_hw_entry_put() 463 if (!strncmp(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe() 473 strlcpy(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe() 738 nla_total_size(strlen(hw_metadata->trap_name) + 1) + in net_dm_hw_packet_report_size() 775 hw_metadata->trap_name)) in net_dm_hw_packet_report_fill() 829 const char *trap_name; in net_dm_hw_metadata_copy() local 840 trap_name = kstrdup(metadata->trap_name, GFP_ATOMIC); in net_dm_hw_metadata_copy() 841 if (!trap_name) in net_dm_hw_metadata_copy() 843 hw_metadata->trap_name = trap_name; in net_dm_hw_metadata_copy() [all …]
|
D | devlink.c | 9851 metadata->trap_name = trap_item->trap->name; in devlink_trap_report_metadata_set()
|
/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
D | unwind.h | 16 const char *trap_name; member
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
D | traps.h | 17 const char *trap_name(unsigned long code);
|
/kernel/linux/linux-5.10/arch/parisc/mm/ |
D | fault.c | 220 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()
|
/kernel/linux/linux-5.10/arch/microblaze/kernel/ |
D | unwind.c | 236 printk("%s%s\n", loglvl, handler->trap_name); in microblaze_unwind_inner()
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | traps.c | 453 msg, code, trap_name(code), offset); in parisc_terminate()
|
/kernel/linux/linux-5.10/include/net/ |
D | devlink.h | 670 const char *trap_name; member
|