linux_dsm_epyc7002/drivers/infiniband/hw
Mike Marciniszyn a82a7fcd1f IB/hfi1: Process qp wait list in IRQ thread periodically
In the event that the IRQ thread is extremely busy, the
processing of an rcd wait list can be delayed by quite
a bit until the IRQ thread completes its work.

The QP reset reference count wait can then appear to be stuck, thus
causing up a QP destroy to emit the hung task diagnostic.

Fix by processing the qp wait list periodically from the thread.  The
interval is a multiple (currently 4) of the MAX_PKT_RECV.

Also, reduce some of the excessive inlining.   The guidelines
are per packet is ok inline, otherwise the choice is based on
likelyhood of execution.

Reviewed-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-02-19 09:18:32 -05:00
..
bnxt_re RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00
cxgb3 RDMA/core: Add the function ib_mtu_int_to_enum 2017-01-24 15:34:22 -05:00
cxgb4 iw_cxgb4: clean up send_connect() 2017-02-19 09:18:30 -05:00
hfi1 IB/hfi1: Process qp wait list in IRQ thread periodically 2017-02-19 09:18:32 -05:00
hns Merge branch 'mlx' into merge-test 2016-12-14 14:44:25 -05:00
i40iw Merge branch 'k.o/for-4.10-rc' into HEAD 2017-02-19 09:18:21 -05:00
mlx4 RDMA: Adding ethertype ETH_P_IBOE 2017-01-10 14:05:11 -05:00
mlx5 Updates for 4.10 kernel merge window 2016-12-15 12:03:32 -08:00
mthca Merge branch 'mlx' into merge-test 2016-12-14 14:44:25 -05:00
nes Merge branch 'k.o/for-4.10-rc' into HEAD 2017-02-19 09:18:21 -05:00
ocrdma RDMA/ocrdma: Replace BUG() with BUG_ON() 2017-01-12 12:21:52 -05:00
qedr Merge branch 'k.o/for-4.10-rc' into HEAD 2017-02-19 09:18:21 -05:00
qib IB/qib: Remove empty function 2017-01-24 16:20:37 -05:00
usnic RDMA: Adding ethertype ETH_P_IBOE 2017-01-10 14:05:11 -05:00
vmw_pvrdma Merge branch 'k.o/for-4.10-rc' into HEAD 2017-02-19 09:18:21 -05:00
Makefile RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00