]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fcoe: Unable to select the exchangeID from offload pool for storage targets
authorKiran Patil <kiran.patil@intel.com>
Mon, 20 Jun 2011 23:59:15 +0000 (16:59 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:48 +0000 (11:40 -0700)
commit68cde1e274f52661b06c0b994c5280e3f880bd74
tree1a1a30c46fac87651bf7e8a34e37a629e2e6d3cc
parentcb9d94e8dc5b81e565ef4ecbc9a7f12be05414f8
fcoe: Unable to select the exchangeID from offload pool for storage targets

commit 1ff9918b625457ce20d450d00f9ed0a12ba191b7 upstream.

Problem: When initiator sends write command to target, target tries to
assign new sequence. It allocates new exchangeID (RX_ID)
always from non-offloaded pool (Non-offload EMA)

Fix: Enhanced fcoe_oem_match routine to look at F_CTL flags and if it
is exchange responder and command type is WRITEDATA, then function
returns TRUE instead of FALSE. This function is used to determine
which pool to use (offload pool of exchange is used only if this
function returns TRUE).

Technical Notes: N/A

Signed-off-by: Kiran Patil <kiran.patil@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/fcoe/fcoe.c