aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_verbs.h
diff options
context:
space:
mode:
authorRalph Campbell <ralphc@pathscale.com>2007-04-27 11:08:40 -0700
committerRoland Dreier <rolandd@cisco.com>2007-04-30 17:30:28 -0700
commitc3af664adbe06803931dbc7a3c8588982d72fac1 (patch)
tree4da855d9b4c925b413d825f9fc2124d835ec2b73 /drivers/infiniband/hw/ipath/ipath_verbs.h
parentIB/ipath: Don't call spin_lock_irq() from interrupt context (diff)
downloadlinux-dev-c3af664adbe06803931dbc7a3c8588982d72fac1.tar.xz
linux-dev-c3af664adbe06803931dbc7a3c8588982d72fac1.zip
IB/ipath: Don't put QP in timeout queue if waiting to send
This fixes a problem which causes too many RC timeouts and retransmits. Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_verbs.h')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_verbs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_verbs.h b/drivers/infiniband/hw/ipath/ipath_verbs.h
index 7c4929f1cb5b..c62f9c5854f6 100644
--- a/drivers/infiniband/hw/ipath/ipath_verbs.h
+++ b/drivers/infiniband/hw/ipath/ipath_verbs.h
@@ -422,7 +422,7 @@ struct ipath_qp {
#define IPATH_S_RDMAR_PENDING 0x04
#define IPATH_S_ACK_PENDING 0x08
-#define IPATH_PSN_CREDIT 2048
+#define IPATH_PSN_CREDIT 512
/*
* Since struct ipath_swqe is not a fixed size, we can't simply index into