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

Steffen Persvold steffen.persvold at scali.com
Thu Jun 7 17:12:55 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;
 };
 
If this is intended, I would strongly suggest reversioning the libraries.
 
Cheers,
Steffen Persvold
Technical Director Americas
tel. 508-281-7100 x401
fax. 508-281-7171

http://www.scali.com/
Scaling the Linux datacenter

________________________________

From: ewg-bounces at lists.openfabrics.org on behalf of Steffen Persvold
Sent: Thu 6/7/2007 8:08 PM
Cc: EWG; OpenFabrics General
Subject: [ewg] OFED 1.2 and backwards binary compatibility


OFED Team,
 
Is intended that OFED 1.2 verbs library aren't binary backwards compatible ? In 1.2-rc4 libraries are still called :
 
/usr/lib/libibverbs.so.1
/usr/lib/libibverbs.so.1.0.0
/usr/lib64/libibverbs.so.1
/usr/lib64/libibverbs.so.1.0.0

Which is the same as in 1.0 and 1.1 and this indicates binary compatibility (at least to a naive user like myself).

The problem though is that I have applications compiled with OFED 1.0 and 1.1 (those releases are binary compatible btw, as far as my testing goes) that hang when running on OFED 1.2...

 
Some clarification on the policy would be nice. In my opinion, if they no longer are compatible (and a diff of verbs.h indicates that, changes in header structures) OFED 1.2 libraries should be named something else than .so.1.0.0
 
Comments appreciated.
 
Cheers,
Steffen Persvold
Technical Director Americas
tel. 508-281-7100 x401
fax. 508-281-7171

http://www.scali.com/
Scaling the Linux datacenter
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070607/31e7bc9a/attachment.html>


More information about the general mailing list