diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-12-31 10:58:29 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-01 12:13:44 -0800 |
commit | e888402789b9db5de4fcda361331d66dbf0cd9fd (patch) | |
tree | 813917dc96a133c2d2a7b5acdc3112c4616a2a89 /fs/nfs/symlink.c | |
parent | cb9f1b783850b14cbd7f87d061d784a666dfba1f (diff) |
net: hns3: call hns3_nic_net_open() while doing HNAE3_UP_CLIENT
For HNAE3_DOWN_CLIENT calling hns3_nic_net_stop(), HNAE3_UP_CLIENT
should call hns3_nic_net_open(), since if the number of queue or
the map of TC has is changed before HHAE3_UP_CLIENT is called,
it will cause problem.
Also the HNS3_NIC_STATE_RESETTING flag needs to be cleared before
hns3_nic_net_open() called, and set it back while hns3_nic_net_open()
failed.
Fixes: bb6b94a896d4 ("net: hns3: Add reset interface implementation in client")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/nfs/symlink.c')
0 files changed, 0 insertions, 0 deletions