[openib-general] Re: [PATCH 1 of 2] mthca: qp size calculations

Roland Dreier rolandd at cisco.com
Wed Nov 9 09:08:43 PST 2005


    Michael> What I had in mind is: lets pad all resp and cmd
    Michael> structures in userspace (but not in kernel) with some
    Michael> 0-initialized extra space at the tail.  The time to do it
    Michael> would be now before we bump the ABI.  Comments?

I'm not convinced we can do a good enough job of this to make it worth
it.  How do we know how much padding to leave?

If we're just adding parameters, it's easy to put the compat code in
userspace anyway.  It's other changes that are hard to deal with.

 - R.



More information about the general mailing list