diff options
author | Sean Hefty <sean.hefty@intel.com> | 2013-05-29 13:09:07 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-06-20 16:08:01 -0400 |
commit | 8d36eb01da5d371feffa280e501377b5c450f5a5 (patch) | |
tree | 802dde0b3d5e0019a95cfe8d0a69bb40298d9bc9 /include/linux | |
parent | fedaf4ffc224a194e2d13a3ec2abe5df0bc94258 (diff) |
RDMA/cma: Define native IB address
Define AF_IB and sockaddr_ib to allow the rdma_cm to use native IB
addressing.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h index b10ce4b341ea..230c04bda3e2 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h | |||
@@ -167,6 +167,7 @@ struct ucred { | |||
167 | #define AF_PPPOX 24 /* PPPoX sockets */ | 167 | #define AF_PPPOX 24 /* PPPoX sockets */ |
168 | #define AF_WANPIPE 25 /* Wanpipe API Sockets */ | 168 | #define AF_WANPIPE 25 /* Wanpipe API Sockets */ |
169 | #define AF_LLC 26 /* Linux LLC */ | 169 | #define AF_LLC 26 /* Linux LLC */ |
170 | #define AF_IB 27 /* Native InfiniBand address */ | ||
170 | #define AF_CAN 29 /* Controller Area Network */ | 171 | #define AF_CAN 29 /* Controller Area Network */ |
171 | #define AF_TIPC 30 /* TIPC sockets */ | 172 | #define AF_TIPC 30 /* TIPC sockets */ |
172 | #define AF_BLUETOOTH 31 /* Bluetooth sockets */ | 173 | #define AF_BLUETOOTH 31 /* Bluetooth sockets */ |
@@ -211,6 +212,7 @@ struct ucred { | |||
211 | #define PF_PPPOX AF_PPPOX | 212 | #define PF_PPPOX AF_PPPOX |
212 | #define PF_WANPIPE AF_WANPIPE | 213 | #define PF_WANPIPE AF_WANPIPE |
213 | #define PF_LLC AF_LLC | 214 | #define PF_LLC AF_LLC |
215 | #define PF_IB AF_IB | ||
214 | #define PF_CAN AF_CAN | 216 | #define PF_CAN AF_CAN |
215 | #define PF_TIPC AF_TIPC | 217 | #define PF_TIPC AF_TIPC |
216 | #define PF_BLUETOOTH AF_BLUETOOTH | 218 | #define PF_BLUETOOTH AF_BLUETOOTH |