Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2761530lqp; Mon, 25 Mar 2024 08:31:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUh/TOo0GmR/s9F3mKXk451S6MBmHGhfGM9z8RnZ6CO7pFB8zy14ai61sFRf260nvyHsfGHG1kTxmmjsckjdY/Oe6MeuZBib6JOFlWMuQ== X-Google-Smtp-Source: AGHT+IGDR2mnSvxIRHtaWOZXEhqujIOw9RAxSQLPIka6SUDqurFPnH6RtVkaO4j7QIpdPmh9F5xC X-Received: by 2002:a05:620a:4145:b0:78a:5ed7:96d4 with SMTP id k5-20020a05620a414500b0078a5ed796d4mr621029qko.7.1711380695442; Mon, 25 Mar 2024 08:31:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711380695; cv=pass; d=google.com; s=arc-20160816; b=h8j2HKDB2vdE1qoqbqe4DFQSqg4Je2tWVHNRgKSMIbeWkyY29lNLvWcAUwrucPF/xp CumEgi3fHBgVweBdtwV58OEU5hGDE009MuKw8IUMKyUeXU9acTxhPurO5aqGmwplP7VN 2FFn0VcEiAUTR2LB+hhiLC+NtwpREm9ik73w14ds8+WgLStml2iO8HL3b2FkkLSRDVbQ ulPXX8hKslw8f7mDK41SgD8zDJmuw9LmjysqEVvAwPIspz+XgCssdEsEXAo9BAa3hSW0 1qYDeJT/XpaFQBTIV3U+tgKpaUUNn4XT2qtgM/FX4tXCJAMjxdbMYYS0MaaEKScLjmPC Sz4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to:subject:cc :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id; bh=PpQR5VkAMLQE5xlzhHvB33Z/UiDQN8E3Ja6S+UutyOg=; fh=rVDQDhPXTX4YuEZD/fVfuceyhM+DbgXpHRFMTmoWVCU=; b=f6E59g+Yr/tItaJN+dTPN7C8l3n485BxuAmMohGSrHev53iWu63S14sRuxRzM1sgFr IHC4Y+/ZnoRR08ilFx1cYKnZNLXlAMwulkThRql+YsBStPiLXQ3qConFLTpYhIGSV/Tb AOve5d7plX7IFlnPcQHIum9oQZzp7/ZgCNJf3izJZUt5WMAj2oB5SDlyE8/acwsC+ACY r+BAzgtAwH2A7PccmN6m/gP0UCnKpLiHnGBWNDpneZcyuuRUrLIiQWPfHdw5fNBJZPkc mxJm9sJ6nsWcljZInCq8SGbqcN+jUjWqZO5wsYSmCfTRBU/VQjZ6PDP1vq5HkBworyit gerw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-117066-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117066-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id vq18-20020a05620a559200b0078a22357ad8si5429070qkn.115.2024.03.25.08.31.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 08:31:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117066-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-117066-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117066-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2573C1C3CEAB for ; Mon, 25 Mar 2024 15:31:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3E45443AA9; Mon, 25 Mar 2024 12:56:02 +0000 (UTC) Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0053B38DFB; Mon, 25 Mar 2024 12:55:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.191 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711371361; cv=none; b=fm/Eaf2mIb+83nvpsMqp5Uwcc7JSajtKpKDKYoNkmKp68DXBkFlSsqLpC1FGGx26Xk/dDnTln4CsYPQ1LOTkIg7zDYuPrAiA96TkqPT50Ixn/wJj6kSpp4FVJ06w2WluQoIqYZHPIIWLHZFwdcghtnBm5ZMO2eBjTd6gM9w+V3w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711371361; c=relaxed/simple; bh=c4xZArgJXXwnnTGel36776VcScv+UvXSaPw/bNb3bmc=; h=Message-ID:Date:MIME-Version:CC:Subject:To:References:From: In-Reply-To:Content-Type; b=NMpJnrblZEqWIs59NPDC9rFJdZgNa7XPx81nuXYRp/8/fUDn89OTpViyHy5XX/q5hb6zqhykRP5AkgXM8XosLSousdJFDzDgI2yKnzPw3uemMET/xLNwpcV28awLIbu7WS1v7/XM+Xc/6qjs9dU/voZxFks6Ri6ylccVgTMCjtU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.191 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.44]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4V3Cb508ktz1GD2K; Mon, 25 Mar 2024 20:55:29 +0800 (CST) Received: from kwepemm600007.china.huawei.com (unknown [7.193.23.208]) by mail.maildlp.com (Postfix) with ESMTPS id C53121400D4; Mon, 25 Mar 2024 20:55:57 +0800 (CST) Received: from [10.67.120.192] (10.67.120.192) by kwepemm600007.china.huawei.com (7.193.23.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 25 Mar 2024 20:55:56 +0800 Message-ID: Date: Mon, 25 Mar 2024 20:55:56 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird CC: , , , , , , , , , , , , , Subject: Re: [PATCH V3 net 1/3] net: hns3: fix index limit to support all queue stats To: Kalesh Anakkur Purayil References: <20240318132948.3624333-1-shaojijie@huawei.com> <20240318132948.3624333-2-shaojijie@huawei.com> From: Jijie Shao In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm600007.china.huawei.com (7.193.23.208) on 2024/3/18 22:36, Kalesh Anakkur Purayil wrote: > On Mon, Mar 18, 2024 at 7:05 PM Jijie Shao wrote: >> From: Jie Wang >> >> Currently, hns hardware supports more than 512 queues and the index limit >> in hclge_comm_tqps_update_stats is wrong. So this patch removes it. >> >> Fixes: 287db5c40d15 ("net: hns3: create new set of common tqp stats APIs for PF and VF reuse") >> Signed-off-by: Jie Wang >> Signed-off-by: Jijie Shao > Only question I have is whether this is a fix or an enhancement. > Nevertheless changes look good to me. Actually, it's a fix. The capability of supporting more than 512 queues was not implemented by modifying this statistics. this bug prevents us from querying the statistics of more than 512 queues.