libibverbs: Added the man page verbs.7
Subsystems (2)
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
@@ -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
@@ -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
A message that is not in the archive (sent off-list or not yet received): 201111101103.41673.dotanb-g2bIKuvJtcQanlnWow0HJg@public.gmane.org
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
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_cqcan 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
A message that is not in the archive (sent off-list or not yet received): CALvMawoMov=nT_AH0GgA9wE28u9Rybpr=PtK9dwKAKa0FJsO-g@mail.gmail.com
A message that is not in the archive (sent off-list or not yet received): CAO+b5-rAYj1tuDnO2KyTic5DSszpfnRZf1sxvrod0yF1v3Huhw@mail.gmail.com
A message that is not in the archive (sent off-list or not yet received): CALvMawp1C8zNzd2RjTjQTwbCCHsO96dEtNySnS+qxc=tgw7Czw@mail.gmail.com
A message that is not in the archive (sent off-list or not yet received): CALvMawp1C8zNzd2RjTjQTwbCCHsO96dEtNySnS+qxc=tgw7Czw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org
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