/linux-6.1.9/tools/testing/selftests/drivers/net/netdevsim/ |
D | devlink_trap.sh | 63 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-6.1.9/tools/testing/selftests/net/forwarding/ |
D | devlink_lib.sh | 274 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-6.1.9/tools/testing/selftests/drivers/net/mlxsw/ |
D | devlink_trap_l3_drops.sh | 157 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 …]
|
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_ipv6.sh | 165 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
|
D | devlink_trap_tunnel_vxlan.sh | 161 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
|
D | devlink_trap_tunnel_ipip.sh | 151 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
|
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 | 737 local trap_name=$1; shift 739 devlink_trap_rx_packets_get "$trap_name" 746 local trap_name=$1; shift 748 do_drop_test "$vlan" "$limit" "$trap_name" trap \ 749 "qevent_counter_fetch_trap $trap_name"
|
/linux-6.1.9/include/trace/events/ |
D | devlink.h | 187 __string(trap_name, metadata->trap_name) 198 __assign_str(trap_name, metadata->trap_name); 206 __get_str(trap_name), __get_str(trap_group_name),
|
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
D | devlink_trap_tunnel_ipip6.sh | 151 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-6.1.9/net/core/ |
D | drop_monitor.c | 65 char trap_name[NET_DM_MAX_HW_TRAP_NAME_LEN]; member 331 if (nla_put_string(msg, NET_DM_ATTR_HW_TRAP_NAME, hw_entry->trap_name)) in net_dm_hw_entry_put() 457 if (!strncmp(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe() 467 strscpy(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe() 748 nla_total_size(strlen(hw_metadata->trap_name) + 1) + in net_dm_hw_packet_report_size() 785 hw_metadata->trap_name)) in net_dm_hw_packet_report_fill() 839 const char *trap_name; in net_dm_hw_metadata_copy() local 850 trap_name = kstrdup(metadata->trap_name, GFP_ATOMIC); in net_dm_hw_metadata_copy() 851 if (!trap_name) in net_dm_hw_metadata_copy() 853 hw_metadata->trap_name = trap_name; in net_dm_hw_metadata_copy() [all …]
|
D | devlink.c | 12017 metadata->trap_name = trap_item->trap->name; in devlink_trap_report_metadata_set()
|
/linux-6.1.9/arch/microblaze/include/asm/ |
D | unwind.h | 16 const char *trap_name; member
|
/linux-6.1.9/arch/parisc/include/asm/ |
D | traps.h | 18 const char *trap_name(unsigned long code);
|
/linux-6.1.9/arch/parisc/mm/ |
D | fault.c | 222 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-6.1.9/arch/microblaze/kernel/ |
D | unwind.c | 217 printk("%s%s\n", loglvl, handler->trap_name); in microblaze_unwind_inner()
|
/linux-6.1.9/arch/parisc/kernel/ |
D | traps.c | 446 msg, code, trap_name(code), offset); in parisc_terminate()
|
/linux-6.1.9/include/net/ |
D | devlink.h | 716 const char *trap_name; member
|