[PATCH 4.17 29/66] net/mlx5e: Refine ets validation function