]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Add reset process for function-clear
authorLang Cheng <chenglang@huawei.com>
Wed, 21 Aug 2019 13:14:33 +0000 (21:14 +0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 28 Aug 2019 15:57:26 +0000 (11:57 -0400)
commit85dd62fc87d223f932eeac2a7ee3acc2308007d2
tree591799255fd4e84048f6bada5fa7ce24934703c4
parenta1309e57cfb1430157ff844dacf84a983ad1ae89
RDMA/hns: Add reset process for function-clear

If the hardware is resetting, the driver should not perform
the mailbox operation.Function-clear needs to add relevant judgment.

Signed-off-by: Lang Cheng <chenglang@huawei.com>
Link: https://lore.kernel.org/r/1566393276-42555-7-git-send-email-oulijun@huawei.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h