From: Michael S. Tsirkin <[EMAIL PROTECTED]> Subject: IB/ipoib: support for sending gather skbs
Enable interrupt coalescing for CQs in mlx4. Signed-off-by: Michael S. Tsirkin <[EMAIL PROTECTED]> --- Index: ofa_1_3_dev_kernel/drivers/net/mlx4/cq.c =================================================================== --- ofa_1_3_dev_kernel.orig/drivers/net/mlx4/cq.c 2007-09-24 13:08:55.000000000 +0200 +++ ofa_1_3_dev_kernel/drivers/net/mlx4/cq.c 2007-09-24 13:12:42.000000000 +0200 @@ -43,6 +43,14 @@ #include "mlx4.h" #include "icm.h" +static int cq_max_count = 16; +static int cq_period = 10; + +module_param(cq_max_count, int, 0444); +MODULE_PARM_DESC(cq_max_count, "number of CQEs to generate event"); +module_param(cq_period, int, 0444); +MODULE_PARM_DESC(cq_period, "time in usec for CQ event generation"); + #define MLX4_CQ_STATUS_OK ( 0 << 28) #define MLX4_CQ_STATUS_OVERFLOW ( 9 << 28) #define MLX4_CQ_STATUS_WRITE_FAIL (10 << 28) _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
