]> 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, 7 Nov 2011 21:46:58 +0000 (13:46 -0800)
commitbb116e4754275c768158e5ab799f9b8c25ca02a0
tree31aac6b9aa5ec550d84daffc62366df6120f7fcf
parentcaf2eff3d88d2b77a58b36bd88de90e8105a5f7f
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