[ofw] API breakage in trunk

Tzachi Dar tzachid at mellanox.co.il
Fri Feb 19 06:03:18 PST 2010


Why is this such a big problem? 

This is a new release and we can ask for application to be recompiled.

I'm quite sure that a similar solution was created for Linux.

Thanks
Tzachi

-----Original Message-----
From: ofw-bounces at lists.openfabrics.org [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Sean Hefty
Sent: Friday, February 19, 2010 12:26 AM
To: 'ofw_list'
Subject: [ofw] API breakage in trunk

I was comparing the differences between the trunk and wof2-2 branch, and noticed the following change had been committed to the trunk:

diff -up -r -X \mshefty\scm\gen1\trunk\docs\dontdiff.txt -I '\$Id'
c:\mshefty\scm\svn\gen1\branches\wof2-2\inc\iba/ib_types.h
c:\mshefty\scm\svn\gen1\trunk\inc\iba/ib_types.h
--- c:\mshefty\scm\svn\gen1\branches\wof2-2\inc\iba/ib_types.h	2010-01-21
13:01:17.130625000 -0800
+++ c:\mshefty\scm\svn\gen1\trunk\inc\iba/ib_types.h	2010-01-21
12:45:33.880625000 -0800
@@ -9419,6 +9419,8 @@ typedef struct _ib_port_attr
 	TO_LONG_PTR(ib_gid_t*,	p_gid_table);
 	TO_LONG_PTR(ib_net16_t*,p_pkey_table);
 
+	enum rdma_transport_type	transport;
+
 }	ib_port_attr_t;
 /*
 * SEE ALSO

This changes a publically accessible data structure, which breaks all existing applications.  This change must be reverted and an alternate solution found.
(This change only affects the trunk, not the 2.2 release.)

- Sean

_______________________________________________
ofw mailing list
ofw at lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw



More information about the ofw mailing list