]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[SCSI] fcoe: Add sysfs parameter to fcoe for minimum DDP read I/O size
authorYi Zou <yi.zou@intel.com>
Tue, 25 Aug 2009 20:59:03 +0000 (13:59 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:27 +0000 (12:07 -0500)
commit05cc7390735c49357b9ae67bf97f1c1579547f5b
tree350ec608799ade3d3ad8000c45008bc948542aaa
parentb2f0091fbf8b475fa09b5e1712e0ab84cb3e1ca4
[SCSI] fcoe: Add sysfs parameter to fcoe for minimum DDP read I/O size

This adds fcoe_ddp_min as a module parameter for fcoe module to:
/sys/module/fcoe/parameters/ddp_min

It is observed that for some hardware, particularly Intel 82599, there is too
much overhead in setting up context for direct data placement (DDP) read when
the requested read I/O size is small. This is added as a module parameter for
performance tuning and is set as 0 by default and user can change this based
on their own hardware.

Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/fcoe.c