usr/src/uts/common/io/ib/clients/rdsv3/ib_sysctl.c
changeset 12580 4daad5d7c55d
parent 12198 4db936bda957
child 12763 4b30642bc04e
--- a/usr/src/uts/common/io/ib/clients/rdsv3/ib_sysctl.c	Mon Jun 07 17:33:23 2010 -0400
+++ b/usr/src/uts/common/io/ib/clients/rdsv3/ib_sysctl.c	Mon Jun 07 16:40:07 2010 -0700
@@ -55,11 +55,12 @@
  *
  */
 #include <sys/ib/clients/rdsv3/ib.h>
+#include <sys/ib/clients/rdsv3/rdsv3_debug.h>
 
 unsigned long rdsv3_ib_sysctl_max_send_wr = RDSV3_IB_DEFAULT_SEND_WR;
 unsigned long rdsv3_ib_sysctl_max_recv_wr = RDSV3_IB_DEFAULT_RECV_WR;
 unsigned long rdsv3_ib_sysctl_max_recv_allocation =
-	(128 * 1024 * 1024) / RDSV3_FRAG_SIZE;
+	(512 * 1024 * 1024) / RDSV3_FRAG_SIZE;
 /* hardware will fail CQ creation long before this */
 
 unsigned long rdsv3_ib_sysctl_max_unsig_wrs = 16;
@@ -86,5 +87,18 @@
 int
 rdsv3_ib_sysctl_init(void)
 {
+	RDSV3_DPRINTF2("rdsv3_ib_sysctl_init",
+	    "rdsv3_ib_sysctl_max_send_wr = 0x%lx "
+	    "rdsv3_ib_sysctl_max_recv_wr = 0x%lx "
+	    "rdsv3_ib_sysctl_max_recv_allocation = 0x%lx "
+	    "rdsv3_ib_sysctl_max_unsig_wrs = 0x%lx "
+	    "rdsv3_ib_sysctl_max_unsig_bytes = 0x%lx "
+	    "rdsv3_ib_sysctl_flow_control = 0x%x",
+	    rdsv3_ib_sysctl_max_send_wr,
+	    rdsv3_ib_sysctl_max_recv_wr,
+	    rdsv3_ib_sysctl_max_recv_allocation,
+	    rdsv3_ib_sysctl_max_unsig_wrs,
+	    rdsv3_ib_sysctl_max_unsig_bytes,
+	    rdsv3_ib_sysctl_flow_control);
 	return (0);
 }