Lines Matching full:drop
69 # The action of non-drop traps cannot be changed.
70 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then
77 devlink_trap_action_set $trap_name "drop"
79 if [ $action != "drop" ]; then
80 check_err 1 "Trap $trap_name did not change action to drop"
91 devlink_trap_action_set $trap_name "drop"
125 devlink_trap_action_set "made_up_trap" "drop"
160 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then
165 devlink_trap_action_set $trap_name "drop"
167 check_err $? "Stats of trap $trap_name not idle when action is drop"
177 check_fail $? "Drop stats of trap $trap_name idle when should not"
180 check_fail $? "Stats of non-drop trap $trap_name idle when should not"
208 if [ $trap_type != "drop" ]; then
218 devlink_trap_group_action_set $group_name "drop"
227 if [ $trap_type != "drop" ]; then
232 if [ $action != "drop" ]; then
233 check_err 1 "Trap $trap_name did not change action to drop"
245 devlink_trap_group_action_set "made_up_trap_group" "drop"
267 devlink_trap_group_action_set $group_name "drop"
322 check_err 1 "Policer drop counter was not incremented"
327 check_fail $? "Managed to read policer drop counter when should not"
330 check_err $? "Did not manage to read policer drop counter when should"
384 devlink trap group set $DEVLINK_DEV group l2_drops action drop \