2017-11-01 14:08:43 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2012-11-21 15:47:40 +00:00
|
|
|
#ifndef _UAPI_RDMA_NETLINK_H
|
|
|
|
#define _UAPI_RDMA_NETLINK_H
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
|
|
|
|
enum {
|
2014-03-26 22:07:35 +00:00
|
|
|
RDMA_NL_RDMA_CM = 1,
|
2016-02-26 15:18:00 +00:00
|
|
|
RDMA_NL_IWCM,
|
|
|
|
RDMA_NL_RSVD,
|
2015-08-14 12:52:06 +00:00
|
|
|
RDMA_NL_LS, /* RDMA Local Services */
|
2017-06-20 04:55:53 +00:00
|
|
|
RDMA_NL_NLDEV, /* RDMA device interface */
|
2014-03-26 22:07:35 +00:00
|
|
|
RDMA_NL_NUM_CLIENTS
|
|
|
|
};
|
|
|
|
|
|
|
|
enum {
|
|
|
|
RDMA_NL_GROUP_CM = 1,
|
|
|
|
RDMA_NL_GROUP_IWPM,
|
2015-08-14 12:52:06 +00:00
|
|
|
RDMA_NL_GROUP_LS,
|
2014-03-26 22:07:35 +00:00
|
|
|
RDMA_NL_NUM_GROUPS
|
2012-11-21 15:47:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#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,
|
|
|
|
};
|
|
|
|
|
2014-03-26 22:07:35 +00:00
|
|
|
/* iwarp port mapper op-codes */
|
|
|
|
enum {
|
|
|
|
RDMA_NL_IWPM_REG_PID = 0,
|
|
|
|
RDMA_NL_IWPM_ADD_MAPPING,
|
|
|
|
RDMA_NL_IWPM_QUERY_MAPPING,
|
|
|
|
RDMA_NL_IWPM_REMOVE_MAPPING,
|
2015-04-21 20:28:10 +00:00
|
|
|
RDMA_NL_IWPM_REMOTE_INFO,
|
2014-03-26 22:07:35 +00:00
|
|
|
RDMA_NL_IWPM_HANDLE_ERR,
|
|
|
|
RDMA_NL_IWPM_MAPINFO,
|
|
|
|
RDMA_NL_IWPM_MAPINFO_NUM,
|
|
|
|
RDMA_NL_IWPM_NUM_OPS
|
|
|
|
};
|
|
|
|
|
2012-11-21 15:47:40 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2014-03-26 22:07:35 +00:00
|
|
|
enum {
|
|
|
|
IWPM_NLA_REG_PID_UNSPEC = 0,
|
|
|
|
IWPM_NLA_REG_PID_SEQ,
|
|
|
|
IWPM_NLA_REG_IF_NAME,
|
|
|
|
IWPM_NLA_REG_IBDEV_NAME,
|
|
|
|
IWPM_NLA_REG_ULIB_NAME,
|
|
|
|
IWPM_NLA_REG_PID_MAX
|
|
|
|
};
|
|
|
|
|
|
|
|
enum {
|
|
|
|
IWPM_NLA_RREG_PID_UNSPEC = 0,
|
|
|
|
IWPM_NLA_RREG_PID_SEQ,
|
|
|
|
IWPM_NLA_RREG_IBDEV_NAME,
|
|
|
|
IWPM_NLA_RREG_ULIB_NAME,
|
|
|
|
IWPM_NLA_RREG_ULIB_VER,
|
|
|
|
IWPM_NLA_RREG_PID_ERR,
|
|
|
|
IWPM_NLA_RREG_PID_MAX
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
enum {
|
|
|
|
IWPM_NLA_MANAGE_MAPPING_UNSPEC = 0,
|
|
|
|
IWPM_NLA_MANAGE_MAPPING_SEQ,
|
|
|
|
IWPM_NLA_MANAGE_ADDR,
|
|
|
|
IWPM_NLA_MANAGE_MAPPED_LOC_ADDR,
|
|
|
|
IWPM_NLA_RMANAGE_MAPPING_ERR,
|
|
|
|
IWPM_NLA_RMANAGE_MAPPING_MAX
|
|
|
|
};
|
|
|
|
|
|
|
|
#define IWPM_NLA_MANAGE_MAPPING_MAX 3
|
|
|
|
#define IWPM_NLA_QUERY_MAPPING_MAX 4
|
|
|
|
#define IWPM_NLA_MAPINFO_SEND_MAX 3
|
|
|
|
|
|
|
|
enum {
|
|
|
|
IWPM_NLA_QUERY_MAPPING_UNSPEC = 0,
|
|
|
|
IWPM_NLA_QUERY_MAPPING_SEQ,
|
|
|
|
IWPM_NLA_QUERY_LOCAL_ADDR,
|
|
|
|
IWPM_NLA_QUERY_REMOTE_ADDR,
|
|
|
|
IWPM_NLA_RQUERY_MAPPED_LOC_ADDR,
|
|
|
|
IWPM_NLA_RQUERY_MAPPED_REM_ADDR,
|
|
|
|
IWPM_NLA_RQUERY_MAPPING_ERR,
|
|
|
|
IWPM_NLA_RQUERY_MAPPING_MAX
|
|
|
|
};
|
|
|
|
|
|
|
|
enum {
|
|
|
|
IWPM_NLA_MAPINFO_REQ_UNSPEC = 0,
|
|
|
|
IWPM_NLA_MAPINFO_ULIB_NAME,
|
|
|
|
IWPM_NLA_MAPINFO_ULIB_VER,
|
|
|
|
IWPM_NLA_MAPINFO_REQ_MAX
|
|
|
|
};
|
|
|
|
|
|
|
|
enum {
|
|
|
|
IWPM_NLA_MAPINFO_UNSPEC = 0,
|
|
|
|
IWPM_NLA_MAPINFO_LOCAL_ADDR,
|
|
|
|
IWPM_NLA_MAPINFO_MAPPED_ADDR,
|
|
|
|
IWPM_NLA_MAPINFO_MAX
|
|
|
|
};
|
|
|
|
|
|
|
|
enum {
|
|
|
|
IWPM_NLA_MAPINFO_NUM_UNSPEC = 0,
|
|
|
|
IWPM_NLA_MAPINFO_SEQ,
|
|
|
|
IWPM_NLA_MAPINFO_SEND_NUM,
|
|
|
|
IWPM_NLA_MAPINFO_ACK_NUM,
|
|
|
|
IWPM_NLA_MAPINFO_NUM_MAX
|
|
|
|
};
|
|
|
|
|
|
|
|
enum {
|
|
|
|
IWPM_NLA_ERR_UNSPEC = 0,
|
|
|
|
IWPM_NLA_ERR_SEQ,
|
|
|
|
IWPM_NLA_ERR_CODE,
|
|
|
|
IWPM_NLA_ERR_MAX
|
|
|
|
};
|
|
|
|
|
2015-08-14 12:52:06 +00:00
|
|
|
/*
|
|
|
|
* Local service operations:
|
|
|
|
* RESOLVE - The client requests the local service to resolve a path.
|
|
|
|
* SET_TIMEOUT - The local service requests the client to set the timeout.
|
2016-05-19 14:12:34 +00:00
|
|
|
* IP_RESOLVE - The client requests the local service to resolve an IP to GID.
|
2015-08-14 12:52:06 +00:00
|
|
|
*/
|
|
|
|
enum {
|
|
|
|
RDMA_NL_LS_OP_RESOLVE = 0,
|
|
|
|
RDMA_NL_LS_OP_SET_TIMEOUT,
|
2016-05-19 14:12:34 +00:00
|
|
|
RDMA_NL_LS_OP_IP_RESOLVE,
|
2015-08-14 12:52:06 +00:00
|
|
|
RDMA_NL_LS_NUM_OPS
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Local service netlink message flags */
|
|
|
|
#define RDMA_NL_LS_F_ERR 0x0100 /* Failed response */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Local service resolve operation family header.
|
|
|
|
* The layout for the resolve operation:
|
|
|
|
* nlmsg header
|
|
|
|
* family header
|
|
|
|
* attributes
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Local service path use:
|
|
|
|
* Specify how the path(s) will be used.
|
|
|
|
* ALL - For connected CM operation (6 pathrecords)
|
|
|
|
* UNIDIRECTIONAL - For unidirectional UD (1 pathrecord)
|
|
|
|
* GMP - For miscellaneous GMP like operation (at least 1 reversible
|
|
|
|
* pathrecord)
|
|
|
|
*/
|
|
|
|
enum {
|
|
|
|
LS_RESOLVE_PATH_USE_ALL = 0,
|
|
|
|
LS_RESOLVE_PATH_USE_UNIDIRECTIONAL,
|
|
|
|
LS_RESOLVE_PATH_USE_GMP,
|
|
|
|
LS_RESOLVE_PATH_USE_MAX
|
|
|
|
};
|
|
|
|
|
|
|
|
#define LS_DEVICE_NAME_MAX 64
|
|
|
|
|
|
|
|
struct rdma_ls_resolve_header {
|
|
|
|
__u8 device_name[LS_DEVICE_NAME_MAX];
|
|
|
|
__u8 port_num;
|
|
|
|
__u8 path_use;
|
|
|
|
};
|
|
|
|
|
2016-05-19 14:12:34 +00:00
|
|
|
struct rdma_ls_ip_resolve_header {
|
|
|
|
__u32 ifindex;
|
|
|
|
};
|
|
|
|
|
2015-08-14 12:52:06 +00:00
|
|
|
/* Local service attribute type */
|
|
|
|
#define RDMA_NLA_F_MANDATORY (1 << 13)
|
|
|
|
#define RDMA_NLA_TYPE_MASK (~(NLA_F_NESTED | NLA_F_NET_BYTEORDER | \
|
|
|
|
RDMA_NLA_F_MANDATORY))
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Local service attributes:
|
|
|
|
* Attr Name Size Byte order
|
|
|
|
* -----------------------------------------------------
|
|
|
|
* PATH_RECORD struct ib_path_rec_data
|
|
|
|
* TIMEOUT u32 cpu
|
|
|
|
* SERVICE_ID u64 cpu
|
|
|
|
* DGID u8[16] BE
|
|
|
|
* SGID u8[16] BE
|
|
|
|
* TCLASS u8
|
|
|
|
* PKEY u16 cpu
|
|
|
|
* QOS_CLASS u16 cpu
|
2016-05-19 14:12:34 +00:00
|
|
|
* IPV4 u32 BE
|
|
|
|
* IPV6 u8[16] BE
|
2015-08-14 12:52:06 +00:00
|
|
|
*/
|
|
|
|
enum {
|
|
|
|
LS_NLA_TYPE_UNSPEC = 0,
|
|
|
|
LS_NLA_TYPE_PATH_RECORD,
|
|
|
|
LS_NLA_TYPE_TIMEOUT,
|
|
|
|
LS_NLA_TYPE_SERVICE_ID,
|
|
|
|
LS_NLA_TYPE_DGID,
|
|
|
|
LS_NLA_TYPE_SGID,
|
|
|
|
LS_NLA_TYPE_TCLASS,
|
|
|
|
LS_NLA_TYPE_PKEY,
|
|
|
|
LS_NLA_TYPE_QOS_CLASS,
|
2016-05-19 14:12:34 +00:00
|
|
|
LS_NLA_TYPE_IPV4,
|
|
|
|
LS_NLA_TYPE_IPV6,
|
2015-08-14 12:52:06 +00:00
|
|
|
LS_NLA_TYPE_MAX
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Local service DGID/SGID attribute: big endian */
|
|
|
|
struct rdma_nla_ls_gid {
|
|
|
|
__u8 gid[16];
|
|
|
|
};
|
2012-11-21 15:47:40 +00:00
|
|
|
|
2017-06-20 04:55:53 +00:00
|
|
|
enum rdma_nldev_command {
|
|
|
|
RDMA_NLDEV_CMD_UNSPEC,
|
|
|
|
|
|
|
|
RDMA_NLDEV_CMD_GET, /* can dump */
|
|
|
|
|
2018-01-30 15:07:16 +00:00
|
|
|
/* 2 - 4 are free to use */
|
2017-06-20 04:55:53 +00:00
|
|
|
|
2018-01-30 15:07:16 +00:00
|
|
|
RDMA_NLDEV_CMD_PORT_GET = 5, /* can dump */
|
|
|
|
|
|
|
|
/* 6 - 8 are free to use */
|
|
|
|
|
|
|
|
RDMA_NLDEV_CMD_RES_GET = 9, /* can dump */
|
2018-01-28 09:17:24 +00:00
|
|
|
|
2018-01-28 09:17:25 +00:00
|
|
|
RDMA_NLDEV_CMD_RES_QP_GET, /* can dump */
|
|
|
|
|
2018-03-01 21:57:44 +00:00
|
|
|
RDMA_NLDEV_CMD_RES_CM_ID_GET, /* can dump */
|
|
|
|
|
2018-03-01 21:57:51 +00:00
|
|
|
RDMA_NLDEV_CMD_RES_CQ_GET, /* can dump */
|
|
|
|
|
2018-03-01 21:58:13 +00:00
|
|
|
RDMA_NLDEV_CMD_RES_MR_GET, /* can dump */
|
|
|
|
|
2018-03-01 21:58:28 +00:00
|
|
|
RDMA_NLDEV_CMD_RES_PD_GET, /* can dump */
|
|
|
|
|
2017-06-20 04:55:53 +00:00
|
|
|
RDMA_NLDEV_NUM_OPS
|
|
|
|
};
|
|
|
|
|
|
|
|
enum rdma_nldev_attr {
|
|
|
|
/* don't change the order or add anything between, this is ABI! */
|
|
|
|
RDMA_NLDEV_ATTR_UNSPEC,
|
|
|
|
|
|
|
|
/* Identifier for ib_device */
|
|
|
|
RDMA_NLDEV_ATTR_DEV_INDEX, /* u32 */
|
|
|
|
|
|
|
|
RDMA_NLDEV_ATTR_DEV_NAME, /* string */
|
|
|
|
/*
|
|
|
|
* Device index together with port index are identifiers
|
|
|
|
* for port/link properties.
|
|
|
|
*
|
|
|
|
* For RDMA_NLDEV_CMD_GET commamnd, port index will return number
|
|
|
|
* of available ports in ib_device, while for port specific operations,
|
|
|
|
* it will be real port index as it appears in sysfs. Port index follows
|
|
|
|
* sysfs notation and starts from 1 for the first port.
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_PORT_INDEX, /* u32 */
|
|
|
|
|
2017-06-20 11:47:08 +00:00
|
|
|
/*
|
|
|
|
* Device and port capabilities
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_CAP_FLAGS, /* u64 */
|
|
|
|
|
2017-06-27 13:58:59 +00:00
|
|
|
/*
|
|
|
|
* FW version
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_FW_VERSION, /* string */
|
2017-06-28 11:01:37 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Node GUID (in host byte order) associated with the RDMA device.
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_NODE_GUID, /* u64 */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* System image GUID (in host byte order) associated with
|
|
|
|
* this RDMA device and other devices which are part of a
|
|
|
|
* single system.
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_SYS_IMAGE_GUID, /* u64 */
|
|
|
|
|
2017-06-28 12:05:14 +00:00
|
|
|
/*
|
|
|
|
* Subnet prefix (in host byte order)
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_SUBNET_PREFIX, /* u64 */
|
|
|
|
|
2017-06-28 12:38:36 +00:00
|
|
|
/*
|
|
|
|
* Local Identifier (LID),
|
|
|
|
* According to IB specification, It is 16-bit address assigned
|
|
|
|
* by the Subnet Manager. Extended to be 32-bit for OmniPath users.
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_LID, /* u32 */
|
|
|
|
RDMA_NLDEV_ATTR_SM_LID, /* u32 */
|
|
|
|
|
2017-06-28 12:49:30 +00:00
|
|
|
/*
|
|
|
|
* LID mask control (LMC)
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_LMC, /* u8 */
|
|
|
|
|
2017-06-29 10:12:45 +00:00
|
|
|
RDMA_NLDEV_ATTR_PORT_STATE, /* u8 */
|
|
|
|
RDMA_NLDEV_ATTR_PORT_PHYS_STATE, /* u8 */
|
|
|
|
|
2017-06-29 13:01:29 +00:00
|
|
|
RDMA_NLDEV_ATTR_DEV_NODE_TYPE, /* u8 */
|
|
|
|
|
2018-01-28 09:17:24 +00:00
|
|
|
RDMA_NLDEV_ATTR_RES_SUMMARY, /* nested table */
|
|
|
|
RDMA_NLDEV_ATTR_RES_SUMMARY_ENTRY, /* nested table */
|
|
|
|
RDMA_NLDEV_ATTR_RES_SUMMARY_ENTRY_NAME, /* string */
|
|
|
|
RDMA_NLDEV_ATTR_RES_SUMMARY_ENTRY_CURR, /* u64 */
|
|
|
|
|
2018-01-28 09:17:25 +00:00
|
|
|
RDMA_NLDEV_ATTR_RES_QP, /* nested table */
|
|
|
|
RDMA_NLDEV_ATTR_RES_QP_ENTRY, /* nested table */
|
|
|
|
/*
|
|
|
|
* Local QPN
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_RES_LQPN, /* u32 */
|
|
|
|
/*
|
|
|
|
* Remote QPN,
|
|
|
|
* Applicable for RC and UC only IBTA 11.2.5.3 QUERY QUEUE PAIR
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_RES_RQPN, /* u32 */
|
|
|
|
/*
|
|
|
|
* Receive Queue PSN,
|
|
|
|
* Applicable for RC and UC only 11.2.5.3 QUERY QUEUE PAIR
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_RES_RQ_PSN, /* u32 */
|
|
|
|
/*
|
|
|
|
* Send Queue PSN
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_RES_SQ_PSN, /* u32 */
|
|
|
|
RDMA_NLDEV_ATTR_RES_PATH_MIG_STATE, /* u8 */
|
|
|
|
/*
|
|
|
|
* QP types as visible to RDMA/core, the reserved QPT
|
|
|
|
* are not exported through this interface.
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_RES_TYPE, /* u8 */
|
|
|
|
RDMA_NLDEV_ATTR_RES_STATE, /* u8 */
|
|
|
|
/*
|
|
|
|
* Process ID which created object,
|
|
|
|
* in case of kernel origin, PID won't exist.
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_RES_PID, /* u32 */
|
|
|
|
/*
|
|
|
|
* The name of process created following resource.
|
|
|
|
* It will exist only for kernel objects.
|
|
|
|
* For user created objects, the user is supposed
|
|
|
|
* to read /proc/PID/comm file.
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_RES_KERN_NAME, /* string */
|
|
|
|
|
2018-03-01 21:57:44 +00:00
|
|
|
RDMA_NLDEV_ATTR_RES_CM_ID, /* nested table */
|
|
|
|
RDMA_NLDEV_ATTR_RES_CM_ID_ENTRY, /* nested table */
|
|
|
|
/*
|
|
|
|
* rdma_cm_id port space.
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_RES_PS, /* u32 */
|
|
|
|
/*
|
|
|
|
* Source and destination socket addresses
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_RES_SRC_ADDR, /* __kernel_sockaddr_storage */
|
|
|
|
RDMA_NLDEV_ATTR_RES_DST_ADDR, /* __kernel_sockaddr_storage */
|
|
|
|
|
2018-03-01 21:57:51 +00:00
|
|
|
RDMA_NLDEV_ATTR_RES_CQ, /* nested table */
|
|
|
|
RDMA_NLDEV_ATTR_RES_CQ_ENTRY, /* nested table */
|
|
|
|
RDMA_NLDEV_ATTR_RES_CQE, /* u32 */
|
|
|
|
RDMA_NLDEV_ATTR_RES_USECNT, /* u64 */
|
|
|
|
RDMA_NLDEV_ATTR_RES_POLL_CTX, /* u8 */
|
|
|
|
|
2018-03-01 21:58:13 +00:00
|
|
|
RDMA_NLDEV_ATTR_RES_MR, /* nested table */
|
|
|
|
RDMA_NLDEV_ATTR_RES_MR_ENTRY, /* nested table */
|
|
|
|
RDMA_NLDEV_ATTR_RES_RKEY, /* u32 */
|
|
|
|
RDMA_NLDEV_ATTR_RES_LKEY, /* u32 */
|
|
|
|
RDMA_NLDEV_ATTR_RES_IOVA, /* u64 */
|
|
|
|
RDMA_NLDEV_ATTR_RES_MRLEN, /* u64 */
|
|
|
|
|
2018-03-01 21:58:28 +00:00
|
|
|
RDMA_NLDEV_ATTR_RES_PD, /* nested table */
|
|
|
|
RDMA_NLDEV_ATTR_RES_PD_ENTRY, /* nested table */
|
|
|
|
RDMA_NLDEV_ATTR_RES_LOCAL_DMA_LKEY, /* u32 */
|
|
|
|
RDMA_NLDEV_ATTR_RES_UNSAFE_GLOBAL_RKEY, /* u32 */
|
|
|
|
|
2018-03-27 17:40:49 +00:00
|
|
|
/*
|
|
|
|
* Provides logical name and index of netdevice which is
|
|
|
|
* connected to physical port. This information is relevant
|
|
|
|
* for RoCE and iWARP.
|
|
|
|
*
|
|
|
|
* The netdevices which are associated with containers are
|
|
|
|
* supposed to be exported together with GID table once it
|
|
|
|
* will be exposed through the netlink. Because the
|
|
|
|
* associated netdevices are properties of GIDs.
|
|
|
|
*/
|
|
|
|
RDMA_NLDEV_ATTR_NDEV_INDEX, /* u32 */
|
|
|
|
RDMA_NLDEV_ATTR_NDEV_NAME, /* string */
|
|
|
|
|
2017-06-20 04:55:53 +00:00
|
|
|
RDMA_NLDEV_ATTR_MAX
|
|
|
|
};
|
2012-11-21 15:47:40 +00:00
|
|
|
#endif /* _UAPI_RDMA_NETLINK_H */
|