WSL2-Linux-Kernel/drivers/scsi/bnx2i
Eddie Wai 9ae58e144d [SCSI] bnx2i: Optimized the iSCSI offload performance
Modified the event coalescing code for iSCSI offload to combat both
corner cases and optimize performance as follows:

1. Added mechanism to loop back a second time to process any leftover
CQEs that was generated by the hardware during the time the driver is
busy processing previous CQEs in the bh.  This not only helps the
performance but also fixes the corner case when no more CQEs are being
generated in the pipeline; so those leftover CQEs will get a a chance
to be processed.

2. Added ARM_CQE_FP to distinguish between fast path arming versus
slow path arming.  This change will guarantee that the CQEs will
always get a chance to be re-armed during fast path completions.

3. Removed the inline event coalescing division for perf optimization.
Also fixed a division-by-zero error when the event_coal_div module
param was set to 0.

4. Changed the default SQ WQEs size from 256 to 128 to match chip
default.

5. Changed the cmd_per_lun from 32 to 24.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
2011-05-24 12:41:10 -04:00
..
57xx_iscsi_constants.h [SCSI] bnx2i: Updated copyright and maintainer info 2010-12-21 12:24:15 -06:00
57xx_iscsi_hsi.h [SCSI] bnx2i: Updated copyright and maintainer info 2010-12-21 12:24:15 -06:00
Kconfig scsi: fix bnx2i build errors 2010-08-11 08:59:01 -07:00
Makefile [SCSI] bnx2i: Add bnx2i iSCSI driver. 2009-06-09 10:22:45 -05:00
bnx2i.h [SCSI] bnx2i: Optimized the iSCSI offload performance 2011-05-24 12:41:10 -04:00
bnx2i_hwi.c [SCSI] bnx2i: Optimized the iSCSI offload performance 2011-05-24 12:41:10 -04:00
bnx2i_init.c [SCSI] bnx2i: Updated the connection shutdown/cleanup timeout 2011-05-24 12:40:57 -04:00
bnx2i_iscsi.c [SCSI] bnx2i: Optimized the iSCSI offload performance 2011-05-24 12:41:10 -04:00
bnx2i_sysfs.c [SCSI] bnx2i: Updated copyright and maintainer info 2010-12-21 12:24:15 -06:00