public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [ANNOUNCE] libibverbs 1.1.3 is released
@ 2009-10-29 21:37 Roland Dreier
       [not found] ` <adaskd151b2.fsf-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Dreier @ 2009-10-29 21:37 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

libibverbs is a library that allows programs to use RDMA "verbs" for
direct access to RDMA (currently InfiniBand and iWARP) hardware from
userspace.

The new stable release, 1.1.3, is available from

    http://www.openfabrics.org//downloads/verbs/libibverbs-1.1.3.tar.gz

with sha1sum

    aa8eb44c84e326799d986c8f07d636afd0b8b7eb  libibverbs-1.1.3.tar.gz

I also pushed the latest tree and tag out to kernel.org:

    git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git

(the name of the tag is libibverbs-1.1.3).

It's been too long since the previous release, and this release
contains many small fixes and cleanups, including a few that have API
impacts (although no changes in code using the library should be
required).

The git shortlog since libibverbs 1.1.2 is:

Dotan Barak (2):
      Code formatting cleanups
      Update Dotan's email

Jason Gunthorpe (5):
      Allow config file paths to the driver library to be absolute
      Make the gid argument to ibv_attach_mcast and ibv_detach_mcast const
      Do not use enum types for bit flags
      Fix double free in find_sysfs_devs()
      Return errors from ibv_get_device_list() via errno

Jeff Squyres (1):
      Show transport (IB vs. iWARP) type in ibv_devinfo

Robert Pearson (1):
      Fix fall-through bug in options case in pingpong examples

Roland Dreier (16):
      Change .nl macro in man pages to .sp
      Include NMU changes for version 1.1.1-1.1 in Debian changelog
      Update Debian packaging to include new manpage symlinks
      Revert conversion of ibv_devinfo to use ibv_port_state_str()
      Update build system to use shave
      Move -dbg Debian package to section debug
      Update Debian policy version to 3.8.2
      Merge branch 'stable'
      Revert "Update build system to use shave"
      Enable quiet build rules with automake 1.11+
      Use AC_GNU_SOURCE in configure.in instead of -D_GNU_SOURCE in Makefile
      Change Debian build system from cdbs to debhelper 7
      Update Debian Standards-Version to 3.8.3
      Rewrite GID output in ibv_devinfo to avoid type punning warnings
      Merge Fedora spec file changes
      Roll libibverbs 1.1.3 release

Shirley Ma (1):
      Implement PPC wmb() with sync instead of eieio
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ANNOUNCE] libibverbs 1.1.3 is released
       [not found] ` <adaskd151b2.fsf-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
@ 2009-11-06 18:08   ` Doug Ledford
  0 siblings, 0 replies; 2+ messages in thread
From: Doug Ledford @ 2009-11-06 18:08 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Steve Wise


[-- Attachment #1.1: Type: text/plain, Size: 1363 bytes --]

On 10/29/2009 05:37 PM, Roland Dreier wrote:
> libibverbs is a library that allows programs to use RDMA "verbs" for
> direct access to RDMA (currently InfiniBand and iWARP) hardware from
> userspace.
> 
> The new stable release, 1.1.3, is available from
> 
>     http://www.openfabrics.org//downloads/verbs/libibverbs-1.1.3.tar.gz
> 
> with sha1sum
> 
>     aa8eb44c84e326799d986c8f07d636afd0b8b7eb  libibverbs-1.1.3.tar.gz
> 
> I also pushed the latest tree and tag out to kernel.org:
> 
>     git://git.kernel.org/pub/scm/libs/infiniband/libibverbs.git
> 
> (the name of the tag is libibverbs-1.1.3).
> 
> It's been too long since the previous release, and this release
> contains many small fixes and cleanups, including a few that have API
> impacts (although no changes in code using the library should be
> required).

No changes to precompiled code should be necessary, however to suppress
warnings when compiling against this new API there are a few minor
cleanups needed.  Those cleanups are already in the libmlx4 and libmthca
git repos.  This patch does the cleanups for libcxgb3.

-- 
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
              GPG KeyID: CFBFF194
	      http://people.redhat.com/dledford

Infiniband specific RPMs available at
	      http://people.redhat.com/dledford/Infiniband

[-- Attachment #1.2: libcxgb3-1.2.5-verbs-api.patch --]
[-- Type: text/plain, Size: 4246 bytes --]

--- libcxgb3-1.2.5/src/verbs.c.api	2009-09-29 14:57:44.000000000 -0400
+++ libcxgb3-1.2.5/src/verbs.c	2009-11-06 12:37:33.172964811 -0500
@@ -108,7 +108,7 @@ int iwch_free_pd(struct ibv_pd *pd)
 
 static struct ibv_mr *__iwch_reg_mr(struct ibv_pd *pd, void *addr,
 				    size_t length, uint64_t hca_va,
-				    enum ibv_access_flags access)
+				    int access)
 {
 	struct iwch_mr *mhp;
 	struct ibv_reg_mr cmd;
@@ -144,7 +144,7 @@ static struct ibv_mr *__iwch_reg_mr(stru
 }
 
 struct ibv_mr *iwch_reg_mr(struct ibv_pd *pd, void *addr,
-			   size_t length, enum ibv_access_flags access)
+			   size_t length, int access)
 {
 	PDBG("%s addr %p length %ld\n", __FUNCTION__, addr, length);
 	return __iwch_reg_mr(pd, addr, length, (uintptr_t) addr, access);
@@ -267,7 +267,7 @@ struct ibv_srq *iwch_create_srq(struct i
 }
 
 int iwch_modify_srq(struct ibv_srq *srq, struct ibv_srq_attr *attr, 
-		    enum ibv_srq_attr_mask attr_mask)
+		    int attr_mask)
 {
 	return -ENOSYS;
 }
@@ -370,7 +370,7 @@ static void reset_qp(struct iwch_qp *qhp
 }
 
 int iwch_modify_qp(struct ibv_qp *ibqp, struct ibv_qp_attr *attr,
-		   enum ibv_qp_attr_mask attr_mask)
+		   int attr_mask)
 {
 	struct ibv_modify_qp cmd;
 	struct iwch_qp *qhp = to_iwch_qp(ibqp);
@@ -424,7 +424,7 @@ int iwch_destroy_qp(struct ibv_qp *ibqp)
 }
 
 int iwch_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr,
-		  enum ibv_qp_attr_mask attr_mask, struct ibv_qp_init_attr *init_attr)
+		  int attr_mask, struct ibv_qp_init_attr *init_attr)
 {
 	return -ENOSYS;
 }
@@ -439,12 +439,12 @@ int iwch_destroy_ah(struct ibv_ah *ah)
 	return -ENOSYS;
 }
 
-int iwch_attach_mcast(struct ibv_qp *qp, union ibv_gid *gid, uint16_t lid)
+int iwch_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid)
 {
 	return -ENOSYS;
 }
 
-int iwch_detach_mcast(struct ibv_qp *qp, union ibv_gid *gid, uint16_t lid)
+int iwch_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid)
 {
 	return -ENOSYS;
 }
--- libcxgb3-1.2.5/src/iwch.h.api	2009-09-29 14:58:25.000000000 -0400
+++ libcxgb3-1.2.5/src/iwch.h	2009-11-06 12:37:19.981089104 -0500
@@ -150,7 +150,7 @@ extern struct ibv_pd *iwch_alloc_pd(stru
 extern int iwch_free_pd(struct ibv_pd *pd);
 
 extern struct ibv_mr *iwch_reg_mr(struct ibv_pd *pd, void *addr,
-				  size_t length, enum ibv_access_flags access);
+				  size_t length, int access);
 extern int iwch_dereg_mr(struct ibv_mr *mr);
 
 struct ibv_cq *iwch_create_cq(struct ibv_context *context, int cqe,
@@ -168,7 +168,7 @@ extern struct ibv_srq *iwch_create_srq(s
 				       struct ibv_srq_init_attr *attr);
 extern int iwch_modify_srq(struct ibv_srq *srq,
 			   struct ibv_srq_attr *attr,
-			   enum ibv_srq_attr_mask mask);
+			   int mask);
 extern int iwch_destroy_srq(struct ibv_srq *srq);
 extern int iwch_post_srq_recv(struct ibv_srq *ibsrq,
 			      struct ibv_recv_wr *wr,
@@ -177,11 +177,11 @@ extern int iwch_post_srq_recv(struct ibv
 extern struct ibv_qp *iwch_create_qp(struct ibv_pd *pd,
 				     struct ibv_qp_init_attr *attr);
 extern int iwch_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr,
-			  enum ibv_qp_attr_mask attr_mask);
+			  int attr_mask);
 extern int iwch_destroy_qp(struct ibv_qp *qp);
 extern int iwch_query_qp(struct ibv_qp *qp,
 			 struct ibv_qp_attr *attr,
-			 enum ibv_qp_attr_mask attr_mask,
+			 int attr_mask,
 			 struct ibv_qp_init_attr *init_attr);
 extern void iwch_flush_qp(struct iwch_qp *qhp);
 extern int t3a_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr,
@@ -195,9 +195,9 @@ extern int t3b_post_recv(struct ibv_qp *
 extern struct ibv_ah *iwch_create_ah(struct ibv_pd *pd,
 			     struct ibv_ah_attr *ah_attr);
 extern int iwch_destroy_ah(struct ibv_ah *ah);
-extern int iwch_attach_mcast(struct ibv_qp *qp, union ibv_gid *gid,
+extern int iwch_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid,
 			     uint16_t lid);
-extern int iwch_detach_mcast(struct ibv_qp *qp, union ibv_gid *gid,
+extern int iwch_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid,
 			     uint16_t lid);
 extern void t3b_async_event(struct ibv_async_event *event);
 #ifdef DEBUG

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-06 18:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-29 21:37 [ANNOUNCE] libibverbs 1.1.3 is released Roland Dreier
     [not found] ` <adaskd151b2.fsf-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2009-11-06 18:08   ` Doug Ledford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox