]> git.openfabrics.org - ~shefty/rdma-win.git/commit
cq: allow polling with an array of wc's
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 23 Jul 2008 20:20:52 +0000 (20:20 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 23 Jul 2008 20:20:52 +0000 (20:20 +0000)
commit775b20dc49d2a60fae37b62314ddfec20ee78117
tree45bd72ddd5cf4c12957776281d5e12f56adceb8d
parentcca15ab7e2a5fa3fcdaf8f3dd2f9ecb57646720d
cq: allow polling with an array of wc's

Allow polling for a list of work completions using an array of
completion structures, rather than a linked list.  This avoids needing
to walk the list to link the structures together before calling poll,
which is a fast path operation.

A new completion structure is added that provides the qp_context
associated with a completion.  This avoids changes to the existing
ULPs, while taking advantage of the underlying UVP capabilities.
Providing the qp_context is useful when dealing with SRQ.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1437 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/hw/mlx4/user/hca/cq.c
trunk/hw/mlx4/user/hca/mlx4.c
trunk/hw/mlx4/user/hca/mlx4.h
trunk/hw/mthca/user/mlnx_ual_osbypass.c
trunk/hw/mthca/user/mlnx_uvp.h
trunk/hw/mthca/user/mlnx_uvp_cq.c
trunk/hw/mthca/user/mlnx_uvp_verbs.h
trunk/inc/user/iba/ib_uvp.h