summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb4/cm.c
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2014-03-19 13:14:44 +0100
committerRoland Dreier <roland@purestorage.com>2014-03-20 18:01:30 +0100
commitdf2d5130ece9118591c2f3fbf0ee4a79183b4ccc (patch)
tree3f8dacb35ee538096f2696cfc1eb2f4b51008dac /drivers/infiniband/hw/cxgb4/cm.c
parentRDMA/cxgb4: Mind the sq_sig_all/sq_sig_type QP attributes (diff)
downloadlinux-df2d5130ece9118591c2f3fbf0ee4a79183b4ccc.tar.xz
linux-df2d5130ece9118591c2f3fbf0ee4a79183b4ccc.zip
RDMA/cxgb4: Default peer2peer mode to 1
Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/cm.c')
-rw-r--r--drivers/infiniband/hw/cxgb4/cm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 2b2af962cc64..e1fc5c5445c9 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -98,9 +98,9 @@ int c4iw_debug;
module_param(c4iw_debug, int, 0644);
MODULE_PARM_DESC(c4iw_debug, "Enable debug logging (default=0)");
-static int peer2peer;
+static int peer2peer = 1;
module_param(peer2peer, int, 0644);
-MODULE_PARM_DESC(peer2peer, "Support peer2peer ULPs (default=0)");
+MODULE_PARM_DESC(peer2peer, "Support peer2peer ULPs (default=1)");
static int p2p_type = FW_RI_INIT_P2PTYPE_READ_REQ;
module_param(p2p_type, int, 0644);