Lines Matching refs:trap_name

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
318 devlink -js trap show $DEVLINK_DEV trap $trap_name \
324 local trap_name=$1; shift
326 devlink -js trap show $DEVLINK_DEV trap $trap_name \
332 local trap_name=$1; shift
334 devlink -js trap show $DEVLINK_DEV trap $trap_name \
340 local trap_name=$1; shift
344 t0_packets=$(devlink_trap_rx_packets_get $trap_name)
345 t0_bytes=$(devlink_trap_rx_bytes_get $trap_name)
349 t1_packets=$(devlink_trap_rx_packets_get $trap_name)
350 t1_bytes=$(devlink_trap_rx_bytes_get $trap_name)
361 local trap_name=$1; shift
364 t0_packets=$(devlink_trap_drop_packets_get $trap_name)
368 t1_packets=$(devlink_trap_drop_packets_get $trap_name)
379 local trap_name
381 for trap_name in $(devlink_traps_get); do
382 devlink_trap_action_set $trap_name "trap"
388 for trap_name in $(devlink_traps_get); do
389 devlink_trap_action_set $trap_name "drop"
447 local trap_name=$1; shift
450 group_name=$(devlink_trap_group_get $trap_name)
452 devlink_trap_stats_idle_test $trap_name
461 local trap_name=$1; shift
466 group_name=$(devlink_trap_group_get $trap_name)
472 devlink_trap_stats_idle_test $trap_name
477 devlink_trap_action_set $trap_name "trap"
478 devlink_trap_stats_idle_test $trap_name
483 devlink_trap_action_set $trap_name "drop"
485 devlink_trap_stats_idle_test $trap_name
508 local trap_name=$1; shift
513 t0_packets=$(devlink_trap_rx_packets_get $trap_name)
517 t1_packets=$(devlink_trap_rx_packets_get $trap_name)