[Stgt-devel] [PATCH 7/7] iser core

Pete Wyckoff pw
Tue Jul 31 20:19:21 CEST 2007


agr at powerkom-dd.de wrote on Tue, 31 Jul 2007 17:59 +0200:
> Am Montag, den 30.07.2007, 15:01 -0400 schrieb Pete Wyckoff:
> 
> > +/* global connection list variables */
> > +struct rdma_conn_list {
> > +	struct conn_info conn[MAX_CONN];
> > +	/*variables that all connections will share*/
> > +	struct ibv_context	*ibv_hndl;
> > +	struct rdma_event_channel *rdma_evt_channel;
> > +	struct rdma_cm_id	*cma_listen_id;
> > +	struct ibv_pd		*prot_id;
> > +	struct ibv_cq		*cq_hndl;
> > +	struct ibv_comp_channel *cq_channel;
> > +	struct list_head conn_tx_ready;  /* conns with tasks ready to tx */
> > +	/* prereg rdma bufs */
> > +	void *regbuf;
> > +	void *membuf;
> > +	struct ibv_mr *regmr;
> > +	struct list_head freel, allocl;
> > +	int num_tx_ready;
> > +};
> > +static struct rdma_conn_list cl;
> 
> Haven't found it in the errata, but it seems that with this design only
> one HCA is supported?

Yes, correct.  We will need multiple event channels and PDs at
least.  I will add this as an erratum.  Perhaps someone who is
blessed with multiple HCAs will fix it for us.

		-- Pete



More information about the stgt mailing list