Rev 37: Raw implementation done. in
http://samba.org/~tridge/psomogyi/
Stefan (metze) Metzmacher
metze at samba.org
Tue Dec 12 19:07:31 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Peter,
do you really need typedef's here?
using 'struct <type>' in the code is in most cases more readable.
metze
> typedef struct _ibw_conn_priv {
> + struct ibv_comp_channel *verbs_channel;
> + struct fd_event *verbs_channel_event;
> +
> struct rdma_cm_id *cm_id; /* client's cm id */
> int is_accepted;
>
> struct ibv_cq *cq; /* qp is in cm_id */
> struct ibv_mr *mr;
> - char *buf; /* fixed size (opts.bufsize) buffer for send/recv */
> + char *buf; /* fixed size (qsize * opts.max_msg_size) buffer for send/recv */
> ibw_wr *wr_list_avail;
> ibw_wr *wr_list_used;
> - ibw_wr **wr_index; /* array[0..(max_send_wr + max_recv_wr)-1] of (ibw_wr *) */
> + ibw_wr **wr_index; /* array[0..(qsize-1)] of (ibw_wr *) */
> } ibw_conn_priv;
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFFfv3zm70gjA5TCD8RApmPAJ9wvNErq22jI7g4GSLQdWc1cERdEwCgqnWs
T/HlKIlGnfzcGthuVDuWJG0=
=BFP3
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list