2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/drivers/infiniband/hw
Wei Hu (Xavier) d838c481e0 IB/hns: Fix the bug when destroy qp
If send queue is still working when qp is in reset state by modify qp
in destroy qp function, hardware will hold on and don't work in hip06
SoC. In current codes, RoCE driver check hardware pointer of sending and
hardware pointer of processing to ensure that hardware has processed all
the dbs of this qp. But while the environment of wire becomes not good,
The checking time maybe too long.

In order to solve this problem, RoCE driver created a workqueue at probe
function. If there is a timeout when checking the status of qp, driver
initialize work entry and push it into the workqueue, Work function will
finish checking and release the related resources later.

Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Dongdong Huang(Donald) <hdd.huang@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-12-03 14:20:42 -05:00
..
cxgb3 IB/cxgb3: Move user vendor structures 2016-10-07 16:54:35 -04:00
cxgb4 Merge of primary rdma-core code for 4.9 2016-10-09 17:04:33 -07:00
hfi1 Merge of primary rdma-core code for 4.9 2016-10-09 17:04:33 -07:00
hns IB/hns: Fix the bug when destroy qp 2016-12-03 14:20:42 -05:00
i40iw Merge of primary rdma-core code for 4.9 2016-10-09 17:04:33 -07:00
mlx4 Merge of primary rdma-core code for 4.9 2016-10-09 17:04:33 -07:00
mlx5 net/mlx5: Add multi dest support 2016-10-30 15:43:17 +02:00
mthca mm: replace get_user_pages() write/force parameters with gup_flags 2016-10-19 08:11:43 -07:00
nes IB/nes: Move user vendor structures 2016-10-07 16:54:37 -04:00
ocrdma Merge of primary rdma-core code for 4.9 2016-10-09 17:04:33 -07:00
qedr qedr: Add events support and register IB device 2016-10-14 15:00:10 -04:00
qib mm: replace get_user_pages() write/force parameters with gup_flags 2016-10-19 08:11:43 -07:00
usnic mm: replace get_user_pages() write/force parameters with gup_flags 2016-10-19 08:11:43 -07:00
Makefile qedr: Add RoCE driver framework 2016-10-14 15:00:10 -04:00