On 07/21/2015 02:17 AM, Sagi Grimberg wrote:
Also, what is the imm_length? hard-coded? or do you specify that in the
login request as well? if so, is the target allowed to lower that value
(i.e. is it negotiable)?
Hello Sagi,
As you probably know SRP initiator and target drivers negotiate the
MAXIMUM INITIATOR TO TARGET IU LENGTH (MITTIL) and MAXIMUM TARGET TO
INITIATOR IU LENGTH (MTTIIL) parameters during login. The choice we made
is that the initiator must only send immediate data if the size of the
resulting message does not exceed the MITTIL. Since an SRP target driver
is only allowed to send back a MITTIL value that is larger than or equal
to what an initiator requested, the maximum immediate data size is
controlled by the target driver.
Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html