verbs: optimize work request/completion structures
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 23 Jul 2008 21:03:49 +0000 (21:03 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 23 Jul 2008 21:03:49 +0000 (21:03 +0000)
commit7b2f3f5a9df06e338f421ccf80501cc191c09e7d
tree09046a05de5c52e2f22e8c3c18bc4531756f7d06
parentb63045e12c6a38b6bfd943efef4f1cffc93c9a7a
verbs: optimize work request/completion structures

Change work completion types to quickly allow a user to determine if a
completions is for a send or receive.  Align work request and work
completion type values to be the same for consistency.

Update work request structure to avoid unnecessary internal padding and
allocating extra unused space for pointers and structures that can be
part of a union.  Arrange structure layout to allow casting between
the UVP, IBAL, WinVerbs, and libibverbs work requests.

Update debug print functions to match changes.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1440 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
core/al/ib_statustext.c
core/al/kernel/al_proxy_verbs.c
core/al/user/ual_qp.c
inc/iba/ib_types.h