Skip to contentSkip to conversation

libibverbs: Added the man page verbs.7

PATCH Dotan Barak 2 participants 4 messages Nov 10, 2011 – Nov 13, 2011 5 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Added the man page verbs.7 which is an introduction to libibverbs man pages.

---
 Makefile.am        |    2 +-
 libibverbs.spec.in |    1 +
 man/verbs.7        |  201 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 203 insertions(+), 1 deletions(-)
 create mode 100644 man/verbs.7
Makefile.am +1 -1
index cd00a65..08903b5 100644
@@ -54,7 +54,7 @@ man_MANS = man/ibv_asyncwatch.1 man/ibv_devices.1 man/ibv_devinfo.1	\
     man/ibv_post_srq_recv.3 man/ibv_query_device.3 man/ibv_query_gid.3	\
     man/ibv_query_pkey.3 man/ibv_query_port.3 man/ibv_query_qp.3	\
     man/ibv_query_srq.3 man/ibv_rate_to_mult.3 man/ibv_reg_mr.3		\
-    man/ibv_req_notify_cq.3 man/ibv_resize_cq.3
+    man/ibv_req_notify_cq.3 man/ibv_resize_cq.3 man/verbs.7
 
 DEBIAN = debian/changelog debian/compat debian/control debian/copyright \
     debian/ibverbs-utils.install debian/libibverbs1.install \
libibverbs.spec.in +1 -0
index 2244c50..27197ee 100644
@@ -74,6 +74,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/lib*.so
 %{_includedir}/*
 %{_mandir}/man3/*
+%{_mandir}/man7/*
 
 %files devel-static
 %defattr(-,root,root,-)
man/verbs.7 new file +201 -0

201 lines not on this page · raw message

Signature · 6 lines
1.7.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to a message not in the archive
Quoted 1 line · Dotan Barak

+This library is thread safe library and verbs can be called from every thread in the process (the

Looks like "a" is missing between "is" and "thread safe" ?

Quoted 1 line

+However, it is up to the user to stop working with a resource after it was destroyed (by the same thread or by any other thread), this may result a segmentation fault.

", this" -> ". Not doing so" ?

Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to a message not in the archive
Quoted 1 line · Dotan Barak

+This library is thread safe library and verbs can be called from every thread in the process (the same resource can even be handled from different threads, for example: ibv_poll_cq can be called from more than one thread).

I had one more remark myself: if a novice reads the above, she or he might start wondering whether the above statement about calling ibv_poll_cq() from more than one thread refers to calling that function with different or with identical cq arguments.

Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#8 lore raw
In reply to a message not in the archive
Quoted 12 lines · Dotan Barak
Quoted 5 lines · Bart Van Assche

Maybe the text in parentheses should be changed into a sentence on its own, and maybe it's a good idea to mention that when polling the same CQ from more than one thread that if the order in which CQE's are processed matters that it's the responsibility of the application to enforce that ordering ?

Let's remove the text about the CQ, since i guess that as an example it adds complications that i don't want to handle in the introduction for the library.

Quoted 8 lines

What about this:

This library is a thread safe library and verbs can be called from every thread in the process. The same resource can even be handled from different threads (the atomicity of the operations is guaranteed). However, it is up to the user to stop working with a resource after it was destroyed (by the same thread or by any other thread), not doing so may result a segmentation fault.

Sounds fine to me.

Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html