winverbs: make PD derive from IWVOverlapped
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 11 Jun 2009 04:06:23 +0000 (04:06 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 11 Jun 2009 04:06:23 +0000 (04:06 +0000)
commitacc95df0a71b53e4a649f745983d1ba2b7e80108
treebe8565aced40497ceb55a19e599b069715a3f94c
parent47580a1cf69ea294ec53a4a2aa076793972be42c
winverbs: make PD derive from IWVOverlapped

Memory registration is asynchronous and part of the PD interface.
Make the PD derive from overlapped, rather than unknown base class, and
add support for canceling asynchronous operations (i.e. register
memory) on the PD.

This is an oversight of the initial API caught by implementing the ND
provider.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2246 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
core/winverbs/kernel/wv_driver.c
core/winverbs/kernel/wv_pd.c
core/winverbs/kernel/wv_pd.h
core/winverbs/user/wv_pd.cpp
core/winverbs/user/wv_pd.h
core/winverbs/wv_ioctl.h
inc/user/rdma/winverbs.h