Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2007 15:08:54 GMT
From:      Steve Wise <swise@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 128744 for review
Message-ID:  <200711061508.lA6F8sY2084901@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=128744

Change 128744 by swise@swise:vic10:iwarp on 2007/11/06 15:07:56

	Fixed incorrect ifdef names.

Affected files ...

.. //depot/projects/iwarp/sys/contrib/rdma/rdma_cma.c#3 edit

Differences ...

==== //depot/projects/iwarp/sys/contrib/rdma/rdma_cma.c#3 (text+ko) ====

@@ -648,7 +648,7 @@
 	return !cma_port(addr);
 }
 
-#ifdef IB_SUPPORT
+#ifdef IB_SUPPORTED
 static int cma_get_net_info(void *hdr, enum rdma_port_space ps,
 			    u8 *ip_ver, __u16 *port,
 			    union cma_ip_addr **src, union cma_ip_addr **dst)
@@ -883,7 +883,7 @@
 }
 EXPORT_SYMBOL(rdma_destroy_id);
 
-#ifdef IB_SUPPORT
+#ifdef IB_SUPPORTED
 static int cma_rep_recv(struct rdma_id_private *id_priv)
 {
 	int ret;
@@ -2329,7 +2329,7 @@
 		id_priv->srq = conn_param->srq;
 	}
 
-#ifdef IB_SUPPORT
+#ifdef IB_SUPPORTED
 	switch (rdma_node_get_transport(id->device->node_type)) {
 	case RDMA_TRANSPORT_IB:
 		if (cma_is_ud_ps(id->ps))
@@ -2340,7 +2340,7 @@
 	case RDMA_TRANSPORT_IWARP:
 #endif
 		ret = cma_connect_iw(id_priv, conn_param);
-#ifdef IB_SUPPORT
+#ifdef IB_SUPPORTED
 		break;
 	default:
 		ret = ENOSYS;



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