Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2010 22:24:39 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r214040 - projects/ofed/head/contrib/ofed/librdmacm/src
Message-ID:  <201010182224.o9IMOdTA088042@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jeff
Date: Mon Oct 18 22:24:39 2010
New Revision: 214040
URL: http://svn.freebsd.org/changeset/base/214040

Log:
   - Use the correct path for rdma_cm in /dev
  
  Sponsored by:	Isilon Systems, iX Systems, and Panasas.

Modified:
  projects/ofed/head/contrib/ofed/librdmacm/src/cma.c

Modified: projects/ofed/head/contrib/ofed/librdmacm/src/cma.c
==============================================================================
--- projects/ofed/head/contrib/ofed/librdmacm/src/cma.c	Mon Oct 18 22:23:21 2010	(r214039)
+++ projects/ofed/head/contrib/ofed/librdmacm/src/cma.c	Mon Oct 18 22:24:39 2010	(r214040)
@@ -317,9 +317,9 @@ struct rdma_event_channel *rdma_create_e
 	if (!channel)
 		return NULL;
 
-	channel->fd = open("/dev/infiniband/rdma_cm", O_RDWR);
+	channel->fd = open("/dev/rdma_cm", O_RDWR);
 	if (channel->fd < 0) {
-		printf("CMA: unable to open /dev/infiniband/rdma_cm\n");
+		printf("CMA: unable to open /dev/rdma_cm\n");
 		goto err;
 	}
 	return channel;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010182224.o9IMOdTA088042>