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.
> 
> 

No current app seems to be using "events_completed",
"cond", and "mutex", so we can do this:

struct ibv_srq {
        struct ibv_context     *context;
        void                   *srq_context;
        struct ibv_pd          *pd;
        uint32_t                handle;

        uint32_t                events_completed;

        uint32_t                xrc_srq_num;
        struct ibv_xrc_domain  *xrc_domain;
        struct ibv_cq          *xrc_cq;

        pthread_mutex_t         mutex;
        pthread_cond_t          cond;
};

Unless there are objections, I will commit this change today to libibverbs in 
time for RC5.

- Jack
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to