net/mlx5e: Refine ets validation function