[ofa-general] [PATCH] for-2.6.23 ib/umad: add partition support
Sean Hefty
mshefty at ichips.intel.com
Wed Jun 20 14:06:12 PDT 2007
Roland Dreier wrote:
> > -#define IB_USER_MAD_ABI_VERSION 5
> > +#define IB_USER_MAD_ABI_VERSION 6
>
> Bummer -- we've been able to keep the ABI stable for almost 2 years
> now. I wonder if there's something clever we can do to avoid breaking
> existing apps?
Did you have something in mind? (new ioctl? re-using existing fields?)
Not all fields are used for both reads and writes. E.g. status is
unused on a write, and retries is unused on a read. Storing the
pkey_index on a read seems doable. I think if we do anything on a
write, we need to make an assumption that the data is currently set to 0
by the app.
- Sean
More information about the general
mailing list