summaryrefslogtreecommitdiff
path: root/include/rdma/rdma_cm.h
diff options
context:
space:
mode:
authorSean Hefty <sean.hefty@intel.com>2011-05-29 08:56:39 +0400
committerRoland Dreier <roland@purestorage.com>2011-10-13 20:39:52 +0400
commit2d2e94152928209de13dea0535242c0e457bdcbb (patch)
tree81405715a043ad9896085cdcd6565c0b7355fdee /include/rdma/rdma_cm.h
parentef70044647b260cb6b7863f392384a06670d0b2a (diff)
downloadlinux-2d2e94152928209de13dea0535242c0e457bdcbb.tar.xz
RDMA/cm: Define new RDMA port space specific to IB
Add RDMA_PS_IB. XRC QP types will use the IB port space when operating over the RDMA CM. For the 'IP protocol' field value, we select 0x3F, which is listed as being for 'any local network'. Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/rdma/rdma_cm.h')
-rw-r--r--include/rdma/rdma_cm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/rdma_cm.h b/include/rdma/rdma_cm.h
index 26977c149c41..51988f808181 100644
--- a/include/rdma/rdma_cm.h
+++ b/include/rdma/rdma_cm.h
@@ -65,6 +65,7 @@ enum rdma_cm_event_type {
enum rdma_port_space {
RDMA_PS_SDP = 0x0001,
RDMA_PS_IPOIB = 0x0002,
+ RDMA_PS_IB = 0x013F,
RDMA_PS_TCP = 0x0106,
RDMA_PS_UDP = 0x0111,
};