/linux-6.6.21/tools/testing/selftests/drivers/net/netdevsim/ |
D | devlink_trap.sh | 74 local trap_name 79 for trap_name in $(devlink_traps_get); do 81 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then 82 devlink_trap_action_set $trap_name "trap" 83 action=$(devlink_trap_action_get $trap_name) 85 check_err 1 "Trap $trap_name did not change action to trap" 88 devlink_trap_action_set $trap_name "drop" 89 action=$(devlink_trap_action_get $trap_name) 91 check_err 1 "Trap $trap_name did not change action to drop" 94 orig_action=$(devlink_trap_action_get $trap_name) [all …]
|
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/ |
D | devlink_trap_l2_drops.sh | 98 local trap_name="source_mac_is_multicast" 110 devlink_trap_drop_test $trap_name $swp2 101 119 local trap_name="vlan_tag_mismatch" 134 devlink_trap_drop_test $trap_name $swp2 101 138 devlink_trap_action_set $trap_name "trap" 140 devlink_trap_stats_idle_test $trap_name 142 devlink_trap_group_stats_idle_test $(devlink_trap_group_get $trap_name) 148 devlink_trap_action_set $trap_name "drop" 179 local trap_name="ingress_vlan_filter" 194 devlink_trap_drop_test $trap_name $swp2 101 [all …]
|
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_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 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_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_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_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
|
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 | 736 local trap_name=$1; shift 738 devlink_trap_rx_packets_get "$trap_name" 745 local trap_name=$1; shift 747 do_drop_test "$vlan" "$limit" "$trap_name" trap \ 748 "qevent_counter_fetch_trap $trap_name"
|
/linux-6.6.21/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.6.21/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.6.21/net/core/ |
D | drop_monitor.c | 67 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 strscpy(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe() 763 nla_total_size(strlen(hw_metadata->trap_name) + 1) + in net_dm_hw_packet_report_size() 800 hw_metadata->trap_name)) in net_dm_hw_packet_report_fill() 854 const char *trap_name; in net_dm_hw_metadata_copy() local 865 trap_name = kstrdup(metadata->trap_name, GFP_ATOMIC); in net_dm_hw_metadata_copy() 866 if (!trap_name) in net_dm_hw_metadata_copy() 868 hw_metadata->trap_name = trap_name; in net_dm_hw_metadata_copy() [all …]
|
/linux-6.6.21/arch/microblaze/include/asm/ |
D | unwind.h | 16 const char *trap_name; member
|
/linux-6.6.21/arch/parisc/include/asm/ |
D | traps.h | 18 const char *trap_name(unsigned long code);
|
/linux-6.6.21/arch/parisc/mm/ |
D | fault.c | 227 const char *trap_name(unsigned long code) in trap_name() function 257 pr_cont("\ntrap #%lu: %s%c", code, trap_name(code), in show_signal_msg()
|
/linux-6.6.21/tools/net/ynl/generated/ |
D | devlink-user.h | 1312 char *trap_name; member 1343 const char *trap_name) in devlink_trap_get_req_set_trap_name() argument 1345 free(req->trap_name); in devlink_trap_get_req_set_trap_name() 1346 req->_present.trap_name_len = strlen(trap_name); in devlink_trap_get_req_set_trap_name() 1347 req->trap_name = malloc(req->_present.trap_name_len + 1); in devlink_trap_get_req_set_trap_name() 1348 memcpy(req->trap_name, trap_name, req->_present.trap_name_len); in devlink_trap_get_req_set_trap_name() 1349 req->trap_name[req->_present.trap_name_len] = 0; in devlink_trap_get_req_set_trap_name() 1361 char *trap_name; member
|
D | devlink-user.c | 2102 free(req->trap_name); in devlink_trap_get_req_free() 2110 free(rsp->trap_name); in devlink_trap_get_rsp_free() 2155 dst->trap_name = malloc(len + 1); in devlink_trap_get_rsp_parse() 2156 memcpy(dst->trap_name, mnl_attr_get_str(attr), len); in devlink_trap_get_rsp_parse() 2157 dst->trap_name[len] = 0; in devlink_trap_get_rsp_parse() 2181 mnl_attr_put_strz(nlh, DEVLINK_ATTR_TRAP_NAME, req->trap_name); in devlink_trap_get() 2210 free(rsp->obj.trap_name); in devlink_trap_get_list_free()
|
/linux-6.6.21/arch/microblaze/kernel/ |
D | unwind.c | 217 printk("%s%s\n", loglvl, handler->trap_name); in microblaze_unwind_inner()
|
/linux-6.6.21/arch/parisc/kernel/ |
D | traps.c | 453 msg, code, trap_name(code), offset); in parisc_terminate()
|
/linux-6.6.21/include/net/ |
D | devlink.h | 754 const char *trap_name; member
|
/linux-6.6.21/net/devlink/ |
D | trap.c | 1473 metadata->trap_name = trap_item->trap->name; in devlink_trap_report_metadata_set()
|