linux_old1/drivers/infiniband/ulp
Mike Marciniszyn 1ee9e2aa7b IPoIB: Fix send lockup due to missed TX completion
Commit f0dc117abd ("IPoIB: Fix TX queue lockup with mixed UD/CM
traffic") attempts to solve an issue where unprocessed UD send
completions can deadlock the netdev.

The patch doesn't fully resolve the issue because if more than half
the tx_outstanding's were UD and all of the destinations are RC
reachable, arming the CQ doesn't solve the issue.

This patch uses the IB_CQ_REPORT_MISSED_EVENTS on the
ib_req_notify_cq().  If the rc is above 0, the UD send cq completion
callback is called directly to re-arm the send completion timer.

This issue is seen in very large parallel filesystem deployments
and the patch has been shown to correct the issue.

Cc: <stable@vger.kernel.org>
Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2013-03-22 18:01:04 -07:00
..
ipoib IPoIB: Fix send lockup due to missed TX completion 2013-03-22 18:01:04 -07:00
iser IB/iser: Enable iser when FMRs are not supported 2013-02-22 00:22:30 -08:00
srp IB/srp: Fail I/O requests if the transport is offline 2013-02-25 09:31:14 -08:00
srpt ib_srpt: Convert TMR path to target_submit_tmr 2012-11-28 11:20:28 -08:00