From: Kiran Patil Date: Sat, 29 Jan 2011 00:04:39 +0000 (-0800) Subject: [SCSI] libfc: Enhanced exchange ID selection mechanism and fix related EMA selection... X-Git-Tag: v2.6.39-rc1~440^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c8cc1c003cee1c4290f5d8c684912d60354056a;p=pandora-kernel.git [SCSI] libfc: Enhanced exchange ID selection mechanism and fix related EMA selection logic. Problem: In case of exchange responder case, EMA selection was defaulted to the last EMA from EMA list (lport.ema_list). If exchange ID is selected from offload pool and not setup DDP, resulting into incorrect selection of EMA, and eventually dropping the packet because unable to find exchange. Fix: Enhanced the exchange ID selection (depending upon request type and exchange responder) Made necessary enhancement in EMA selection algorithm. Signed-off-by: Kiran Patil Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed