2013-01-14 20:28:26 +01:00
|
|
|
/****************************************************************************
|
|
|
|
****************************************************************************
|
|
|
|
***
|
|
|
|
*** This header was automatically generated from a Linux kernel header
|
|
|
|
*** of the same name, to make information necessary for userspace to
|
|
|
|
*** call into the kernel available to libc. It contains only constants,
|
|
|
|
*** structures, and macros generated from the original header, and thus,
|
|
|
|
*** contains no copyrightable information.
|
|
|
|
***
|
|
|
|
*** To edit the content of this header, modify the corresponding
|
|
|
|
*** source file (e.g. under external/kernel-headers/original/) then
|
|
|
|
*** run bionic/libc/kernel/tools/update_all.py
|
|
|
|
***
|
|
|
|
*** Any manual change here will be lost the next time this script will
|
|
|
|
*** be run. You've been warned!
|
|
|
|
***
|
|
|
|
****************************************************************************
|
|
|
|
****************************************************************************/
|
2013-10-17 01:09:24 +02:00
|
|
|
#ifndef _UAPI_RDMA_NETLINK_H
|
|
|
|
#define _UAPI_RDMA_NETLINK_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
enum {
|
2013-01-14 20:28:26 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
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))
|
2013-01-14 20:28:26 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
#define RDMA_NL_GET_TYPE(client, op) ((client << 10) + op)
|
|
|
|
enum {
|
|
|
|
RDMA_NL_RDMA_CM_ID_STATS = 0,
|
|
|
|
RDMA_NL_RDMA_CM_NUM_OPS
|
2013-01-14 20:28:26 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
};
|
|
|
|
enum {
|
|
|
|
RDMA_NL_RDMA_CM_ATTR_SRC_ADDR = 1,
|
|
|
|
RDMA_NL_RDMA_CM_ATTR_DST_ADDR,
|
2013-01-14 20:28:26 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
RDMA_NL_RDMA_CM_NUM_ATTR,
|
|
|
|
};
|
|
|
|
struct rdma_cm_id_stats {
|
|
|
|
__u32 qp_num;
|
2013-01-14 20:28:26 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-10-17 01:09:24 +02:00
|
|
|
__u32 bound_dev_if;
|
|
|
|
__u32 port_space;
|
|
|
|
__s32 pid;
|
|
|
|
__u8 cm_state;
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
__u8 node_type;
|
|
|
|
__u8 port_num;
|
|
|
|
__u8 qp_type;
|
|
|
|
};
|
2013-01-14 20:28:26 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#endif
|