Sean Hefty [Thu, 4 Mar 2010 22:00:34 +0000 (14:00 -0800)]
dapl: fix ring buffer synchronization
The dapl ring buffer implementation is not thread safe. Replace
the use of atomic variables with actual locking to ensure that
there are not races inserting and/or removing items at the same time.
Without proper synchronization, the EVD can report invalid events or
the same event multiple times.
Sean Hefty [Thu, 4 Mar 2010 22:00:34 +0000 (14:00 -0800)]
dapl: fix ring buffer synchronization
The dapl ring buffer implementation is not thread safe. Replace
the use of atomic variables with actual locking to ensure that
there are not races inserting and/or removing items at the same time.
Without proper synchronization, the EVD can report invalid events or
the same event multiple times.
Sean Hefty [Thu, 4 Mar 2010 22:00:34 +0000 (14:00 -0800)]
dapl: fix ring buffer synchronization
The dapl ring buffer implementation is not thread safe. Replace
the use of atomic variables with actual locking to ensure that
there are not races inserting and/or removing items at the same time.
Without proper synchronization, the EVD can report invalid events or
the same event multiple times.
Stan Smith [Tue, 23 Feb 2010 23:03:33 +0000 (23:03 +0000)]
[WINOF] update with trunk commits for 2.2 release
2703 ibat/resolve: retry ibat resolution
2702 libibverbs: release wvprovider reference from ibvwv_acquire_windata
2701 dapl: locking cleanup and fixes
2689 libibverbs/device: destroy completion channel when closing device
2688 dapl: use private_data_len for mem copies
2687 dapl/cma: fix referencing freed address
2686 librdmacm: set private_data_len
2685 dapl: move close device after async thread is done using it
2683 [core] Improved error message.
2682 [core] Release the RDMA interface if ib_register_ca fails.
Stan Smith [Fri, 19 Feb 2010 18:13:20 +0000 (18:13 +0000)]
[IPoIB_ndis6_cm] migrate IPoIB shutter code into the trunk - match 2.2 release.
shutter code stops IPoIB from receiving packets during device shutdown.
Stan Smith [Fri, 19 Feb 2010 17:46:36 +0000 (17:46 +0000)]
[WINOF] delete orphaned files on uninstall
Added new CustomAction to wait for IPoIB device to appear in order to ensure ND & WSD provider install success.
Stan Smith [Fri, 19 Feb 2010 17:13:41 +0000 (17:13 +0000)]
[DAPL2] Cleanup CM object lock before freeing CM object memory
Running windows application verifiier for uDAPL validation
for all 3 providers. Cleanup memory lock leaks found
by verifier.
Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2706 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
Stan Smith [Fri, 19 Feb 2010 17:09:58 +0000 (17:09 +0000)]
[DAPL2] ucm, scm, cma: destroy verbs completion channels created via ia_open or ep_create.
Completion channels are created with ia_open for CNO events and with ep_create in cases where DAT allows EP(qp) to be created with no EVD(cq) and IB doesn't. These completion channels need to be destroyed at close along with a CQ for the "EP without EVD" case.
Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2705 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86