diff options
author | 2021-09-15 21:52:11 +0800 | |
---|---|---|
committer | 2021-09-20 13:28:39 +0100 | |
commit | 5126b9d3d4acdebc12b9d436282f88d8a1b5146c (patch) | |
tree | f507c8c0fd3f86e0187b07d1220f7ec2c10918d9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: hns3: check vlan id before using it (diff) | |
download | linux-dev-5126b9d3d4acdebc12b9d436282f88d8a1b5146c.tar.xz linux-dev-5126b9d3d4acdebc12b9d436282f88d8a1b5146c.zip |
net: hns3: fix a return value error in hclge_get_reset_status()
hclge_get_reset_status() should return the tqp reset status.
However, if the CMDQ fails, the caller will take it as tqp reset
success status by mistake. Therefore, uses a parameters to get
the tqp reset status instead.
Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support")
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions