ULPs are *already* using the same registrations for both local and
remote access.
Where? Out of tree?
I haven't found anything in-tree for sure.
We have that in iSER.
iSCSI allows a FirstBurst functionality and iSER as an iSCSI
transport is required to support that.
The FirstBurst is divided into ImmediateData which comes with
the SCSI cdb and followed by UnsolicitedDataOut commands. This
depends in the target support negotiation in the iSCSI login.
So basically say we have a 128k write,
the first IMMEDIATEDATA_SIZE (in LIO 8k) will come in the first
send with the SCSI cdb, and the next UNSOLICITED_DATA_OUT_SIZE (in
LIO 56k completing to 64K first burst) will follow by several
uncolicited dataout commands and the remaining 128k will be rdma_read
by the target.
So this is why iSER registers the entire SG list and then just work with
virtual offsets in the memory region.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html