[openib-general] [query]maximum no. of connections per session in iser initiator

Erez Zilber erezz at voltaire.com
Thu Jan 11 17:20:30 PST 2007


> the max_conn(maximum no. of connections allowed per session ?)  field in iscsi_transport structure is not initialised at all while registering with the iSCSI layer in the iSER initiator code.
> Is that variable is initialised to any default value? (like iSCSI/TCP has max_conn in iscsi_transport initialised to 1)
>
> what are the maximum no. of connections allowed per session in iSER initiator?
> 
 
Let me check that. I'm currently out of the office. This will take some time.

> regards,
> Mahesh
> 
> keshetti mahesh <k_mahesh85 at yahoo.co.in> wrote:
>>  I guess that you're talking about this piece of code:
>> #define ISCSI_ISER_MAX_CONN 8
>> #define ISER_MAX_CQ_LEN ((ISER_QP_MAX_RECV_DTOS + \
>> ISER_QP_MAX_REQ_DTOS) * \
>> ISCSI_ISER_MAX_CONN)
>> It is related to the cq used by iSER. We use it in order to define the
>> max len of the cq (the same cq is used for the sq & rq). It means that
>> per HCA, 8 connections may be opened.
>
> Yes, I was talking about this part only. 
> Isn't this variable is equivalent to the maximum no. of connections allowed per the session?
 
No. It is exactly what I said: we need to define the cq len. In order to do that, we need to define the max number of connections on a single HCA. I never mentioned the session.

> what is constraint for chosing this value as 8? 
 
It is on our ToDo list. We need to define it better.

>
>>Where do you see that in iscsi_tcp?
>
> In the structure iscsi_transport there is a variable max_conn and it is set to 1
> (In open-iscsi intiator  file name iscsi_tcp.c) whether this limit is imposed by iSCSI or by transport layer(TCP
> or iSER) ?

Please send this question to the open-iscsi list.




More information about the general mailing list