1 #ifndef _UAPI_RDMA_NETLINK_H
2 #define _UAPI_RDMA_NETLINK_H
4 #include <linux/types.h>
10 #define RDMA_NL_GET_CLIENT(type) ((type & (((1 << 6) - 1) << 10)) >> 10)
11 #define RDMA_NL_GET_OP(type) (type & ((1 << 10) - 1))
12 #define RDMA_NL_GET_TYPE(client, op) ((client << 10) + op)
15 RDMA_NL_RDMA_CM_ID_STATS
= 0,
16 RDMA_NL_RDMA_CM_NUM_OPS
20 RDMA_NL_RDMA_CM_ATTR_SRC_ADDR
= 1,
21 RDMA_NL_RDMA_CM_ATTR_DST_ADDR
,
22 RDMA_NL_RDMA_CM_NUM_ATTR
,
25 struct rdma_cm_id_stats
{
37 #endif /* _UAPI_RDMA_NETLINK_H */