PERFORCE change 128744 for review
Steve Wise
swise at FreeBSD.org
Tue Nov 6 07:08:55 PST 2007
http://perforce.freebsd.org/chv.cgi?CH=128744
Change 128744 by swise at 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;
More information about the p4-projects
mailing list