[ofw] confused about win srp driver's send_msg_depth
chas williams - CONTRACTOR
chas at cmf.nrl.navy.mil
Fri Jul 11 10:11:53 PDT 2008
in srp_session.c, i see:
status = srp_connect( &p_srp_session->connection,
&p_srp_session->hca,
(uint8_t)p_srp_session->p_hba->ioc_info.profile.send_msg_depth,
p_srp_session );
this seems wrong since i know send_msg_depth is in network order.
however, if i correct this, then srp fails to login to the storage
targets. it appears this value is being stuck in cm_req.init_depth
in __srp_issue_session_login(). isnt init_depth related to the rdma
resources between the initiator and target, not the number of requests
between the two.
the code currently seems to work because the initial case of the network
order word truncates to 0 in almost all cases.
More information about the ofw
mailing list