Loading
net: hns3: fix index limit to support all queue stats
mainline inclusion from mainline-v6.9-rc2 commit 47e39d213e09c6cae0d6b4d95e454ea404013312 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9QYBA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=47e39d213e09c6cae0d6b4d95e454ea404013312 ------------------------------------------------------------------------ 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: 287db5c4 ("net: hns3: create new set of common tqp stats APIs for PF and VF reuse") Signed-off-by:Jie Wang <wangjie125@huawei.com> Signed-off-by:
Jijie Shao <shaojijie@huawei.com> Reviewed-by:
Michal Kubiak <michal.kubiak@intel.com> Reviewed-by:
Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Reviewed-by:
Simon Horman <horms@kernel.org> Signed-off-by:
Paolo Abeni <pabeni@redhat.com> Signed-off-by:
chenyi <chenyi211@huawei.com>