[ofw] changes to ibbus in SVN rev 1160

Tzachi Dar tzachid at mellanox.co.il
Fri May 30 03:13:15 PDT 2008


Indeed a newer IOCTL shouldn't change versions.

On the other hand the partitioning support has also changed the
interface of ipoib_ofc.h (which actually has it's own version). I
believe that this is the change that broke the applications.

Next time I'll pay more attention to the versions.

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, May 30, 2008 8:37 AM
> To: 'Fab Tillier'; ofw at lists.openfabrics.org
> Subject: RE: [ofw] changes to ibbus in SVN rev 1160
> 
> >Revision 1160 added partitioning support.  This introduced a 
> new IOCTL, 
> >however the AL_IOCTL_VERSION wasn't updated.  Anytime the IOCTLs are 
> >changed this needs to be updated so that applications fail 
> gracefully 
> >if there's a version mismatch.
> 
> A new IOCTL shouldn't require updating the version.  A new 
> app that uses the IOCTL with an older kernel would simply get 
> an error when it tried to issue the request.  Other 
> combinations of old/new apps/kernel won't see any issues.  If 
> you update the version, then you've broken all existing apps, 
> none of which use the new IOCTL.
> 
> - 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