libibverbs: fix event reporting and minor fixes
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 23 Apr 2009 19:35:20 +0000 (19:35 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 23 Apr 2009 19:35:20 +0000 (19:35 +0000)
commitb44e2a7500978f611058452a5dfeaf1183206c8f
tree57643986a0d680d03c8b89b32bd8b48b124d89db
parent36149971803569e1c3d3c3da43bd9024b3a28615
libibverbs: fix event reporting and minor fixes

Use the latest comp_channel changes to fix event reporting and avoid
hangs when destroying resources.  We need to track when closing
devices to make sure that events are canceled, and avoid issuing
new wait calls.

Rename windows specific calls to include 'w' after the ibv prefix to
avoid any potential future conflicts and clearly indicate to a caller
that they're using a windows only call.

Use the common ntohll definition.

Device names are changed from ibv_device_<guid> to ibv_device_X, where
X is an index (0, 1, 2, etc.).  This gives devices across the cluster
the same name, which is closer to IBAL and OFED device naming.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2129 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
ulp/libibverbs/examples/devinfo/SOURCES
ulp/libibverbs/examples/devinfo/devinfo.c
ulp/libibverbs/examples/srq_pingpong/SOURCES
ulp/libibverbs/include/infiniband/verbs.h
ulp/libibverbs/src/Sources
ulp/libibverbs/src/device.cpp
ulp/libibverbs/src/ibv_exports.src
ulp/libibverbs/src/ibv_main.cpp
ulp/libibverbs/src/verbs.cpp