Commit 9755714d authored by Jijie Shao's avatar Jijie Shao Committed by Greg Kroah-Hartman
Browse files

net: hns3: fix wrong tc bandwidth weight data issue



[ Upstream commit 116d9f73 ]

Currently, the weight saved by the driver is used as the query result,
which may be different from the actual weight in the register.
Therefore, the register value read from the firmware is used
as the query result

Fixes: 0e32038d ("net: hns3: refactor dump tc of debugfs")
Signed-off-by: default avatarJijie Shao <shaojijie@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 01460ac6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment