[SCSI] be2iscsi: Fix in the Asynchronous Code Path
authorJayamohan Kallickal <jayamohan.kallickal@emulex.com>
Wed, 4 Apr 2012 04:41:36 +0000 (23:41 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 25 Apr 2012 07:52:50 +0000 (08:52 +0100)
commitdc63aac62de5851ad11e8bc5fa1cf8a7f4e586fb
tree375e00095d8a389eaf2b10d96f173bc65f6878e7
parent0fc9fd4016ae03b0f5da5d7156644755c94783c4
[SCSI] be2iscsi: Fix in the Asynchronous Code Path

Set the ASYNC PDU Handle pBuffer for Data ring with the VA/PA
of the allocated memory for it.
To get the correct ASYNC PDY Handle iterate the list and compare
the PA set during initialization with the passed PHY Address.
The buffer_size and num_enteries are common for HDR and Data ring

Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/be2iscsi/be_main.h
This page took 0.024416 seconds and 5 git commands to generate.