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

Michael S. Tsirkin mst at mellanox.co.il
Tue Nov 8 23:43:16 PST 2005


Quoting r. Roland Dreier <rolandd at cisco.com>:
> Since this is bumping the uverbs ABI anyway, I also took the
> opportunity to get rid of the max_sge member in the modify SRQ
> command.  It's not a valid parameter, so there's no reason to pass it
> from userspace.

By the way, wouldnt it be nice to be able to add extra parameters
to verbs without bumping the uverbs ABI?

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

-- 
MST



More information about the general mailing list