diff options
author | Christopher Ferris <cferris@google.com> | 2016-08-24 12:11:31 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2016-08-24 17:06:13 -0700 |
commit | ccfaccd726a369b7df72e251710755233d176e5a (patch) | |
tree | 0b5922fbd80989e25d2ee9a53a89ea935dce8ea3 /original/uapi/rdma/rdma_netlink.h | |
parent | afdc10881b6a1fa81ea1301b428aac0c17a48d38 (diff) | |
download | kernel-headers-ccfaccd726a369b7df72e251710755233d176e5a.tar.gz |
Update to kernel headers v4.7.2.
Change-Id: Ie38921bc18a94316dc708b9869e53c2d80c4fed1
Diffstat (limited to 'original/uapi/rdma/rdma_netlink.h')
-rw-r--r-- | original/uapi/rdma/rdma_netlink.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/original/uapi/rdma/rdma_netlink.h b/original/uapi/rdma/rdma_netlink.h index c19a5dc..02fe839 100644 --- a/original/uapi/rdma/rdma_netlink.h +++ b/original/uapi/rdma/rdma_netlink.h @@ -5,9 +5,10 @@ enum { RDMA_NL_RDMA_CM = 1, - RDMA_NL_NES, - RDMA_NL_C4IW, + RDMA_NL_IWCM, + RDMA_NL_RSVD, RDMA_NL_LS, /* RDMA Local Services */ + RDMA_NL_I40IW, RDMA_NL_NUM_CLIENTS }; @@ -134,10 +135,12 @@ enum { * 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. + * IP_RESOLVE - The client requests the local service to resolve an IP to GID. */ enum { RDMA_NL_LS_OP_RESOLVE = 0, RDMA_NL_LS_OP_SET_TIMEOUT, + RDMA_NL_LS_OP_IP_RESOLVE, RDMA_NL_LS_NUM_OPS }; @@ -175,6 +178,10 @@ struct rdma_ls_resolve_header { __u8 path_use; }; +struct rdma_ls_ip_resolve_header { + __u32 ifindex; +}; + /* Local service attribute type */ #define RDMA_NLA_F_MANDATORY (1 << 13) #define RDMA_NLA_TYPE_MASK (~(NLA_F_NESTED | NLA_F_NET_BYTEORDER | \ @@ -192,6 +199,8 @@ struct rdma_ls_resolve_header { * TCLASS u8 * PKEY u16 cpu * QOS_CLASS u16 cpu + * IPV4 u32 BE + * IPV6 u8[16] BE */ enum { LS_NLA_TYPE_UNSPEC = 0, @@ -203,6 +212,8 @@ enum { LS_NLA_TYPE_TCLASS, LS_NLA_TYPE_PKEY, LS_NLA_TYPE_QOS_CLASS, + LS_NLA_TYPE_IPV4, + LS_NLA_TYPE_IPV6, LS_NLA_TYPE_MAX }; |