[openib-general] [PATCH] SDP: add missing MODULE_PARM_DESC

Tom Duffy tduffy at sun.com
Sat May 7 09:33:28 PDT 2005


On Fri, 2005-05-06 at 02:30 +0200, Bernhard Fischer wrote:
> in src/linux-kernel/infiniband/ulp/sdp/sdp_inet.c
> module_param seem to be missing MODULE_PARM_DESC

Signed-off-by: Tom Duffy <tduffy at sun.com>

Index: linux/drivers/infiniband/ulp/sdp/sdp_inet.c
===================================================================
--- linux/drivers/infiniband/ulp/sdp/sdp_inet.c	(revision 2278)
+++ linux/drivers/infiniband/ulp/sdp/sdp_inet.c	(working copy)
@@ -59,15 +59,34 @@ MODULE_DESCRIPTION("InfiniBand SDP modul
 MODULE_LICENSE("Dual BSD/GPL");
 
 module_param(proto_family, int, 0);
+MODULE_PARM_DESC(proto_family, "Override the default protocol family value of 27.");
+
 module_param(buff_min, int, 0);
+MODULE_PARM_DESC(buff_min, "Set the minimum number of buffers to allocate.");
+
 module_param(buff_max, int, 0);
+MODULE_PARM_DESC(buff_max, "Set the maximum number of buffers to allocate.");
+
 module_param(conn_size, int, 0);
+MODULE_PARM_DESC(conn_size, "Set the total number of active sockets.");
+
 module_param(recv_post_max, int, 0);
+MODULE_PARM_DESC(recv_post_max, "Set the receive completion queue size.");
+
 module_param(recv_buff_max, int, 0);
+MODULE_PARM_DESC(recv_buff_max, "Set the maximum number of receives buffered.");
+
 module_param(send_post_max, int, 0);
+MODULE_PARM_DESC(send_post_max, "Set the send completion queue size.");
+
 module_param(send_buff_max, int, 0);
+MODULE_PARM_DESC(send_buff_max, "Set the maximum number of sends buffered.");
+
 module_param(send_usig_max, int, 0);
+MODULE_PARM_DESC(send_usig_max, "Set the maximum consecutive unsignalled send events.");
+
 module_param(sdp_debug_level, int, 0);
+MODULE_PARM_DESC(sdp_debug_level, "Set the debug level 0-9.");
 
 /*
  * socket structure relevant fields:




More information about the general mailing list