]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfc: use offload EM instance again instead jumping to next EM
authorVasu Dev <vasu.dev@intel.com>
Sat, 13 Mar 2010 00:08:39 +0000 (16:08 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:23:41 +0000 (09:23 -0500)
commitdf7ec820f26f30c3c8389f0f5b9c9ce6987e3d67
treed5a80fbf99483362473956913f8a136dbb2c3c66
parent76018ad2d64fe2852a9d0ea3fa5795a4632586cc
[SCSI] libfc: use offload EM instance again instead jumping to next EM

Since use of offloads is more efficient than switching
to non-offload EM. However kept logic same to call em_match
if it is provided in the list of EMs.

Converted fc_exch_alloc to inline being now tiny a function
and already not an exported libfc API any more.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_exch.c