[ofa-general] Another XRC binary compatable issue for different pthread version.

Tang, Changqing changquing.tang at hp.com
Tue Feb 19 06:26:09 PST 2008


I don't currently, but I hope you can fix it as well. There are four
structures using mutex or cond: ibv_srq, ibv_qp, ibv_cq, ibv_context,
Do we want to re-arrange all of them ?

--CQ

> -----Original Message-----
> From: Jack Morgenstein [mailto:jackm at dev.mellanox.co.il]
> Sent: Tuesday, February 19, 2008 7:47 AM
> To: general at lists.openfabrics.org
> Cc: Tang, Changqing; Gleb Natapov; Roland Dreier
> Subject: Re: [ofa-general] Another XRC binary compatable
> issue for different pthread version.
>
> On Monday 18 February 2008 17:29, Tang, Changqing wrote:
> > Any application code access events_completed field ?
> HP-MPI does not.
> >
> > If no user code access 'mutex' 'cond' and 'events_completed', I
> > suggest to put the XRC fields in the middle of this structure.
> >
> >
> > --CQ
>
> Does the same issue exist with-respect-to ibv_qp struct?
>
> struct ibv_qp {
>         struct ibv_context     *context;
>         void                   *qp_context;
>         struct ibv_pd          *pd;
>         struct ibv_cq          *send_cq;
>         struct ibv_cq          *recv_cq;
>         struct ibv_srq         *srq;
>         uint32_t                handle;
>         uint32_t                qp_num;
>         enum ibv_qp_state       state;
>         enum ibv_qp_type        qp_type;
>
>         pthread_mutex_t         mutex;
>         pthread_cond_t          cond;
>         uint32_t                events_completed;
>
>         struct ibv_xrc_domain  *xrc_domain; };
>
> i.e., QC, do you access the xrc_domain member of this struct
> in your code?
>
> - Jack
>



More information about the general mailing list