[openib-general] [PATCH 0/5] [RFC] Resize CQ support

Roland Dreier rolandd at cisco.com
Thu Jan 26 11:23:32 PST 2006


Here is a series of patches that adds support for resize CQ operations
to both the core uverbs/libibverbs code as well as implementing it in
the device-specific mthca/libmthca code.

This is a provider ABI breaking change to libibverbs, because it
changes the layout of struct ibv_context_ops.  Source and binary
compatibility with applications that link to libibverbs is preserved,
but provider libraries will have to be recompiled.  libibverbs remains
source compatibly with unchanged provider libraries.

I believe the core changes are ready to commit, pending review.  The
mthca support is not quite done, since I only implemented support for
userspace CQs.  Implementing mthca support for resizing kernel CQs
should not take more than a day or two (with a lot of the time going
into coding a test module), so I am planning on holding off on
committing the mthca/libmthca support until that is ready.  Also,
review of the mthca code, especially from Mellanox and other people
familiar with the hardware, would be great.

I am also including a simple test program that I used to try out the
support.  I would very much appreciate test reports for these patches
-- if someone ambitious wants to extend my program to try to find
other corner cases or races that I missed, that would be even better.

Thanks,
  Roland




More information about the general mailing list