Re: [PATCH V3 net 1/3] net: hns3: fix index limit to support all queue stats
From: Jijie Shao
Date: Mon Mar 25 2024 - 13:56:33 EST
on 2024/3/18 22:36, Kalesh Anakkur Purayil wrote:
On Mon, Mar 18, 2024 at 7:05 PM Jijie Shao <shaojijie@xxxxxxxxxx> wrote:
From: Jie Wang <wangjie125@xxxxxxxxxx>
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 <wangjie125@xxxxxxxxxx>
Signed-off-by: Jijie Shao <shaojijie@xxxxxxxxxx>
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.