[lkml]   [2008]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [ANN] WiMAX stack and drivers for Intel WiMAX Link 5050

On Tuesday 08 April 2008, Andi Kleen wrote:

> > version: I anticipate the wimax API exported to user space is
> > going to undergo a lot of changes while we all agree on what
> > is the best interface. Because things might break, I want to
> > make sure user space stuff can detect that and fail cleanly.
> > Hence the versioning.
> It's still a bad way to do that (I agree with Stephen on that).
> Was also always a mess on wireless.
> If you don't want expandable TLAs another better alternative to
> versions is ext2 style compatible/incompatible feature bitmaps.

Ain't that another way of saying versions? Sorry guys, but I am
having a hard time understanding how the alternatives are better.

Expandable TLAs are fine, until we need to change the meaning of
an existing field/value. Then there is no way to change it without
breaking existing code other than create a new message. And then
we have a mess like wireless again.

With simple versioning, we just bump up the major number and break.
In user space, the libwimax shim library would take care of hiding
this for the user if so is needed.


 \ /
  Last update: 2008-04-09 22:33    [W:0.044 / U:3.476 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site