[openib-general] Re: [PATCH] [SRP] support for it_iu length negotiation
John Kingman
kingman at storagegear.com
Tue Nov 1 15:43:07 PST 2005
On Tue, 1 Nov 2005, Roland Dreier wrote:
>I'm missing something here. The SRP initiator registers itself with
>the SCSI midlayer after it has successfully connected to the target
>port, so I don't see why it can't pass exactly the right sg_tablesize
>value to the SCSI midlayer.
The current code sets the sg_tablesize prior to the call to
scsi_host_alloc() which is done at the time the target is added, not
at the time of the connection to the target.
If sg_tablesize can be modified/supplied with the scsi_add_host()
call, then the SRP initiator could pass it at connect time.
John
More information about the general
mailing list