kernel-hacking-2024-linux-s.../include/rdma
Roland Dreier 63aaf64752 Make sure that userspace does not retrieve stale asynchronous or
completion events after destroying a CQ, QP or SRQ.  We do this by
sweeping the event lists before returning from a destroy calls, and
then return the number of events already reported before the destroy
call.  This allows userspace wait until it has processed all events
for an object returned from the kernel before it frees its context for
the object.

The ABI of the destroy CQ, destroy QP and destroy SRQ commands has to
change to return the event count, so bump the ABI version from 1 to 2.
The userspace libibverbs library has already been updated to handle
both the old and new ABI versions.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2005-09-09 15:55:08 -07:00
..
ib_cache.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
ib_cm.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
ib_fmr_pool.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
ib_mad.h [PATCH] IB: Add struct for ClassPortInfo 2005-09-09 15:45:57 -07:00
ib_pack.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
ib_sa.h [PATCH] IB: Move SA attributes to ib_sa.h 2005-09-09 15:24:04 -07:00
ib_smi.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
ib_user_cm.h [PATCH] IB: Add user-supplied context to userspace CM ABI 2005-09-07 09:48:52 -07:00
ib_user_mad.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00
ib_user_verbs.h Make sure that userspace does not retrieve stale asynchronous or 2005-09-09 15:55:08 -07:00
ib_verbs.h [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00