commit | 72fcd2bed719c6587dfea74e30bcdf6f9b64b18e | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Thu Jun 20 16:52:44 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 26 11:59:02 2019 -0400 |
tree | 4c4be92e7c99be12abfae5a32b03b310d7c17fe7 | |
parent | 7cf9c069430fce7142da7039cc453902df11259b [diff] |
net: hns3: fixes wrong place enabling ROCE HW error when loading The ROCE HW errors should only be enabled when initializing ROCE's client, the current code enable it no matter initializing NIC or ROCE client. So this patch fixes it. Fixes: 00ea6e5fda9d ("net: hns3: delay and separate enabling of NIC and ROCE HW errors") Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>