net: hns3: fix wrong rpu tln reg issue
mainline inclusion from mainline-v6.6-rc1 commit 36122201 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7YRUW CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=36122201eeaefd78547def9681aa5d83b5a00b6a ---------------------------------------------------------------------- In the original RPU query command, the status register values of multiple RPU tunnels are accumulated by default, which is unreasonable. This patch Fix it by querying the specified tunnel ID. The tunnel number of the device can be obtained from firmware during initialization. Fixes: ddb54554 ("net: hns3: add DFX registers information for ethtool -d") Signed-off-by:Jijie Shao <shaojijie@huawei.com> Reviewed-by:
Leon Romanovsky <leonro@nvidia.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Jiantao Xiao <xiaojiantao1@h-partners.com>
Loading
Please sign in to comment