net/mlx5: Fix 'DON'T_TRAP' functionality