1
linux/drivers/scsi/fcoe
Vasu Dev d272281c39 [SCSI] fcoe: cleanup cpu selection for incoming requests
Cleanup to:

- have selection for all types of frames, not just FCP.
- remove redundant cpu_online check once fcoe_select_cpu called
  as this is not required since later code flow check for offlined
  cpu.
- Simplify fcoe_select_cpu() by removing unnecessary checks to
  skip curr_cpu, this also fixes possibly infinite loop in case
  of curr_cpu is the only cpu while iterating in the loop.

This cleanup mainly applies to target as incoming request are
mostly for target, therefore Kiran has verified the patch
with target also.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Tested-by: Kiran Patil <kiran.patil@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2011-07-28 12:14:29 +04:00
..
fcoe_ctlr.c [SCSI] libfcoe: Incorrect CVL handling for NPIV ports 2011-05-24 12:36:17 -04:00
fcoe_transport.c [SCSI] libfcoe: Remove unnecessary module state checks 2011-05-24 12:37:35 -04:00
fcoe.c [SCSI] fcoe: cleanup cpu selection for incoming requests 2011-07-28 12:14:29 +04:00
fcoe.h [SCSI] fcoe: Prevent creation of an NPIV port with duplicate WWPN 2011-05-24 12:36:29 -04:00
libfcoe.h [SCSI] libfcoe: add implementation to support fcoe transport 2011-02-12 11:06:06 -06:00
Makefile [SCSI] libfcoe: include fcoe_transport.c into kernel libfcoe module 2011-02-12 11:06:52 -06:00