2018-04-22 04:23:42 +00:00
|
|
|
package nl
|
|
|
|
|
|
|
|
const (
|
|
|
|
RDMA_NL_GET_CLIENT_SHIFT = 10
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
|
|
|
RDMA_NL_NLDEV = 5
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
2019-06-04 11:18:21 +00:00
|
|
|
RDMA_NLDEV_CMD_GET = 1
|
|
|
|
RDMA_NLDEV_CMD_SET = 2
|
|
|
|
RDMA_NLDEV_CMD_SYS_GET = 6
|
2019-06-04 13:59:43 +00:00
|
|
|
RDMA_NLDEV_CMD_SYS_SET = 7
|
2018-04-22 04:23:42 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
|
|
|
RDMA_NLDEV_ATTR_DEV_INDEX = 1
|
|
|
|
RDMA_NLDEV_ATTR_DEV_NAME = 2
|
|
|
|
RDMA_NLDEV_ATTR_PORT_INDEX = 3
|
|
|
|
RDMA_NLDEV_ATTR_CAP_FLAGS = 4
|
|
|
|
RDMA_NLDEV_ATTR_FW_VERSION = 5
|
|
|
|
RDMA_NLDEV_ATTR_NODE_GUID = 6
|
|
|
|
RDMA_NLDEV_ATTR_SYS_IMAGE_GUID = 7
|
|
|
|
RDMA_NLDEV_ATTR_SUBNET_PREFIX = 8
|
|
|
|
RDMA_NLDEV_ATTR_LID = 9
|
|
|
|
RDMA_NLDEV_ATTR_SM_LID = 10
|
|
|
|
RDMA_NLDEV_ATTR_LMC = 11
|
|
|
|
RDMA_NLDEV_ATTR_PORT_STATE = 12
|
|
|
|
RDMA_NLDEV_ATTR_PORT_PHYS_STATE = 13
|
|
|
|
RDMA_NLDEV_ATTR_DEV_NODE_TYPE = 14
|
2019-06-04 11:18:21 +00:00
|
|
|
RDMA_NLDEV_SYS_ATTR_NETNS_MODE = 66
|
2019-06-10 09:21:20 +00:00
|
|
|
RDMA_NLDEV_NET_NS_FD = 68
|
2018-04-22 04:23:42 +00:00
|
|
|
)
|