[ofa-general] RE: [ewg] OFED 1.2 and backwards binary compatibility

Roland Dreier rdreier at cisco.com
Thu Jun 7 18:42:16 PDT 2007


 > Just to follow up, I believe at least these changes (there are more) to verbs.h breaks the compatibility :
 >  
 > @@ -469,8 +502,8 @@
 >  };
 >  struct ibv_send_wr {
 > -       struct ibv_send_wr     *next;
 >         uint64_t                wr_id;
 > +       struct ibv_send_wr     *next;
 >         struct ibv_sge         *sg_list;
 >         int                     num_sge;
 >         enum ibv_wr_opcode      opcode;
 > @@ -496,12 +529,21 @@
 >  };
 >  struct ibv_recv_wr {
 > -       struct ibv_recv_wr     *next;
 >         uint64_t                wr_id;
 > +       struct ibv_recv_wr     *next;
 >         struct ibv_sge         *sg_list;
 >         int                     num_sge;
 >  };

These differences should be taken care of by the
post_send_wrapper_1_0() and post_recv_wrapper_1_0() functions in
src/compat-1_0.c in libibverbs 1.1.

 - R.



More information about the ewg mailing list