summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2i/bnx2i_init.c
diff options
context:
space:
mode:
authorAnil Veerabhadrappa <anilgv@broadcom.com>2009-12-07 11:40:18 -0800
committerJames Bottomley <James.Bottomley@suse.de>2009-12-10 09:45:57 -0600
commit8776193bc308553ac0011b3bb2dd1837e0c6ab28 (patch)
tree4334f5402592860b0c426d765a5647a20648d24d /drivers/scsi/bnx2i/bnx2i_init.c
parentf8c9abe797c54e798b4025b54d71e5d2054c929a (diff)
downloadlinux-8776193bc308553ac0011b3bb2dd1837e0c6ab28.tar.gz
linux-8776193bc308553ac0011b3bb2dd1837e0c6ab28.tar.bz2
linux-8776193bc308553ac0011b3bb2dd1837e0c6ab28.zip
[SCSI] bnx2i: update CQ arming algorith for 5771x chipsets
Only affects 5771x (10G chipsets) devices This is an optimized CQ arming algoritm which takes into account the number of outstanding tasks Signed-off-by: Anil Veerabhadrappa <anilgv@broadcom.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bnx2i/bnx2i_init.c')
-rw-r--r--drivers/scsi/bnx2i/bnx2i_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/bnx2i/bnx2i_init.c b/drivers/scsi/bnx2i/bnx2i_init.c
index 0307f85b4e2e..465241dfce63 100644
--- a/drivers/scsi/bnx2i/bnx2i_init.c
+++ b/drivers/scsi/bnx2i/bnx2i_init.c
@@ -32,6 +32,10 @@ MODULE_VERSION(DRV_MODULE_VERSION);
static DEFINE_MUTEX(bnx2i_dev_lock);
+unsigned int event_coal_min = 24;
+module_param(event_coal_min, int, 0664);
+MODULE_PARM_DESC(event_coal_min, "Event Coalescing Minimum Commands");
+
unsigned int event_coal_div = 1;
module_param(event_coal_div, int, 0664);
MODULE_PARM_DESC(event_coal_div, "Event Coalescing Divide Factor");