[PATCH 6.17 018/146] net/mlx5e: Fix validation logic in rate limiting