-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 343666 b: refs/heads/master c: 7235aa7 h: refs/heads/master v: v3
- Loading branch information
David Howells
authored and
Roland Dreier
committed
Nov 22, 2012
1 parent
1cdbd53
commit d9777c9
Showing
13 changed files
with
78 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 079abea6a37fd3b4f7e1b7cf9e4d055463988753 | ||
refs/heads/master: 7235aa79f683db0d908dcb0c2b7062dfdd765196 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +0,0 @@ | ||
header-y += ib_user_cm.h | ||
header-y += ib_user_mad.h | ||
header-y += ib_user_sa.h | ||
header-y += ib_user_verbs.h | ||
header-y += rdma_netlink.h | ||
header-y += rdma_user_cm.h | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
# UAPI Header export list | ||
header-y += ib_user_cm.h | ||
header-y += ib_user_mad.h | ||
header-y += ib_user_sa.h | ||
header-y += ib_user_verbs.h | ||
header-y += rdma_netlink.h | ||
header-y += rdma_user_cm.h |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#ifndef _UAPI_RDMA_NETLINK_H | ||
#define _UAPI_RDMA_NETLINK_H | ||
|
||
#include <linux/types.h> | ||
|
||
enum { | ||
RDMA_NL_RDMA_CM = 1 | ||
}; | ||
|
||
#define RDMA_NL_GET_CLIENT(type) ((type & (((1 << 6) - 1) << 10)) >> 10) | ||
#define RDMA_NL_GET_OP(type) (type & ((1 << 10) - 1)) | ||
#define RDMA_NL_GET_TYPE(client, op) ((client << 10) + op) | ||
|
||
enum { | ||
RDMA_NL_RDMA_CM_ID_STATS = 0, | ||
RDMA_NL_RDMA_CM_NUM_OPS | ||
}; | ||
|
||
enum { | ||
RDMA_NL_RDMA_CM_ATTR_SRC_ADDR = 1, | ||
RDMA_NL_RDMA_CM_ATTR_DST_ADDR, | ||
RDMA_NL_RDMA_CM_NUM_ATTR, | ||
}; | ||
|
||
struct rdma_cm_id_stats { | ||
__u32 qp_num; | ||
__u32 bound_dev_if; | ||
__u32 port_space; | ||
__s32 pid; | ||
__u8 cm_state; | ||
__u8 node_type; | ||
__u8 port_num; | ||
__u8 qp_type; | ||
}; | ||
|
||
|
||
#endif /* _UAPI_RDMA_NETLINK_H */ |
File renamed without changes.