summaryrefslogtreecommitdiffstats
path: root/sys/ofed
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2013-08-09 03:26:17 +0000
committerjeff <jeff@FreeBSD.org>2013-08-09 03:26:17 +0000
commit5f141f7f1fc16a09ae4b1cc9defb6db495128161 (patch)
treeb8a70b9ae9ef19383940277c2e9ecaa60f87d9ac /sys/ofed
parent31941e8d5db2bff6bbac59234d62b0a62f698f69 (diff)
downloadFreeBSD-src-5f141f7f1fc16a09ae4b1cc9defb6db495128161.zip
FreeBSD-src-5f141f7f1fc16a09ae4b1cc9defb6db495128161.tar.gz
- Reserve a special AF for SDP. The one we were incorrectly using before
was taken by another AF. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/ofed')
-rw-r--r--sys/ofed/include/rdma/sdp_socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ofed/include/rdma/sdp_socket.h b/sys/ofed/include/rdma/sdp_socket.h
index 902dc97..6b07589 100644
--- a/sys/ofed/include/rdma/sdp_socket.h
+++ b/sys/ofed/include/rdma/sdp_socket.h
@@ -3,10 +3,12 @@
#ifndef SDP_SOCKET_H
#define SDP_SOCKET_H
+#ifndef __FreeBSD__
#ifndef AF_INET_SDP
#define AF_INET_SDP 27
#define PF_INET_SDP AF_INET_SDP
#endif
+#endif
#ifndef SDP_ZCOPY_THRESH
#define SDP_ZCOPY_THRESH 80
OpenPOWER on IntegriCloud