diff options
author | Mike Marciniszyn | 2013-02-26 15:46:27 +0000 |
---|---|---|
committer | Roland Dreier | 2013-03-22 18:01:04 -0700 |
commit | 1ee9e2aa7b31427303466776f455d43e5e3c9275 (patch) | |
tree | 01026c06a9b3adc0d0b8f9f4349a24f9041ce8c9 /drivers/gpio | |
parent | a937536b868b8369b98967929045f1df54234323 (diff) |
IPoIB: Fix send lockup due to missed TX completion
Commit f0dc117abdfa ("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>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions