[ofa-general] [PATCH 11/11]: mlx4_core use fixed CQ moderation paramters

Or Gerlitz ogerlitz at voltaire.com
Tue Sep 25 03:41:06 PDT 2007


Eli Cohen wrote:
> From: Michael S. Tsirkin <mst at mellanox.co.il>
> Subject: IB/ipoib: support for sending gather skbs
> 
> Enable interrupt coalescing for CQs in mlx4.
> 
> Signed-off-by: Michael S. Tsirkin <mst at dev.mellanox.co.il>
> 
> ---
> 
> 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");

I failed to find where these two module param are used anywhere along 
this patch set, please clarify.

Or.




More information about the general mailing list