Lines Matching full:drop
80 # The action of non-drop traps cannot be changed.
81 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then
88 devlink_trap_action_set $trap_name "drop"
90 if [ $action != "drop" ]; then
91 check_err 1 "Trap $trap_name did not change action to drop"
102 devlink_trap_action_set $trap_name "drop"
136 devlink_trap_action_set "made_up_trap" "drop"
172 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then
177 devlink_trap_action_set $trap_name "drop"
179 check_err $? "Stats of trap $trap_name not idle when action is drop"
189 check_fail $? "Drop stats of trap $trap_name idle when should not"
192 check_fail $? "Stats of non-drop trap $trap_name idle when should not"
220 if [ $trap_type != "drop" ]; then
230 devlink_trap_group_action_set $group_name "drop"
239 if [ $trap_type != "drop" ]; then
244 if [ $action != "drop" ]; then
245 check_err 1 "Trap $trap_name did not change action to drop"
257 devlink_trap_group_action_set "made_up_trap_group" "drop"
280 devlink_trap_group_action_set $group_name "drop"
335 check_err 1 "Policer drop counter was not incremented"
340 check_fail $? "Managed to read policer drop counter when should not"
343 check_err $? "Did not manage to read policer drop counter when should"
397 devlink trap group set $DEVLINK_DEV group l2_drops action drop \