diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-03-06 19:14:54 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-03-06 19:15:44 +0100 |
| commit | c8a1847658268fbadf20aa486107f2e553a8c768 (patch) | |
| tree | 3c43c398704cd9f84141ac7398009abc5a80b70c /sys/linux | |
| parent | 2814d6b8454ab778f4fbed5f88ed6b0effd02318 (diff) | |
sys/linux: add descriptions for /dev/infiniband/rdma_cm
Also fix uffd and bluetooth consts while we are here.
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/386.go | 498 | ||||
| -rw-r--r-- | sys/linux/amd64.go | 497 | ||||
| -rw-r--r-- | sys/linux/arm.go | 442 | ||||
| -rw-r--r-- | sys/linux/arm64.go | 497 | ||||
| -rw-r--r-- | sys/linux/ppc64le.go | 497 | ||||
| -rw-r--r-- | sys/linux/rdma_cm.txt | 282 | ||||
| -rw-r--r-- | sys/linux/rdma_cm_386.const | 88 | ||||
| -rw-r--r-- | sys/linux/rdma_cm_amd64.const | 88 | ||||
| -rw-r--r-- | sys/linux/rdma_cm_arm.const | 88 | ||||
| -rw-r--r-- | sys/linux/rdma_cm_arm64.const | 88 | ||||
| -rw-r--r-- | sys/linux/rdma_cm_ppc64le.const | 88 | ||||
| -rw-r--r-- | sys/linux/socket_bluetooth_386.const | 1 | ||||
| -rw-r--r-- | sys/linux/socket_bluetooth_amd64.const | 1 | ||||
| -rw-r--r-- | sys/linux/socket_bluetooth_arm.const | 1 | ||||
| -rw-r--r-- | sys/linux/socket_bluetooth_arm64.const | 1 | ||||
| -rw-r--r-- | sys/linux/socket_bluetooth_ppc64le.const | 1 | ||||
| -rw-r--r-- | sys/linux/uffd.txt | 4 | ||||
| -rw-r--r-- | sys/linux/uffd_386.const | 16 | ||||
| -rw-r--r-- | sys/linux/uffd_amd64.const | 16 | ||||
| -rw-r--r-- | sys/linux/uffd_arm.const | 16 | ||||
| -rw-r--r-- | sys/linux/uffd_arm64.const | 16 | ||||
| -rw-r--r-- | sys/linux/uffd_ppc64le.const | 16 |
22 files changed, 3196 insertions, 46 deletions
diff --git a/sys/linux/386.go b/sys/linux/386.go index 35b62c244..25ebbe735 100644 --- a/sys/linux/386.go +++ b/sys/linux/386.go @@ -40,6 +40,7 @@ var resources_386 = []*ResourceDesc{ {Name: "fd_mq", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_mq"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_access", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_access"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_context", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_context"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_create", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_create"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -65,6 +66,8 @@ var resources_386 = []*ResourceDesc{ {Name: "keyring", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "keyring"}, Values: []uint64{0, 18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}}, {Name: "pid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pid"}, Values: []uint64{0, 18446744073709551615}}, {Name: "pkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pkey"}, Values: []uint64{18446744073709551615}}, + {Name: "rdma_cm_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_id"}, Values: []uint64{4294967295}}, + {Name: "rdma_cm_mcast_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_mcast_id"}, Values: []uint64{4294967295}}, {Name: "sock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_alg", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_alg"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_algconn", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_algconn"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -2742,6 +2745,14 @@ var structDescs_386 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnum", TypeSize: 4}}, Buf: "ci"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ci", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "hidp_conninfo", Dir: 1}}}}, }}}, + {Key: StructKey{Name: "ib_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_addr", TypeSize: 16}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "ib_path_rec_data"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_path_rec_data", TypeSize: 72}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_path_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "path_rec", TypeSize: 64}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }}}, {Key: StructKey{Name: "icmp6_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmp6_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f1", TypeSize: 4, ArgDir: 1}}, @@ -7506,6 +7517,333 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "encode", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "parity", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "rdma_ucm_accept"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_accept", TypeSize: 288}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "rdma_ucm_conn_param"}, FldName: "conn_param"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_bind"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_bind", TypeSize: 136}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm_lens", FldName: "addr_size", TypeSize: 2}}, Vals: []uint64{16, 28, 48}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_bind_ip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_bind_ip", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8}}}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]"}, FldName: "create_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]"}, FldName: "destroy_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]"}, FldName: "bind_ip"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]"}, FldName: "resolve_ip"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}, FldName: "resolve_route"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]"}, FldName: "query_route"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]"}, FldName: "connect"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]"}, FldName: "listen"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}, FldName: "accept"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]"}, FldName: "reject"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]"}, FldName: "disconnect"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]"}, FldName: "init_qp_attr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]"}, FldName: "get_event"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, FldName: "set_option"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]"}, FldName: "notify"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]"}, FldName: "join_ip_mcast"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]"}, FldName: "leave_mcast"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]"}, FldName: "migrate_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]"}, FldName: "query"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]"}, FldName: "bind"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]"}, FldName: "resolve_addr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]"}, FldName: "join_mcast"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]", TypeSize: 296}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 8}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_accept"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]", TypeSize: 144}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 20}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_bind"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]", TypeSize: 48}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_bind_ip"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]", TypeSize: 288}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 6}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_connect"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_create_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 10}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_disconnect"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 12}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_get_event"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 11}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_init_qp_attr"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]", TypeSize: 56}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 16}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_join_ip_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]", TypeSize: 160}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 22}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_join_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 17}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_leave_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 7}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_listen"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 18}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_migrate_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 15}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_notify"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_query"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_query"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]", TypeSize: 272}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 9}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_reject"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]", TypeSize: 280}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_addr"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]", TypeSize: 72}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_ip"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 4}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_route"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 14}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &UnionType{Key: StructKey{Name: "rdma_ucm_set_option"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_conn_param"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_conn_param", TypeSize: 272}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_num", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "private_data", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "private_data_len", TypeSize: 1}}, Kind: 2, RangeEnd: 256}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "srq", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "responder_resources", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "initiator_depth", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flow_control", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_count", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry_count", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "valid", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "rdma_ucm_connect"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_connect", TypeSize: 280}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_conn_param"}, FldName: "conn_param"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_id", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_id_resp", Dir: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_port_space", FldName: "ps", TypeSize: 2}}, Vals: []uint64{1, 2, 319, 262, 273}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 4096, 4105}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 5}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 5, RangeEnd: 5}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_mcast_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_mcast_id", FldName: "id", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_destroy_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_destroy_id", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_destroy_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_disconnect"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_disconnect", TypeSize: 4}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_event_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_event_resp", TypeSize: 324, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8, ArgDir: 1}}, Kind: 2, RangeEnd: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "id", TypeSize: 8, ArgDir: 1}}, Kind: 2, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 308}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "rdma_ucm_get_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_get_event", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_event_resp", Dir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_init_qp_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_init_qp_attr", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 144, ArgDir: 1}, Kind: 1, RangeBegin: 144, RangeEnd: 144}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_state", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_join_ip_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_ip_mcast", TypeSize: 48}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_join_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_mcast", TypeSize: 152}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm_lens", FldName: "addr_size", TypeSize: 2}}, Vals: []uint64{16, 28, 48}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_mcast_flags", FldName: "join_flags", TypeSize: 2}}, Vals: []uint64{0, 1}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_leave_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_leave_mcast", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_mcast_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_listen"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_listen", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_migrate_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_migrate_id", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_migrate_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_migrate_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_migrate_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_notify"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_notify", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_event_type", FldName: "event", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_query"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_query", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 512, ArgDir: 1}, Kind: 1, RangeBegin: 512, RangeEnd: 512}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_ucm_query_options", FldName: "option", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_reject"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_reject", TypeSize: 264}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "private_data_len", TypeSize: 1}}, Kind: 2, RangeEnd: 256}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 3}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "private_data", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_addr", TypeSize: 272}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src_size", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dst_size", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "src_addr"}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "dst_addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_ip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_ip", TypeSize: 64}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "src_addr"}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "dst_addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_route"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_route", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, FldName: "id_tos"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, FldName: "id_resuseaddr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, FldName: "id_afonly"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, FldName: "ib_path"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ib_path_rec_data"}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, {Key: StructKey{Name: "rds_atomic_args"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rds_atomic_args", TypeSize: 72}, Fields: []Type{ &StructType{Key: StructKey{Name: "rds_rdma_cookie_t"}, FldName: "cookie"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "local_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, @@ -8832,6 +9170,15 @@ var structDescs_386 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bt_chi_chan", FldName: "chan", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, + {Key: StructKey{Name: "sockaddr_ib"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ib", TypeSize: 48}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sib_family", TypeSize: 2}}, Val: 27}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sib_pkey", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "sib_flowinfo", TypeSize: 4}, BigEndian: true}}, + &StructType{Key: StructKey{Name: "ib_addr"}, FldName: "sib_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "sib_sid", TypeSize: 8}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "sib_sid_mask", TypeSize: 8}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "sib_scope_id", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "sockaddr_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_in", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "port", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, @@ -9181,6 +9528,11 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "chan", TypeSize: 1, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }}}, + {Key: StructKey{Name: "sockaddr_rdma_cm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm", TypeSize: 128}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "in"}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, + &StructType{Key: StructKey{Name: "sockaddr_ib"}, FldName: "ib"}, + }}}, {Key: StructKey{Name: "sockaddr_sco"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 2}}, Val: 31}, &StructType{Key: StructKey{Name: "bdaddr"}, FldName: "addr"}, @@ -9732,6 +10084,21 @@ var structDescs_386 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "f1", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "uffdio_api"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_api", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "api", TypeSize: 8}}, Val: 170}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_features", FldName: "featur", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, + }}}, + {Key: StructKey{Name: "uffdio_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_range", TypeSize: 16}, Fields: []Type{ + &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "start", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "start"}, + }}}, + {Key: StructKey{Name: "uffdio_register"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_register", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "uffdio_range"}, FldName: "range"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_register_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1, 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "unimapdesc_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "unimapdesc_in", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnt", TypeSize: 2}}, Buf: "entries"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, @@ -16357,6 +16724,36 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074025692}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, }}, + {NR: 54, Name: "ioctl$UFFDIO_API", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222841919}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uffdio_api"}}}, + }}, + {NR: 54, Name: "ioctl$UFFDIO_COPY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3223890435}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, + {NR: 54, Name: "ioctl$UFFDIO_REGISTER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3223366144}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uffdio_register"}}}, + }}, + {NR: 54, Name: "ioctl$UFFDIO_UNREGISTER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2148575745}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, + {NR: 54, Name: "ioctl$UFFDIO_WAKE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2148575746}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, + {NR: 54, Name: "ioctl$UFFDIO_ZEROPAGE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3223366148}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, {NR: 54, Name: "ioctl$VHOST_GET_FEATURES", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vhost", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2148052736}, @@ -17541,6 +17938,12 @@ var syscalls_386 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 16384, 65536, 128, 32768, 262144, 256, 131072, 2048, 2097152, 1052672, 512, 4194304}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 4}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 295, Name: "openat$rdma_cm", CallName: "openat", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 4}}, Val: 18446744073709551516}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 24}, Kind: 2, Values: []string{"/dev/infiniband/rdma_cm\x00"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 4}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 295, Name: "openat$rfkill", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 4}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 12}, Kind: 2, Values: []string{"/dev/rfkill\x00"}}}, @@ -20867,6 +21270,11 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fuse_out"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "arg"}, }}, + {NR: 4, Name: "write$rdma_cm", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "rdma_ucm_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"}, + }}, {NR: 4, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -20931,6 +21339,7 @@ var consts_386 = []ConstValue{ {Name: "AF_BLUETOOTH", Value: 31}, {Name: "AF_BRIDGE", Value: 7}, {Name: "AF_CAN", Value: 29}, + {Name: "AF_IB", Value: 27}, {Name: "AF_INET", Value: 2}, {Name: "AF_INET6", Value: 10}, {Name: "AF_IPX", Value: 4}, @@ -21937,6 +22346,47 @@ var consts_386 = []ConstValue{ {Name: "HW_BREAKPOINT_R", Value: 1}, {Name: "HW_BREAKPOINT_W", Value: 2}, {Name: "HW_BREAKPOINT_X", Value: 4}, + {Name: "IB_EVENT_CLIENT_REREGISTER", Value: 17}, + {Name: "IB_EVENT_COMM_EST", Value: 4}, + {Name: "IB_EVENT_CQ_ERR"}, + {Name: "IB_EVENT_DEVICE_FATAL", Value: 8}, + {Name: "IB_EVENT_GID_CHANGE", Value: 18}, + {Name: "IB_EVENT_LID_CHANGE", Value: 11}, + {Name: "IB_EVENT_PATH_MIG", Value: 6}, + {Name: "IB_EVENT_PATH_MIG_ERR", Value: 7}, + {Name: "IB_EVENT_PKEY_CHANGE", Value: 12}, + {Name: "IB_EVENT_PORT_ACTIVE", Value: 9}, + {Name: "IB_EVENT_PORT_ERR", Value: 10}, + {Name: "IB_EVENT_QP_ACCESS_ERR", Value: 3}, + {Name: "IB_EVENT_QP_FATAL", Value: 1}, + {Name: "IB_EVENT_QP_LAST_WQE_REACHED", Value: 16}, + {Name: "IB_EVENT_QP_REQ_ERR", Value: 2}, + {Name: "IB_EVENT_SM_CHANGE", Value: 13}, + {Name: "IB_EVENT_SQ_DRAINED", Value: 5}, + {Name: "IB_EVENT_SRQ_ERR", Value: 14}, + {Name: "IB_EVENT_SRQ_LIMIT_REACHED", Value: 15}, + {Name: "IB_EVENT_WQ_FATAL", Value: 19}, + {Name: "IB_PATH_ALTERNATE", Value: 4}, + {Name: "IB_PATH_GMP", Value: 1}, + {Name: "IB_PATH_INBOUND", Value: 16}, + {Name: "IB_PATH_INBOUND_REVERSE", Value: 32}, + {Name: "IB_PATH_OUTBOUND", Value: 8}, + {Name: "IB_PATH_PRIMARY", Value: 2}, + {Name: "IB_QPT_GSI", Value: 1}, + {Name: "IB_QPT_MAX", Value: 11}, + {Name: "IB_QPT_RAW_ETHERTYPE", Value: 6}, + {Name: "IB_QPT_RAW_IPV6", Value: 5}, + {Name: "IB_QPT_RAW_PACKET", Value: 8}, + {Name: "IB_QPT_RC", Value: 2}, + {Name: "IB_QPT_RESERVED1", Value: 4096}, + {Name: "IB_QPT_RESERVED10", Value: 4105}, + {Name: "IB_QPT_SMI"}, + {Name: "IB_QPT_UC", Value: 3}, + {Name: "IB_QPT_UD", Value: 4}, + {Name: "IB_QPT_XRC_INI", Value: 9}, + {Name: "IB_QPT_XRC_TGT", Value: 10}, + {Name: "IB_UVERBS_AH_ATTR_SIZE", Value: 32}, + {Name: "IB_UVERBS_QP_ATTR_SIZE", Value: 144}, {Name: "ICMPV6_ADDR_UNREACH", Value: 3}, {Name: "ICMPV6_ADM_PROHIBITED", Value: 1}, {Name: "ICMPV6_DEST_UNREACH", Value: 1}, @@ -23449,6 +23899,46 @@ var consts_386 = []ConstValue{ {Name: "P_ALL"}, {Name: "P_PGID", Value: 2}, {Name: "P_PID", Value: 1}, + {Name: "RDMA_MAX_PRIVATE_DATA", Value: 256}, + {Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"}, + {Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1}, + {Name: "RDMA_OPTION_IB", Value: 1}, + {Name: "RDMA_OPTION_IB_PATH", Value: 1}, + {Name: "RDMA_OPTION_ID"}, + {Name: "RDMA_OPTION_ID_AFONLY", Value: 2}, + {Name: "RDMA_OPTION_ID_REUSEADDR", Value: 1}, + {Name: "RDMA_OPTION_ID_TOS"}, + {Name: "RDMA_PS_IB", Value: 319}, + {Name: "RDMA_PS_IPOIB", Value: 2}, + {Name: "RDMA_PS_SDP", Value: 1}, + {Name: "RDMA_PS_TCP", Value: 262}, + {Name: "RDMA_PS_UDP", Value: 273}, + {Name: "RDMA_UCM_EVENT_RESP_SIZE", Value: 324}, + {Name: "RDMA_USER_CM_CMD_ACCEPT", Value: 8}, + {Name: "RDMA_USER_CM_CMD_BIND", Value: 20}, + {Name: "RDMA_USER_CM_CMD_BIND_IP", Value: 2}, + {Name: "RDMA_USER_CM_CMD_CONNECT", Value: 6}, + {Name: "RDMA_USER_CM_CMD_CREATE_ID"}, + {Name: "RDMA_USER_CM_CMD_DESTROY_ID", Value: 1}, + {Name: "RDMA_USER_CM_CMD_DISCONNECT", Value: 10}, + {Name: "RDMA_USER_CM_CMD_GET_EVENT", Value: 12}, + {Name: "RDMA_USER_CM_CMD_INIT_QP_ATTR", Value: 11}, + {Name: "RDMA_USER_CM_CMD_JOIN_IP_MCAST", Value: 16}, + {Name: "RDMA_USER_CM_CMD_JOIN_MCAST", Value: 22}, + {Name: "RDMA_USER_CM_CMD_LEAVE_MCAST", Value: 17}, + {Name: "RDMA_USER_CM_CMD_LISTEN", Value: 7}, + {Name: "RDMA_USER_CM_CMD_MIGRATE_ID", Value: 18}, + {Name: "RDMA_USER_CM_CMD_NOTIFY", Value: 15}, + {Name: "RDMA_USER_CM_CMD_QUERY", Value: 19}, + {Name: "RDMA_USER_CM_CMD_QUERY_ROUTE", Value: 5}, + {Name: "RDMA_USER_CM_CMD_REJECT", Value: 9}, + {Name: "RDMA_USER_CM_CMD_RESOLVE_ADDR", Value: 21}, + {Name: "RDMA_USER_CM_CMD_RESOLVE_IP", Value: 3}, + {Name: "RDMA_USER_CM_CMD_RESOLVE_ROUTE", Value: 4}, + {Name: "RDMA_USER_CM_CMD_SET_OPTION", Value: 14}, + {Name: "RDMA_USER_CM_QUERY_ADDR"}, + {Name: "RDMA_USER_CM_QUERY_GID", Value: 2}, + {Name: "RDMA_USER_CM_QUERY_PATH", Value: 1}, {Name: "RDS_CANCEL_SENT_TO", Value: 1}, {Name: "RDS_CMSG_ATOMIC_CSWP", Value: 7}, {Name: "RDS_CMSG_ATOMIC_FADD", Value: 6}, @@ -24374,9 +24864,15 @@ var consts_386 = []ConstValue{ {Name: "UDP_NO_CHECK6_TX", Value: 101}, {Name: "UDP_V4_FLOW", Value: 2}, {Name: "UDP_V6_FLOW", Value: 6}, + {Name: "UFFDIO_API", Value: 3222841919}, + {Name: "UFFDIO_COPY", Value: 3223890435}, {Name: "UFFDIO_COPY_MODE_DONTWAKE", Value: 1}, + {Name: "UFFDIO_REGISTER", Value: 3223366144}, {Name: "UFFDIO_REGISTER_MODE_MISSING", Value: 1}, {Name: "UFFDIO_REGISTER_MODE_WP", Value: 2}, + {Name: "UFFDIO_UNREGISTER", Value: 2148575745}, + {Name: "UFFDIO_WAKE", Value: 2148575746}, + {Name: "UFFDIO_ZEROPAGE", Value: 3223366148}, {Name: "UFFDIO_ZEROPAGE_MODE_DONTWAKE", Value: 1}, {Name: "UFFD_API", Value: 170}, {Name: "UFFD_FEATURE_EVENT_FORK", Value: 2}, @@ -25077,4 +25573,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "02189651b6bef08854c7e471445f7d13d0a03603" +const revision_386 = "a4d19f3d89c6652e30a30a8f16bb22eedea9571e" diff --git a/sys/linux/amd64.go b/sys/linux/amd64.go index 8326ec0ad..f3801be2a 100644 --- a/sys/linux/amd64.go +++ b/sys/linux/amd64.go @@ -40,6 +40,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "fd_mq", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_mq"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_access", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_access"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_context", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_context"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_create", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_create"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -69,6 +70,8 @@ var resources_amd64 = []*ResourceDesc{ {Name: "keyring", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "keyring"}, Values: []uint64{0, 18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}}, {Name: "pid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pid"}, Values: []uint64{0, 18446744073709551615}}, {Name: "pkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pkey"}, Values: []uint64{18446744073709551615}}, + {Name: "rdma_cm_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_id"}, Values: []uint64{4294967295}}, + {Name: "rdma_cm_mcast_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_mcast_id"}, Values: []uint64{4294967295}}, {Name: "shmaddr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"shmaddr"}, Values: []uint64{0}}, {Name: "sock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_alg", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_alg"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -2828,6 +2831,14 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ci", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "hidp_conninfo", Dir: 1}}}}, }}}, + {Key: StructKey{Name: "ib_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_addr", TypeSize: 16}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "ib_path_rec_data"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_path_rec_data", TypeSize: 72}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_path_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "path_rec", TypeSize: 64}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }}}, {Key: StructKey{Name: "icmp6_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmp6_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f1", TypeSize: 4, ArgDir: 1}}, @@ -7661,6 +7672,333 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "encode", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "parity", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "rdma_ucm_accept"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_accept", TypeSize: 288}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "rdma_ucm_conn_param"}, FldName: "conn_param"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_bind"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_bind", TypeSize: 136}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm_lens", FldName: "addr_size", TypeSize: 2}}, Vals: []uint64{16, 28, 48}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_bind_ip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_bind_ip", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8}}}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]"}, FldName: "create_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]"}, FldName: "destroy_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]"}, FldName: "bind_ip"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]"}, FldName: "resolve_ip"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}, FldName: "resolve_route"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]"}, FldName: "query_route"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]"}, FldName: "connect"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]"}, FldName: "listen"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}, FldName: "accept"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]"}, FldName: "reject"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]"}, FldName: "disconnect"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]"}, FldName: "init_qp_attr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]"}, FldName: "get_event"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, FldName: "set_option"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]"}, FldName: "notify"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]"}, FldName: "join_ip_mcast"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]"}, FldName: "leave_mcast"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]"}, FldName: "migrate_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]"}, FldName: "query"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]"}, FldName: "bind"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]"}, FldName: "resolve_addr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]"}, FldName: "join_mcast"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]", TypeSize: 296}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 8}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_accept"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]", TypeSize: 144}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 20}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_bind"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]", TypeSize: 48}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_bind_ip"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]", TypeSize: 288}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 6}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_connect"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_create_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 10}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_disconnect"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 12}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_get_event"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 11}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_init_qp_attr"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]", TypeSize: 56}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 16}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_join_ip_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]", TypeSize: 160}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 22}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_join_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 17}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_leave_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 7}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_listen"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 18}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_migrate_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 15}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_notify"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_query"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_query"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]", TypeSize: 272}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 9}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_reject"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]", TypeSize: 280}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_addr"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]", TypeSize: 72}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_ip"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 4}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_route"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 14}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &UnionType{Key: StructKey{Name: "rdma_ucm_set_option"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_conn_param"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_conn_param", TypeSize: 272}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_num", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "private_data", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "private_data_len", TypeSize: 1}}, Kind: 2, RangeEnd: 256}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "srq", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "responder_resources", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "initiator_depth", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flow_control", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_count", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry_count", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "valid", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "rdma_ucm_connect"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_connect", TypeSize: 280}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_conn_param"}, FldName: "conn_param"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_id", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_id_resp", Dir: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_port_space", FldName: "ps", TypeSize: 2}}, Vals: []uint64{1, 2, 319, 262, 273}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 4096, 4105}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 5}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 5, RangeEnd: 5}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_mcast_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_mcast_id", FldName: "id", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_destroy_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_destroy_id", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_destroy_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_disconnect"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_disconnect", TypeSize: 4}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_event_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_event_resp", TypeSize: 328, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8, ArgDir: 1}}, Kind: 2, RangeEnd: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "id", TypeSize: 8, ArgDir: 1}}, Kind: 2, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 312}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "rdma_ucm_get_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_get_event", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_event_resp", Dir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_init_qp_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_init_qp_attr", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 144, ArgDir: 1}, Kind: 1, RangeBegin: 144, RangeEnd: 144}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_state", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_join_ip_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_ip_mcast", TypeSize: 48}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_join_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_mcast", TypeSize: 152}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm_lens", FldName: "addr_size", TypeSize: 2}}, Vals: []uint64{16, 28, 48}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_mcast_flags", FldName: "join_flags", TypeSize: 2}}, Vals: []uint64{0, 1}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_leave_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_leave_mcast", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_mcast_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_listen"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_listen", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_migrate_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_migrate_id", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_migrate_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_migrate_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_migrate_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_notify"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_notify", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_event_type", FldName: "event", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_query"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_query", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 512, ArgDir: 1}, Kind: 1, RangeBegin: 512, RangeEnd: 512}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_ucm_query_options", FldName: "option", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_reject"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_reject", TypeSize: 264}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "private_data_len", TypeSize: 1}}, Kind: 2, RangeEnd: 256}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 3}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "private_data", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_addr", TypeSize: 272}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src_size", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dst_size", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "src_addr"}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "dst_addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_ip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_ip", TypeSize: 64}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "src_addr"}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "dst_addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_route"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_route", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, FldName: "id_tos"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, FldName: "id_resuseaddr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, FldName: "id_afonly"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, FldName: "ib_path"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ib_path_rec_data"}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, {Key: StructKey{Name: "rds_atomic_args"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rds_atomic_args", TypeSize: 72}, Fields: []Type{ &StructType{Key: StructKey{Name: "rds_rdma_cookie_t"}, FldName: "cookie"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "local_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, @@ -9034,6 +9372,15 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bt_chi_chan", FldName: "chan", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, + {Key: StructKey{Name: "sockaddr_ib"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ib", TypeSize: 48}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sib_family", TypeSize: 2}}, Val: 27}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sib_pkey", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "sib_flowinfo", TypeSize: 4}, BigEndian: true}}, + &StructType{Key: StructKey{Name: "ib_addr"}, FldName: "sib_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "sib_sid", TypeSize: 8}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "sib_sid_mask", TypeSize: 8}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "sib_scope_id", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "sockaddr_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_in", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "port", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, @@ -9383,6 +9730,11 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "chan", TypeSize: 1, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }}}, + {Key: StructKey{Name: "sockaddr_rdma_cm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm", TypeSize: 128}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "in"}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, + &StructType{Key: StructKey{Name: "sockaddr_ib"}, FldName: "ib"}, + }}}, {Key: StructKey{Name: "sockaddr_sco"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 2}}, Val: 31}, &StructType{Key: StructKey{Name: "bdaddr"}, FldName: "addr"}, @@ -9986,6 +10338,20 @@ var structDescs_amd64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "f1", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "uffdio_api"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_api", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "api", TypeSize: 8}}, Val: 170}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_features", FldName: "featur", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, + }}}, + {Key: StructKey{Name: "uffdio_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_range", TypeSize: 16}, Fields: []Type{ + &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "start", TypeSize: 8}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "start"}, + }}}, + {Key: StructKey{Name: "uffdio_register"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_register", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "uffdio_range"}, FldName: "range"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_register_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1, 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "unimapdesc_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "unimapdesc_in", TypeSize: 16}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnt", TypeSize: 2}}, Buf: "entries"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, @@ -16750,6 +17116,36 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074025692}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, }}, + {NR: 16, Name: "ioctl$UFFDIO_API", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222841919}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_api"}}}, + }}, + {NR: 16, Name: "ioctl$UFFDIO_COPY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223890435}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, + {NR: 16, Name: "ioctl$UFFDIO_REGISTER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223366144}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_register"}}}, + }}, + {NR: 16, Name: "ioctl$UFFDIO_UNREGISTER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148575745}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, + {NR: 16, Name: "ioctl$UFFDIO_WAKE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148575746}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, + {NR: 16, Name: "ioctl$UFFDIO_ZEROPAGE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223366148}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, {NR: 16, Name: "ioctl$VHOST_GET_FEATURES", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vhost", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148052736}, @@ -17984,6 +18380,12 @@ var syscalls_amd64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 16384, 65536, 128, 32768, 262144, 256, 131072, 2048, 2097152, 1052672, 512, 4194304}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 257, Name: "openat$rdma_cm", CallName: "openat", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 24}, Kind: 2, Values: []string{"/dev/infiniband/rdma_cm\x00"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 257, Name: "openat$rfkill", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 12}, Kind: 2, Values: []string{"/dev/rfkill\x00"}}}, @@ -21459,6 +21861,11 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_out"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "arg"}, }}, + {NR: 1, Name: "write$rdma_cm", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "rdma_ucm_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {NR: 1, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -21523,6 +21930,7 @@ var consts_amd64 = []ConstValue{ {Name: "AF_BLUETOOTH", Value: 31}, {Name: "AF_BRIDGE", Value: 7}, {Name: "AF_CAN", Value: 29}, + {Name: "AF_IB", Value: 27}, {Name: "AF_INET", Value: 2}, {Name: "AF_INET6", Value: 10}, {Name: "AF_IPX", Value: 4}, @@ -22529,6 +22937,47 @@ var consts_amd64 = []ConstValue{ {Name: "HW_BREAKPOINT_R", Value: 1}, {Name: "HW_BREAKPOINT_W", Value: 2}, {Name: "HW_BREAKPOINT_X", Value: 4}, + {Name: "IB_EVENT_CLIENT_REREGISTER", Value: 17}, + {Name: "IB_EVENT_COMM_EST", Value: 4}, + {Name: "IB_EVENT_CQ_ERR"}, + {Name: "IB_EVENT_DEVICE_FATAL", Value: 8}, + {Name: "IB_EVENT_GID_CHANGE", Value: 18}, + {Name: "IB_EVENT_LID_CHANGE", Value: 11}, + {Name: "IB_EVENT_PATH_MIG", Value: 6}, + {Name: "IB_EVENT_PATH_MIG_ERR", Value: 7}, + {Name: "IB_EVENT_PKEY_CHANGE", Value: 12}, + {Name: "IB_EVENT_PORT_ACTIVE", Value: 9}, + {Name: "IB_EVENT_PORT_ERR", Value: 10}, + {Name: "IB_EVENT_QP_ACCESS_ERR", Value: 3}, + {Name: "IB_EVENT_QP_FATAL", Value: 1}, + {Name: "IB_EVENT_QP_LAST_WQE_REACHED", Value: 16}, + {Name: "IB_EVENT_QP_REQ_ERR", Value: 2}, + {Name: "IB_EVENT_SM_CHANGE", Value: 13}, + {Name: "IB_EVENT_SQ_DRAINED", Value: 5}, + {Name: "IB_EVENT_SRQ_ERR", Value: 14}, + {Name: "IB_EVENT_SRQ_LIMIT_REACHED", Value: 15}, + {Name: "IB_EVENT_WQ_FATAL", Value: 19}, + {Name: "IB_PATH_ALTERNATE", Value: 4}, + {Name: "IB_PATH_GMP", Value: 1}, + {Name: "IB_PATH_INBOUND", Value: 16}, + {Name: "IB_PATH_INBOUND_REVERSE", Value: 32}, + {Name: "IB_PATH_OUTBOUND", Value: 8}, + {Name: "IB_PATH_PRIMARY", Value: 2}, + {Name: "IB_QPT_GSI", Value: 1}, + {Name: "IB_QPT_MAX", Value: 11}, + {Name: "IB_QPT_RAW_ETHERTYPE", Value: 6}, + {Name: "IB_QPT_RAW_IPV6", Value: 5}, + {Name: "IB_QPT_RAW_PACKET", Value: 8}, + {Name: "IB_QPT_RC", Value: 2}, + {Name: "IB_QPT_RESERVED1", Value: 4096}, + {Name: "IB_QPT_RESERVED10", Value: 4105}, + {Name: "IB_QPT_SMI"}, + {Name: "IB_QPT_UC", Value: 3}, + {Name: "IB_QPT_UD", Value: 4}, + {Name: "IB_QPT_XRC_INI", Value: 9}, + {Name: "IB_QPT_XRC_TGT", Value: 10}, + {Name: "IB_UVERBS_AH_ATTR_SIZE", Value: 32}, + {Name: "IB_UVERBS_QP_ATTR_SIZE", Value: 144}, {Name: "ICMPV6_ADDR_UNREACH", Value: 3}, {Name: "ICMPV6_ADM_PROHIBITED", Value: 1}, {Name: "ICMPV6_DEST_UNREACH", Value: 1}, @@ -24041,6 +24490,46 @@ var consts_amd64 = []ConstValue{ {Name: "P_ALL"}, {Name: "P_PGID", Value: 2}, {Name: "P_PID", Value: 1}, + {Name: "RDMA_MAX_PRIVATE_DATA", Value: 256}, + {Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"}, + {Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1}, + {Name: "RDMA_OPTION_IB", Value: 1}, + {Name: "RDMA_OPTION_IB_PATH", Value: 1}, + {Name: "RDMA_OPTION_ID"}, + {Name: "RDMA_OPTION_ID_AFONLY", Value: 2}, + {Name: "RDMA_OPTION_ID_REUSEADDR", Value: 1}, + {Name: "RDMA_OPTION_ID_TOS"}, + {Name: "RDMA_PS_IB", Value: 319}, + {Name: "RDMA_PS_IPOIB", Value: 2}, + {Name: "RDMA_PS_SDP", Value: 1}, + {Name: "RDMA_PS_TCP", Value: 262}, + {Name: "RDMA_PS_UDP", Value: 273}, + {Name: "RDMA_UCM_EVENT_RESP_SIZE", Value: 328}, + {Name: "RDMA_USER_CM_CMD_ACCEPT", Value: 8}, + {Name: "RDMA_USER_CM_CMD_BIND", Value: 20}, + {Name: "RDMA_USER_CM_CMD_BIND_IP", Value: 2}, + {Name: "RDMA_USER_CM_CMD_CONNECT", Value: 6}, + {Name: "RDMA_USER_CM_CMD_CREATE_ID"}, + {Name: "RDMA_USER_CM_CMD_DESTROY_ID", Value: 1}, + {Name: "RDMA_USER_CM_CMD_DISCONNECT", Value: 10}, + {Name: "RDMA_USER_CM_CMD_GET_EVENT", Value: 12}, + {Name: "RDMA_USER_CM_CMD_INIT_QP_ATTR", Value: 11}, + {Name: "RDMA_USER_CM_CMD_JOIN_IP_MCAST", Value: 16}, + {Name: "RDMA_USER_CM_CMD_JOIN_MCAST", Value: 22}, + {Name: "RDMA_USER_CM_CMD_LEAVE_MCAST", Value: 17}, + {Name: "RDMA_USER_CM_CMD_LISTEN", Value: 7}, + {Name: "RDMA_USER_CM_CMD_MIGRATE_ID", Value: 18}, + {Name: "RDMA_USER_CM_CMD_NOTIFY", Value: 15}, + {Name: "RDMA_USER_CM_CMD_QUERY", Value: 19}, + {Name: "RDMA_USER_CM_CMD_QUERY_ROUTE", Value: 5}, + {Name: "RDMA_USER_CM_CMD_REJECT", Value: 9}, + {Name: "RDMA_USER_CM_CMD_RESOLVE_ADDR", Value: 21}, + {Name: "RDMA_USER_CM_CMD_RESOLVE_IP", Value: 3}, + {Name: "RDMA_USER_CM_CMD_RESOLVE_ROUTE", Value: 4}, + {Name: "RDMA_USER_CM_CMD_SET_OPTION", Value: 14}, + {Name: "RDMA_USER_CM_QUERY_ADDR"}, + {Name: "RDMA_USER_CM_QUERY_GID", Value: 2}, + {Name: "RDMA_USER_CM_QUERY_PATH", Value: 1}, {Name: "RDS_CANCEL_SENT_TO", Value: 1}, {Name: "RDS_CMSG_ATOMIC_CSWP", Value: 7}, {Name: "RDS_CMSG_ATOMIC_FADD", Value: 6}, @@ -24980,9 +25469,15 @@ var consts_amd64 = []ConstValue{ {Name: "UDP_NO_CHECK6_TX", Value: 101}, {Name: "UDP_V4_FLOW", Value: 2}, {Name: "UDP_V6_FLOW", Value: 6}, + {Name: "UFFDIO_API", Value: 3222841919}, + {Name: "UFFDIO_COPY", Value: 3223890435}, {Name: "UFFDIO_COPY_MODE_DONTWAKE", Value: 1}, + {Name: "UFFDIO_REGISTER", Value: 3223366144}, {Name: "UFFDIO_REGISTER_MODE_MISSING", Value: 1}, {Name: "UFFDIO_REGISTER_MODE_WP", Value: 2}, + {Name: "UFFDIO_UNREGISTER", Value: 2148575745}, + {Name: "UFFDIO_WAKE", Value: 2148575746}, + {Name: "UFFDIO_ZEROPAGE", Value: 3223366148}, {Name: "UFFDIO_ZEROPAGE_MODE_DONTWAKE", Value: 1}, {Name: "UFFD_API", Value: 170}, {Name: "UFFD_FEATURE_EVENT_FORK", Value: 2}, @@ -25694,4 +26189,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "88804cf99067322549285d5a9d0d860fe4e266af" +const revision_amd64 = "0a160a2283a1e3ba08b37705ee1dbb6670b86af6" diff --git a/sys/linux/arm.go b/sys/linux/arm.go index 2beb766fb..6dcfebac7 100644 --- a/sys/linux/arm.go +++ b/sys/linux/arm.go @@ -40,6 +40,7 @@ var resources_arm = []*ResourceDesc{ {Name: "fd_mq", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_mq"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_access", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_access"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_context", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_context"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_create", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_create"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -69,6 +70,8 @@ var resources_arm = []*ResourceDesc{ {Name: "keyring", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "keyring"}, Values: []uint64{0, 18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}}, {Name: "pid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pid"}, Values: []uint64{0, 18446744073709551615}}, {Name: "pkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pkey"}, Values: []uint64{18446744073709551615}}, + {Name: "rdma_cm_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_id"}, Values: []uint64{4294967295}}, + {Name: "rdma_cm_mcast_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_mcast_id"}, Values: []uint64{4294967295}}, {Name: "shmaddr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"shmaddr"}, Values: []uint64{0}}, {Name: "sock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_alg", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_alg"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -2727,6 +2730,14 @@ var structDescs_arm = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnum", TypeSize: 4}}, Buf: "ci"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ci", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "hidp_conninfo", Dir: 1}}}}, }}}, + {Key: StructKey{Name: "ib_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_addr", TypeSize: 16}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "ib_path_rec_data"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_path_rec_data", TypeSize: 72}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_path_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "path_rec", TypeSize: 64}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }}}, {Key: StructKey{Name: "icmp6_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmp6_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f1", TypeSize: 4, ArgDir: 1}}, @@ -7329,6 +7340,333 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "encode", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "parity", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "rdma_ucm_accept"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_accept", TypeSize: 288}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "rdma_ucm_conn_param"}, FldName: "conn_param"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_bind"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_bind", TypeSize: 136}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm_lens", FldName: "addr_size", TypeSize: 2}}, Vals: []uint64{16, 28, 48}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_bind_ip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_bind_ip", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8}}}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]"}, FldName: "create_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]"}, FldName: "destroy_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]"}, FldName: "bind_ip"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]"}, FldName: "resolve_ip"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}, FldName: "resolve_route"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]"}, FldName: "query_route"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]"}, FldName: "connect"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]"}, FldName: "listen"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}, FldName: "accept"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]"}, FldName: "reject"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]"}, FldName: "disconnect"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]"}, FldName: "init_qp_attr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]"}, FldName: "get_event"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, FldName: "set_option"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]"}, FldName: "notify"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]"}, FldName: "join_ip_mcast"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]"}, FldName: "leave_mcast"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]"}, FldName: "migrate_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]"}, FldName: "query"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]"}, FldName: "bind"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]"}, FldName: "resolve_addr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]"}, FldName: "join_mcast"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]", TypeSize: 296}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 8}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_accept"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]", TypeSize: 144}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 20}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_bind"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]", TypeSize: 48}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_bind_ip"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]", TypeSize: 288}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 6}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_connect"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_create_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 10}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_disconnect"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 12}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_get_event"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 11}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_init_qp_attr"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]", TypeSize: 56}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 16}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_join_ip_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]", TypeSize: 160}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 22}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_join_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 17}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_leave_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 7}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_listen"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 18}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_migrate_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 15}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_notify"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_query"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_query"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]", TypeSize: 272}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 9}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_reject"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]", TypeSize: 280}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_addr"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]", TypeSize: 72}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_ip"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 4}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_route"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 14}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &UnionType{Key: StructKey{Name: "rdma_ucm_set_option"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_conn_param"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_conn_param", TypeSize: 272}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_num", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "private_data", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "private_data_len", TypeSize: 1}}, Kind: 2, RangeEnd: 256}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "srq", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "responder_resources", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "initiator_depth", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flow_control", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_count", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry_count", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "valid", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "rdma_ucm_connect"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_connect", TypeSize: 280}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_conn_param"}, FldName: "conn_param"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_id", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_id_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_port_space", FldName: "ps", TypeSize: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 4096, 4105}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 5}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 5, RangeEnd: 5}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_mcast_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_mcast_id", FldName: "id", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_destroy_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_destroy_id", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_destroy_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_disconnect"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_disconnect", TypeSize: 4}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_event_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_event_resp", TypeSize: 324, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8, ArgDir: 1}}, Kind: 2, RangeEnd: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "id", TypeSize: 8, ArgDir: 1}}, Kind: 2, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 308}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "rdma_ucm_get_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_get_event", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_event_resp", Dir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_init_qp_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_init_qp_attr", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 144, ArgDir: 1}, Kind: 1, RangeBegin: 144, RangeEnd: 144}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_state", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_join_ip_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_ip_mcast", TypeSize: 48}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_join_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_mcast", TypeSize: 152}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm_lens", FldName: "addr_size", TypeSize: 2}}, Vals: []uint64{16, 28, 48}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_mcast_flags", FldName: "join_flags", TypeSize: 2}}, Vals: []uint64{0, 1}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_leave_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_leave_mcast", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_mcast_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_listen"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_listen", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_migrate_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_migrate_id", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_migrate_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_migrate_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_migrate_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_notify"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_notify", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_event_type", FldName: "event", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_query"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_query", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 512, ArgDir: 1}, Kind: 1, RangeBegin: 512, RangeEnd: 512}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_ucm_query_options", FldName: "option", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_reject"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_reject", TypeSize: 264}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "private_data_len", TypeSize: 1}}, Kind: 2, RangeEnd: 256}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 3}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "private_data", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_addr", TypeSize: 272}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src_size", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dst_size", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "src_addr"}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "dst_addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_ip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_ip", TypeSize: 64}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "src_addr"}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "dst_addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_route"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_route", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, FldName: "id_tos"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, FldName: "id_resuseaddr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, FldName: "id_afonly"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, FldName: "ib_path"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ib_path_rec_data"}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, {Key: StructKey{Name: "rds_atomic_args"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rds_atomic_args", TypeSize: 72}, Fields: []Type{ &StructType{Key: StructKey{Name: "rds_rdma_cookie_t"}, FldName: "cookie"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "local_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, @@ -8681,6 +9019,15 @@ var structDescs_arm = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bt_chi_chan", FldName: "chan", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, + {Key: StructKey{Name: "sockaddr_ib"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ib", TypeSize: 48}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sib_family", TypeSize: 2}}, Val: 27}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sib_pkey", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "sib_flowinfo", TypeSize: 4}, BigEndian: true}}, + &StructType{Key: StructKey{Name: "ib_addr"}, FldName: "sib_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "sib_sid", TypeSize: 8}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "sib_sid_mask", TypeSize: 8}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "sib_scope_id", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "sockaddr_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_in", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "port", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, @@ -9030,6 +9377,11 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "chan", TypeSize: 1, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }}}, + {Key: StructKey{Name: "sockaddr_rdma_cm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm", TypeSize: 128}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "in"}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, + &StructType{Key: StructKey{Name: "sockaddr_ib"}, FldName: "ib"}, + }}}, {Key: StructKey{Name: "sockaddr_sco"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 2}}, Val: 31}, &StructType{Key: StructKey{Name: "bdaddr"}, FldName: "addr"}, @@ -17296,6 +17648,12 @@ var syscalls_arm = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 65536, 16384, 128, 131072, 262144, 256, 32768, 2048, 2097152, 1052672, 512, 4194304}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 4}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 322, Name: "openat$rdma_cm", CallName: "openat", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 4}}, Val: 18446744073709551516}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 24}, Kind: 2, Values: []string{"/dev/infiniband/rdma_cm\x00"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 4}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 322, Name: "openat$rfkill", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 4}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 12}, Kind: 2, Values: []string{"/dev/rfkill\x00"}}}, @@ -20729,6 +21087,11 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fuse_out"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "arg"}, }}, + {NR: 4, Name: "write$rdma_cm", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "rdma_ucm_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"}, + }}, {NR: 4, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -20793,6 +21156,7 @@ var consts_arm = []ConstValue{ {Name: "AF_BLUETOOTH", Value: 31}, {Name: "AF_BRIDGE", Value: 7}, {Name: "AF_CAN", Value: 29}, + {Name: "AF_IB", Value: 27}, {Name: "AF_INET", Value: 2}, {Name: "AF_INET6", Value: 10}, {Name: "AF_IPX", Value: 4}, @@ -21790,6 +22154,47 @@ var consts_arm = []ConstValue{ {Name: "HW_BREAKPOINT_R", Value: 1}, {Name: "HW_BREAKPOINT_W", Value: 2}, {Name: "HW_BREAKPOINT_X", Value: 4}, + {Name: "IB_EVENT_CLIENT_REREGISTER", Value: 17}, + {Name: "IB_EVENT_COMM_EST", Value: 4}, + {Name: "IB_EVENT_CQ_ERR"}, + {Name: "IB_EVENT_DEVICE_FATAL", Value: 8}, + {Name: "IB_EVENT_GID_CHANGE", Value: 18}, + {Name: "IB_EVENT_LID_CHANGE", Value: 11}, + {Name: "IB_EVENT_PATH_MIG", Value: 6}, + {Name: "IB_EVENT_PATH_MIG_ERR", Value: 7}, + {Name: "IB_EVENT_PKEY_CHANGE", Value: 12}, + {Name: "IB_EVENT_PORT_ACTIVE", Value: 9}, + {Name: "IB_EVENT_PORT_ERR", Value: 10}, + {Name: "IB_EVENT_QP_ACCESS_ERR", Value: 3}, + {Name: "IB_EVENT_QP_FATAL", Value: 1}, + {Name: "IB_EVENT_QP_LAST_WQE_REACHED", Value: 16}, + {Name: "IB_EVENT_QP_REQ_ERR", Value: 2}, + {Name: "IB_EVENT_SM_CHANGE", Value: 13}, + {Name: "IB_EVENT_SQ_DRAINED", Value: 5}, + {Name: "IB_EVENT_SRQ_ERR", Value: 14}, + {Name: "IB_EVENT_SRQ_LIMIT_REACHED", Value: 15}, + {Name: "IB_EVENT_WQ_FATAL", Value: 19}, + {Name: "IB_PATH_ALTERNATE", Value: 4}, + {Name: "IB_PATH_GMP", Value: 1}, + {Name: "IB_PATH_INBOUND", Value: 16}, + {Name: "IB_PATH_INBOUND_REVERSE", Value: 32}, + {Name: "IB_PATH_OUTBOUND", Value: 8}, + {Name: "IB_PATH_PRIMARY", Value: 2}, + {Name: "IB_QPT_GSI", Value: 1}, + {Name: "IB_QPT_MAX", Value: 11}, + {Name: "IB_QPT_RAW_ETHERTYPE", Value: 6}, + {Name: "IB_QPT_RAW_IPV6", Value: 5}, + {Name: "IB_QPT_RAW_PACKET", Value: 8}, + {Name: "IB_QPT_RC", Value: 2}, + {Name: "IB_QPT_RESERVED1", Value: 4096}, + {Name: "IB_QPT_RESERVED10", Value: 4105}, + {Name: "IB_QPT_SMI"}, + {Name: "IB_QPT_UC", Value: 3}, + {Name: "IB_QPT_UD", Value: 4}, + {Name: "IB_QPT_XRC_INI", Value: 9}, + {Name: "IB_QPT_XRC_TGT", Value: 10}, + {Name: "IB_UVERBS_AH_ATTR_SIZE", Value: 32}, + {Name: "IB_UVERBS_QP_ATTR_SIZE", Value: 144}, {Name: "ICMPV6_ADDR_UNREACH", Value: 3}, {Name: "ICMPV6_ADM_PROHIBITED", Value: 1}, {Name: "ICMPV6_DEST_UNREACH", Value: 1}, @@ -23236,6 +23641,41 @@ var consts_arm = []ConstValue{ {Name: "P_ALL"}, {Name: "P_PGID", Value: 2}, {Name: "P_PID", Value: 1}, + {Name: "RDMA_MAX_PRIVATE_DATA", Value: 256}, + {Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"}, + {Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1}, + {Name: "RDMA_OPTION_IB", Value: 1}, + {Name: "RDMA_OPTION_IB_PATH", Value: 1}, + {Name: "RDMA_OPTION_ID"}, + {Name: "RDMA_OPTION_ID_AFONLY", Value: 2}, + {Name: "RDMA_OPTION_ID_REUSEADDR", Value: 1}, + {Name: "RDMA_OPTION_ID_TOS"}, + {Name: "RDMA_UCM_EVENT_RESP_SIZE", Value: 324}, + {Name: "RDMA_USER_CM_CMD_ACCEPT", Value: 8}, + {Name: "RDMA_USER_CM_CMD_BIND", Value: 20}, + {Name: "RDMA_USER_CM_CMD_BIND_IP", Value: 2}, + {Name: "RDMA_USER_CM_CMD_CONNECT", Value: 6}, + {Name: "RDMA_USER_CM_CMD_CREATE_ID"}, + {Name: "RDMA_USER_CM_CMD_DESTROY_ID", Value: 1}, + {Name: "RDMA_USER_CM_CMD_DISCONNECT", Value: 10}, + {Name: "RDMA_USER_CM_CMD_GET_EVENT", Value: 12}, + {Name: "RDMA_USER_CM_CMD_INIT_QP_ATTR", Value: 11}, + {Name: "RDMA_USER_CM_CMD_JOIN_IP_MCAST", Value: 16}, + {Name: "RDMA_USER_CM_CMD_JOIN_MCAST", Value: 22}, + {Name: "RDMA_USER_CM_CMD_LEAVE_MCAST", Value: 17}, + {Name: "RDMA_USER_CM_CMD_LISTEN", Value: 7}, + {Name: "RDMA_USER_CM_CMD_MIGRATE_ID", Value: 18}, + {Name: "RDMA_USER_CM_CMD_NOTIFY", Value: 15}, + {Name: "RDMA_USER_CM_CMD_QUERY", Value: 19}, + {Name: "RDMA_USER_CM_CMD_QUERY_ROUTE", Value: 5}, + {Name: "RDMA_USER_CM_CMD_REJECT", Value: 9}, + {Name: "RDMA_USER_CM_CMD_RESOLVE_ADDR", Value: 21}, + {Name: "RDMA_USER_CM_CMD_RESOLVE_IP", Value: 3}, + {Name: "RDMA_USER_CM_CMD_RESOLVE_ROUTE", Value: 4}, + {Name: "RDMA_USER_CM_CMD_SET_OPTION", Value: 14}, + {Name: "RDMA_USER_CM_QUERY_ADDR"}, + {Name: "RDMA_USER_CM_QUERY_GID", Value: 2}, + {Name: "RDMA_USER_CM_QUERY_PATH", Value: 1}, {Name: "RDS_CANCEL_SENT_TO", Value: 1}, {Name: "RDS_CMSG_ATOMIC_CSWP", Value: 7}, {Name: "RDS_CMSG_ATOMIC_FADD", Value: 6}, @@ -24854,4 +25294,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "18403624cd7d4ff75fbee0a23bd49cb08934311f" +const revision_arm = "8f884a3256f4d0f2a84807391e479e7713ba6fac" diff --git a/sys/linux/arm64.go b/sys/linux/arm64.go index a3fffc53e..94faf34f8 100644 --- a/sys/linux/arm64.go +++ b/sys/linux/arm64.go @@ -40,6 +40,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "fd_mq", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_mq"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_access", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_access"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_context", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_context"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_create", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_create"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -69,6 +70,8 @@ var resources_arm64 = []*ResourceDesc{ {Name: "keyring", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "keyring"}, Values: []uint64{0, 18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}}, {Name: "pid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pid"}, Values: []uint64{0, 18446744073709551615}}, {Name: "pkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pkey"}, Values: []uint64{18446744073709551615}}, + {Name: "rdma_cm_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_id"}, Values: []uint64{4294967295}}, + {Name: "rdma_cm_mcast_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_mcast_id"}, Values: []uint64{4294967295}}, {Name: "shmaddr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"shmaddr"}, Values: []uint64{0}}, {Name: "sock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_alg", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_alg"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -2828,6 +2831,14 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ci", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "hidp_conninfo", Dir: 1}}}}, }}}, + {Key: StructKey{Name: "ib_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_addr", TypeSize: 16}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "ib_path_rec_data"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_path_rec_data", TypeSize: 72}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_path_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "path_rec", TypeSize: 64}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }}}, {Key: StructKey{Name: "icmp6_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmp6_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f1", TypeSize: 4, ArgDir: 1}}, @@ -7466,6 +7477,333 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "encode", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "parity", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "rdma_ucm_accept"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_accept", TypeSize: 288}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "rdma_ucm_conn_param"}, FldName: "conn_param"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_bind"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_bind", TypeSize: 136}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm_lens", FldName: "addr_size", TypeSize: 2}}, Vals: []uint64{16, 28, 48}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_bind_ip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_bind_ip", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8}}}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]"}, FldName: "create_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]"}, FldName: "destroy_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]"}, FldName: "bind_ip"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]"}, FldName: "resolve_ip"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}, FldName: "resolve_route"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]"}, FldName: "query_route"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]"}, FldName: "connect"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]"}, FldName: "listen"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}, FldName: "accept"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]"}, FldName: "reject"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]"}, FldName: "disconnect"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]"}, FldName: "init_qp_attr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]"}, FldName: "get_event"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, FldName: "set_option"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]"}, FldName: "notify"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]"}, FldName: "join_ip_mcast"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]"}, FldName: "leave_mcast"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]"}, FldName: "migrate_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]"}, FldName: "query"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]"}, FldName: "bind"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]"}, FldName: "resolve_addr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]"}, FldName: "join_mcast"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]", TypeSize: 296}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 8}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_accept"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]", TypeSize: 144}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 20}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_bind"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]", TypeSize: 48}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_bind_ip"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]", TypeSize: 288}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 6}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_connect"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_create_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 10}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_disconnect"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 12}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_get_event"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 11}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_init_qp_attr"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]", TypeSize: 56}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 16}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_join_ip_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]", TypeSize: 160}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 22}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_join_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 17}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_leave_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 7}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_listen"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 18}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_migrate_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 15}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_notify"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_query"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_query"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]", TypeSize: 272}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 9}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_reject"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]", TypeSize: 280}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_addr"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]", TypeSize: 72}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_ip"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 4}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_route"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 14}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &UnionType{Key: StructKey{Name: "rdma_ucm_set_option"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_conn_param"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_conn_param", TypeSize: 272}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_num", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "private_data", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "private_data_len", TypeSize: 1}}, Kind: 2, RangeEnd: 256}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "srq", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "responder_resources", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "initiator_depth", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flow_control", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_count", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry_count", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "valid", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "rdma_ucm_connect"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_connect", TypeSize: 280}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_conn_param"}, FldName: "conn_param"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_id", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_id_resp", Dir: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_port_space", FldName: "ps", TypeSize: 2}}, Vals: []uint64{1, 2, 319, 262, 273}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 4096, 4105}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 5}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 5, RangeEnd: 5}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_mcast_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_mcast_id", FldName: "id", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_destroy_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_destroy_id", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_destroy_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_disconnect"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_disconnect", TypeSize: 4}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_event_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_event_resp", TypeSize: 328, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8, ArgDir: 1}}, Kind: 2, RangeEnd: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "id", TypeSize: 8, ArgDir: 1}}, Kind: 2, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 312}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "rdma_ucm_get_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_get_event", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_event_resp", Dir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_init_qp_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_init_qp_attr", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 144, ArgDir: 1}, Kind: 1, RangeBegin: 144, RangeEnd: 144}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_state", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_join_ip_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_ip_mcast", TypeSize: 48}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_join_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_mcast", TypeSize: 152}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm_lens", FldName: "addr_size", TypeSize: 2}}, Vals: []uint64{16, 28, 48}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_mcast_flags", FldName: "join_flags", TypeSize: 2}}, Vals: []uint64{0, 1}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_leave_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_leave_mcast", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_mcast_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_listen"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_listen", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_migrate_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_migrate_id", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_migrate_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_migrate_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_migrate_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_notify"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_notify", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_event_type", FldName: "event", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_query"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_query", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 512, ArgDir: 1}, Kind: 1, RangeBegin: 512, RangeEnd: 512}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_ucm_query_options", FldName: "option", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_reject"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_reject", TypeSize: 264}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "private_data_len", TypeSize: 1}}, Kind: 2, RangeEnd: 256}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 3}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "private_data", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_addr", TypeSize: 272}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src_size", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dst_size", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "src_addr"}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "dst_addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_ip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_ip", TypeSize: 64}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "src_addr"}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "dst_addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_route"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_route", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, FldName: "id_tos"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, FldName: "id_resuseaddr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, FldName: "id_afonly"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, FldName: "ib_path"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ib_path_rec_data"}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, {Key: StructKey{Name: "rds_atomic_args"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rds_atomic_args", TypeSize: 72}, Fields: []Type{ &StructType{Key: StructKey{Name: "rds_rdma_cookie_t"}, FldName: "cookie"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "local_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, @@ -8839,6 +9177,15 @@ var structDescs_arm64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bt_chi_chan", FldName: "chan", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, + {Key: StructKey{Name: "sockaddr_ib"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ib", TypeSize: 48}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sib_family", TypeSize: 2}}, Val: 27}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sib_pkey", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "sib_flowinfo", TypeSize: 4}, BigEndian: true}}, + &StructType{Key: StructKey{Name: "ib_addr"}, FldName: "sib_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "sib_sid", TypeSize: 8}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "sib_sid_mask", TypeSize: 8}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "sib_scope_id", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "sockaddr_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_in", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "port", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, @@ -9188,6 +9535,11 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "chan", TypeSize: 1, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }}}, + {Key: StructKey{Name: "sockaddr_rdma_cm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm", TypeSize: 128}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "in"}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, + &StructType{Key: StructKey{Name: "sockaddr_ib"}, FldName: "ib"}, + }}}, {Key: StructKey{Name: "sockaddr_sco"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 2}}, Val: 31}, &StructType{Key: StructKey{Name: "bdaddr"}, FldName: "addr"}, @@ -9787,6 +10139,20 @@ var structDescs_arm64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "f1", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "uffdio_api"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_api", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "api", TypeSize: 8}}, Val: 170}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_features", FldName: "featur", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, + }}}, + {Key: StructKey{Name: "uffdio_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_range", TypeSize: 16}, Fields: []Type{ + &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "start", TypeSize: 8}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "start"}, + }}}, + {Key: StructKey{Name: "uffdio_register"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_register", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "uffdio_range"}, FldName: "range"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_register_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1, 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "unimapdesc_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "unimapdesc_in", TypeSize: 16}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnt", TypeSize: 2}}, Buf: "entries"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, @@ -16358,6 +16724,36 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074025692}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, }}, + {NR: 29, Name: "ioctl$UFFDIO_API", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222841919}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_api"}}}, + }}, + {NR: 29, Name: "ioctl$UFFDIO_COPY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223890435}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, + {NR: 29, Name: "ioctl$UFFDIO_REGISTER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223366144}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_register"}}}, + }}, + {NR: 29, Name: "ioctl$UFFDIO_UNREGISTER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148575745}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, + {NR: 29, Name: "ioctl$UFFDIO_WAKE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148575746}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, + {NR: 29, Name: "ioctl$UFFDIO_ZEROPAGE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223366148}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, {NR: 29, Name: "ioctl$VHOST_GET_FEATURES", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vhost", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148052736}, @@ -17527,6 +17923,12 @@ var syscalls_arm64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 65536, 16384, 128, 131072, 262144, 256, 32768, 2048, 2097152, 1052672, 512, 4194304}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 56, Name: "openat$rdma_cm", CallName: "openat", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 24}, Kind: 2, Values: []string{"/dev/infiniband/rdma_cm\x00"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 56, Name: "openat$rfkill", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 12}, Kind: 2, Values: []string{"/dev/rfkill\x00"}}}, @@ -20925,6 +21327,11 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_out"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "arg"}, }}, + {NR: 64, Name: "write$rdma_cm", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "rdma_ucm_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {NR: 64, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -20989,6 +21396,7 @@ var consts_arm64 = []ConstValue{ {Name: "AF_BLUETOOTH", Value: 31}, {Name: "AF_BRIDGE", Value: 7}, {Name: "AF_CAN", Value: 29}, + {Name: "AF_IB", Value: 27}, {Name: "AF_INET", Value: 2}, {Name: "AF_INET6", Value: 10}, {Name: "AF_IPX", Value: 4}, @@ -21995,6 +22403,47 @@ var consts_arm64 = []ConstValue{ {Name: "HW_BREAKPOINT_R", Value: 1}, {Name: "HW_BREAKPOINT_W", Value: 2}, {Name: "HW_BREAKPOINT_X", Value: 4}, + {Name: "IB_EVENT_CLIENT_REREGISTER", Value: 17}, + {Name: "IB_EVENT_COMM_EST", Value: 4}, + {Name: "IB_EVENT_CQ_ERR"}, + {Name: "IB_EVENT_DEVICE_FATAL", Value: 8}, + {Name: "IB_EVENT_GID_CHANGE", Value: 18}, + {Name: "IB_EVENT_LID_CHANGE", Value: 11}, + {Name: "IB_EVENT_PATH_MIG", Value: 6}, + {Name: "IB_EVENT_PATH_MIG_ERR", Value: 7}, + {Name: "IB_EVENT_PKEY_CHANGE", Value: 12}, + {Name: "IB_EVENT_PORT_ACTIVE", Value: 9}, + {Name: "IB_EVENT_PORT_ERR", Value: 10}, + {Name: "IB_EVENT_QP_ACCESS_ERR", Value: 3}, + {Name: "IB_EVENT_QP_FATAL", Value: 1}, + {Name: "IB_EVENT_QP_LAST_WQE_REACHED", Value: 16}, + {Name: "IB_EVENT_QP_REQ_ERR", Value: 2}, + {Name: "IB_EVENT_SM_CHANGE", Value: 13}, + {Name: "IB_EVENT_SQ_DRAINED", Value: 5}, + {Name: "IB_EVENT_SRQ_ERR", Value: 14}, + {Name: "IB_EVENT_SRQ_LIMIT_REACHED", Value: 15}, + {Name: "IB_EVENT_WQ_FATAL", Value: 19}, + {Name: "IB_PATH_ALTERNATE", Value: 4}, + {Name: "IB_PATH_GMP", Value: 1}, + {Name: "IB_PATH_INBOUND", Value: 16}, + {Name: "IB_PATH_INBOUND_REVERSE", Value: 32}, + {Name: "IB_PATH_OUTBOUND", Value: 8}, + {Name: "IB_PATH_PRIMARY", Value: 2}, + {Name: "IB_QPT_GSI", Value: 1}, + {Name: "IB_QPT_MAX", Value: 11}, + {Name: "IB_QPT_RAW_ETHERTYPE", Value: 6}, + {Name: "IB_QPT_RAW_IPV6", Value: 5}, + {Name: "IB_QPT_RAW_PACKET", Value: 8}, + {Name: "IB_QPT_RC", Value: 2}, + {Name: "IB_QPT_RESERVED1", Value: 4096}, + {Name: "IB_QPT_RESERVED10", Value: 4105}, + {Name: "IB_QPT_SMI"}, + {Name: "IB_QPT_UC", Value: 3}, + {Name: "IB_QPT_UD", Value: 4}, + {Name: "IB_QPT_XRC_INI", Value: 9}, + {Name: "IB_QPT_XRC_TGT", Value: 10}, + {Name: "IB_UVERBS_AH_ATTR_SIZE", Value: 32}, + {Name: "IB_UVERBS_QP_ATTR_SIZE", Value: 144}, {Name: "ICMPV6_ADDR_UNREACH", Value: 3}, {Name: "ICMPV6_ADM_PROHIBITED", Value: 1}, {Name: "ICMPV6_DEST_UNREACH", Value: 1}, @@ -23464,6 +23913,46 @@ var consts_arm64 = []ConstValue{ {Name: "P_ALL"}, {Name: "P_PGID", Value: 2}, {Name: "P_PID", Value: 1}, + {Name: "RDMA_MAX_PRIVATE_DATA", Value: 256}, + {Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"}, + {Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1}, + {Name: "RDMA_OPTION_IB", Value: 1}, + {Name: "RDMA_OPTION_IB_PATH", Value: 1}, + {Name: "RDMA_OPTION_ID"}, + {Name: "RDMA_OPTION_ID_AFONLY", Value: 2}, + {Name: "RDMA_OPTION_ID_REUSEADDR", Value: 1}, + {Name: "RDMA_OPTION_ID_TOS"}, + {Name: "RDMA_PS_IB", Value: 319}, + {Name: "RDMA_PS_IPOIB", Value: 2}, + {Name: "RDMA_PS_SDP", Value: 1}, + {Name: "RDMA_PS_TCP", Value: 262}, + {Name: "RDMA_PS_UDP", Value: 273}, + {Name: "RDMA_UCM_EVENT_RESP_SIZE", Value: 328}, + {Name: "RDMA_USER_CM_CMD_ACCEPT", Value: 8}, + {Name: "RDMA_USER_CM_CMD_BIND", Value: 20}, + {Name: "RDMA_USER_CM_CMD_BIND_IP", Value: 2}, + {Name: "RDMA_USER_CM_CMD_CONNECT", Value: 6}, + {Name: "RDMA_USER_CM_CMD_CREATE_ID"}, + {Name: "RDMA_USER_CM_CMD_DESTROY_ID", Value: 1}, + {Name: "RDMA_USER_CM_CMD_DISCONNECT", Value: 10}, + {Name: "RDMA_USER_CM_CMD_GET_EVENT", Value: 12}, + {Name: "RDMA_USER_CM_CMD_INIT_QP_ATTR", Value: 11}, + {Name: "RDMA_USER_CM_CMD_JOIN_IP_MCAST", Value: 16}, + {Name: "RDMA_USER_CM_CMD_JOIN_MCAST", Value: 22}, + {Name: "RDMA_USER_CM_CMD_LEAVE_MCAST", Value: 17}, + {Name: "RDMA_USER_CM_CMD_LISTEN", Value: 7}, + {Name: "RDMA_USER_CM_CMD_MIGRATE_ID", Value: 18}, + {Name: "RDMA_USER_CM_CMD_NOTIFY", Value: 15}, + {Name: "RDMA_USER_CM_CMD_QUERY", Value: 19}, + {Name: "RDMA_USER_CM_CMD_QUERY_ROUTE", Value: 5}, + {Name: "RDMA_USER_CM_CMD_REJECT", Value: 9}, + {Name: "RDMA_USER_CM_CMD_RESOLVE_ADDR", Value: 21}, + {Name: "RDMA_USER_CM_CMD_RESOLVE_IP", Value: 3}, + {Name: "RDMA_USER_CM_CMD_RESOLVE_ROUTE", Value: 4}, + {Name: "RDMA_USER_CM_CMD_SET_OPTION", Value: 14}, + {Name: "RDMA_USER_CM_QUERY_ADDR"}, + {Name: "RDMA_USER_CM_QUERY_GID", Value: 2}, + {Name: "RDMA_USER_CM_QUERY_PATH", Value: 1}, {Name: "RDS_CANCEL_SENT_TO", Value: 1}, {Name: "RDS_CMSG_ATOMIC_CSWP", Value: 7}, {Name: "RDS_CMSG_ATOMIC_FADD", Value: 6}, @@ -24403,9 +24892,15 @@ var consts_arm64 = []ConstValue{ {Name: "UDP_NO_CHECK6_TX", Value: 101}, {Name: "UDP_V4_FLOW", Value: 2}, {Name: "UDP_V6_FLOW", Value: 6}, + {Name: "UFFDIO_API", Value: 3222841919}, + {Name: "UFFDIO_COPY", Value: 3223890435}, {Name: "UFFDIO_COPY_MODE_DONTWAKE", Value: 1}, + {Name: "UFFDIO_REGISTER", Value: 3223366144}, {Name: "UFFDIO_REGISTER_MODE_MISSING", Value: 1}, {Name: "UFFDIO_REGISTER_MODE_WP", Value: 2}, + {Name: "UFFDIO_UNREGISTER", Value: 2148575745}, + {Name: "UFFDIO_WAKE", Value: 2148575746}, + {Name: "UFFDIO_ZEROPAGE", Value: 3223366148}, {Name: "UFFDIO_ZEROPAGE_MODE_DONTWAKE", Value: 1}, {Name: "UFFD_API", Value: 170}, {Name: "UFFD_FEATURE_EVENT_FORK", Value: 2}, @@ -25076,4 +25571,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "705baefddd0b12b031b62c88dea4b2bde73b1dd9" +const revision_arm64 = "a227f9eaa7342c1fc70e2518d7d2637f13f704b8" diff --git a/sys/linux/ppc64le.go b/sys/linux/ppc64le.go index 51ce543e4..2211ecd50 100644 --- a/sys/linux/ppc64le.go +++ b/sys/linux/ppc64le.go @@ -40,6 +40,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "fd_mq", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_mq"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_perf", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_random", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_random"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rdma_cm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma_cm"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_access", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_access"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_context", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_context"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_selinux_create", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_selinux_create"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -65,6 +66,8 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "keyring", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "keyring"}, Values: []uint64{0, 18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}}, {Name: "pid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pid"}, Values: []uint64{0, 18446744073709551615}}, {Name: "pkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pkey"}, Values: []uint64{18446744073709551615}}, + {Name: "rdma_cm_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_id"}, Values: []uint64{4294967295}}, + {Name: "rdma_cm_mcast_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_mcast_id"}, Values: []uint64{4294967295}}, {Name: "sock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_alg", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_alg"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_algconn", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_algconn"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -2822,6 +2825,14 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "ci", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "hidp_conninfo", Dir: 1}}}}, }}}, + {Key: StructKey{Name: "ib_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_addr", TypeSize: 16}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }, AlignAttr: 8}}, + {Key: StructKey{Name: "ib_path_rec_data"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_path_rec_data", TypeSize: 72}, Fields: []Type{ + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_path_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16, 32}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "path_rec", TypeSize: 64}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + }}}, {Key: StructKey{Name: "icmp6_pair", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmp6_pair", TypeSize: 8, ArgDir: 1}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_icmp6", FldName: "f1", TypeSize: 4, ArgDir: 1}}, @@ -7421,6 +7432,333 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "encode", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "parity", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "rdma_ucm_accept"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_accept", TypeSize: 288}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "rdma_ucm_conn_param"}, FldName: "conn_param"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_bind"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_bind", TypeSize: 136}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm_lens", FldName: "addr_size", TypeSize: 2}}, Vals: []uint64{16, 28, 48}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_bind_ip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_bind_ip", TypeSize: 40}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8}}}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]"}, FldName: "create_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]"}, FldName: "destroy_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]"}, FldName: "bind_ip"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]"}, FldName: "resolve_ip"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}, FldName: "resolve_route"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]"}, FldName: "query_route"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]"}, FldName: "connect"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]"}, FldName: "listen"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}, FldName: "accept"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]"}, FldName: "reject"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]"}, FldName: "disconnect"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]"}, FldName: "init_qp_attr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]"}, FldName: "get_event"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, FldName: "set_option"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]"}, FldName: "notify"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]"}, FldName: "join_ip_mcast"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]"}, FldName: "leave_mcast"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]"}, FldName: "migrate_id"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]"}, FldName: "query"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]"}, FldName: "bind"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]"}, FldName: "resolve_addr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]"}, FldName: "join_mcast"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]", TypeSize: 296}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 8}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_accept"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind]", TypeSize: 144}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 20}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_bind"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip]", TypeSize: 48}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_bind_ip"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect]", TypeSize: 288}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 6}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_connect"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_create_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect]", TypeSize: 12}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 10}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_disconnect"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 12}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_get_event"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 11}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_init_qp_attr"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast]", TypeSize: 56}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 16}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_join_ip_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast]", TypeSize: 160}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 22}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_join_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 17}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_leave_mcast"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 7}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_listen"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 18}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_migrate_id"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 15}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_notify"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 19}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_query"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query]", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_query"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject]", TypeSize: 272}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 9}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_reject"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr]", TypeSize: 280}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_addr"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip]", TypeSize: 72}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_ip"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route]", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 4}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &StructType{Key: StructKey{Name: "rdma_ucm_resolve_route"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 14}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "in", TypeSize: 2}}, BitSize: 8, Buf: "msg"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out", TypeSize: 2}}, Val: 64000}, + &UnionType{Key: StructKey{Name: "rdma_ucm_set_option"}, FldName: "msg"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_conn_param"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_conn_param", TypeSize: 272}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_num", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "private_data", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "private_data_len", TypeSize: 1}}, Kind: 2, RangeEnd: 256}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "srq", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "responder_resources", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "initiator_depth", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "flow_control", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_count", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry_count", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "valid", TypeSize: 1}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "rdma_ucm_connect"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_connect", TypeSize: 280}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_conn_param"}, FldName: "conn_param"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_id", TypeSize: 24}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_id_resp", Dir: 1}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_port_space", FldName: "ps", TypeSize: 2}}, Vals: []uint64{1, 2, 319, 262, 273}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 4096, 4105}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 5}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 5, RangeEnd: 5}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_create_mcast_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_mcast_id", FldName: "id", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_destroy_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_destroy_id", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_destroy_id_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_disconnect"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_disconnect", TypeSize: 4}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_event_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_event_resp", TypeSize: 328, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8, ArgDir: 1}}, Kind: 2, RangeEnd: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "id", TypeSize: 8, ArgDir: 1}}, Kind: 2, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 312}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "rdma_ucm_get_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_get_event", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_event_resp", Dir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_init_qp_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_init_qp_attr", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 144, ArgDir: 1}, Kind: 1, RangeBegin: 144, RangeEnd: 144}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_state", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_join_ip_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_ip_mcast", TypeSize: 48}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_join_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_mcast", TypeSize: 152}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_create_mcast_id_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "uid", TypeSize: 8}}, Kind: 2, RangeEnd: 4}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm_lens", FldName: "addr_size", TypeSize: 2}}, Vals: []uint64{16, 28, 48}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_ucm_join_mcast_flags", FldName: "join_flags", TypeSize: 2}}, Vals: []uint64{0, 1}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_leave_mcast"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_leave_mcast", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_destroy_id_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_mcast_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_listen"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_listen", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "backlog", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_migrate_id"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_migrate_id", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_migrate_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_migrate_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_migrate_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_notify"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_notify", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_event_type", FldName: "event", TypeSize: 4}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_query"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_query", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "response", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 512, ArgDir: 1}, Kind: 1, RangeBegin: 512, RangeEnd: 512}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_ucm_query_options", FldName: "option", TypeSize: 4}}, Vals: []uint64{0, 1, 2}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_reject"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_reject", TypeSize: 264}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "private_data_len", TypeSize: 1}}, Kind: 2, RangeEnd: 256}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 3}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "private_data", TypeSize: 256}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_addr", TypeSize: 272}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "src_size", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dst_size", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "src_addr"}, + &UnionType{Key: StructKey{Name: "sockaddr_rdma_cm"}, FldName: "dst_addr"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_ip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_ip", TypeSize: 64}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "src_addr"}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "dst_addr"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_resolve_route"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_resolve_route", TypeSize: 8}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout_ms", TypeSize: 4}}}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option", TypeSize: 24}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, FldName: "id_tos"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, FldName: "id_resuseaddr"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, FldName: "id_afonly"}, + &StructType{Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, FldName: "ib_path"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ib_path_rec_data"}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, + {Key: StructKey{Name: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8]", TypeSize: 24}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", TypeSize: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "rdma_cm_id", FldName: "id", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Buf: "optval"}, + }}}, {Key: StructKey{Name: "rds_atomic_args"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rds_atomic_args", TypeSize: 72}, Fields: []Type{ &StructType{Key: StructKey{Name: "rds_rdma_cookie_t"}, FldName: "cookie"}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr64", FldName: "local_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, @@ -8766,6 +9104,15 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bt_chi_chan", FldName: "chan", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, }}}, + {Key: StructKey{Name: "sockaddr_ib"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ib", TypeSize: 48}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sib_family", TypeSize: 2}}, Val: 27}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "sib_pkey", TypeSize: 2}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "sib_flowinfo", TypeSize: 4}, BigEndian: true}}, + &StructType{Key: StructKey{Name: "ib_addr"}, FldName: "sib_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "sib_sid", TypeSize: 8}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64be", FldName: "sib_sid_mask", TypeSize: 8}, BigEndian: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "sib_scope_id", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "sockaddr_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_in", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 2}}, Val: 2}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "port", TypeSize: 2}, BigEndian: true}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, @@ -9115,6 +9462,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "chan", TypeSize: 1, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }}}, + {Key: StructKey{Name: "sockaddr_rdma_cm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_rdma_cm", TypeSize: 128}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_in"}, FldName: "in"}, + &StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "in6"}, + &StructType{Key: StructKey{Name: "sockaddr_ib"}, FldName: "ib"}, + }}}, {Key: StructKey{Name: "sockaddr_sco"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fam", TypeSize: 2}}, Val: 31}, &StructType{Key: StructKey{Name: "bdaddr"}, FldName: "addr"}, @@ -9642,6 +9994,20 @@ var structDescs_ppc64le = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "f0", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "f1", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "uffdio_api"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_api", TypeSize: 24}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "api", TypeSize: 8}}, Val: 170}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_features", FldName: "featur", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, + }}}, + {Key: StructKey{Name: "uffdio_range"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_range", TypeSize: 16}, Fields: []Type{ + &VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "start", TypeSize: 8}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "start"}, + }}}, + {Key: StructKey{Name: "uffdio_register"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "uffdio_register", TypeSize: 32}, Fields: []Type{ + &StructType{Key: StructKey{Name: "uffdio_range"}, FldName: "range"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "uffdio_register_mode", FldName: "mode", TypeSize: 8}}, Vals: []uint64{1, 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ioctls", TypeSize: 8}}}, + }}}, {Key: StructKey{Name: "unimapdesc_in"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "unimapdesc_in", TypeSize: 16}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cnt", TypeSize: 2}}, Buf: "entries"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 6}}, IsPad: true}, @@ -16197,6 +16563,36 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2147767516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}, Kind: 2, RangeEnd: 1}}, }}, + {NR: 54, Name: "ioctl$UFFDIO_API", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222841919}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_api"}}}, + }}, + {NR: 54, Name: "ioctl$UFFDIO_COPY", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223890435}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, + {NR: 54, Name: "ioctl$UFFDIO_REGISTER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223366144}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_register"}}}, + }}, + {NR: 54, Name: "ioctl$UFFDIO_UNREGISTER", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074833921}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, + {NR: 54, Name: "ioctl$UFFDIO_WAKE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074833922}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, + {NR: 54, Name: "ioctl$UFFDIO_ZEROPAGE", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uffd", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3223366148}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uffdio_range"}}}, + }}, {NR: 54, Name: "ioctl$VHOST_GET_FEATURES", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_vhost", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074310912}, @@ -17381,6 +17777,12 @@ var syscalls_ppc64le = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{0, 1, 2, 1024, 8192, 524288, 64, 131072, 16384, 128, 65536, 262144, 256, 32768, 2048, 2097152, 1052672, 512, 4194304}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 286, Name: "openat$rdma_cm", CallName: "openat", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 24}, Kind: 2, Values: []string{"/dev/infiniband/rdma_cm\x00"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 8}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mode", TypeSize: 8}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 286, Name: "openat$rfkill", CallName: "openat", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "fd", TypeSize: 8}}, Val: 18446744073709551516}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 12}, Kind: 2, Values: []string{"/dev/rfkill\x00"}}}, @@ -20692,6 +21094,11 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_out"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "arg"}, }}, + {NR: 4, Name: "write$rdma_cm", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma_cm", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "rdma_ucm_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, + }}, {NR: 4, Name: "write$selinux_access", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_selinux_access", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "selinux_access_req"}}}, @@ -20756,6 +21163,7 @@ var consts_ppc64le = []ConstValue{ {Name: "AF_BLUETOOTH", Value: 31}, {Name: "AF_BRIDGE", Value: 7}, {Name: "AF_CAN", Value: 29}, + {Name: "AF_IB", Value: 27}, {Name: "AF_INET", Value: 2}, {Name: "AF_INET6", Value: 10}, {Name: "AF_IPX", Value: 4}, @@ -21762,6 +22170,47 @@ var consts_ppc64le = []ConstValue{ {Name: "HW_BREAKPOINT_R", Value: 1}, {Name: "HW_BREAKPOINT_W", Value: 2}, {Name: "HW_BREAKPOINT_X", Value: 4}, + {Name: "IB_EVENT_CLIENT_REREGISTER", Value: 17}, + {Name: "IB_EVENT_COMM_EST", Value: 4}, + {Name: "IB_EVENT_CQ_ERR"}, + {Name: "IB_EVENT_DEVICE_FATAL", Value: 8}, + {Name: "IB_EVENT_GID_CHANGE", Value: 18}, + {Name: "IB_EVENT_LID_CHANGE", Value: 11}, + {Name: "IB_EVENT_PATH_MIG", Value: 6}, + {Name: "IB_EVENT_PATH_MIG_ERR", Value: 7}, + {Name: "IB_EVENT_PKEY_CHANGE", Value: 12}, + {Name: "IB_EVENT_PORT_ACTIVE", Value: 9}, + {Name: "IB_EVENT_PORT_ERR", Value: 10}, + {Name: "IB_EVENT_QP_ACCESS_ERR", Value: 3}, + {Name: "IB_EVENT_QP_FATAL", Value: 1}, + {Name: "IB_EVENT_QP_LAST_WQE_REACHED", Value: 16}, + {Name: "IB_EVENT_QP_REQ_ERR", Value: 2}, + {Name: "IB_EVENT_SM_CHANGE", Value: 13}, + {Name: "IB_EVENT_SQ_DRAINED", Value: 5}, + {Name: "IB_EVENT_SRQ_ERR", Value: 14}, + {Name: "IB_EVENT_SRQ_LIMIT_REACHED", Value: 15}, + {Name: "IB_EVENT_WQ_FATAL", Value: 19}, + {Name: "IB_PATH_ALTERNATE", Value: 4}, + {Name: "IB_PATH_GMP", Value: 1}, + {Name: "IB_PATH_INBOUND", Value: 16}, + {Name: "IB_PATH_INBOUND_REVERSE", Value: 32}, + {Name: "IB_PATH_OUTBOUND", Value: 8}, + {Name: "IB_PATH_PRIMARY", Value: 2}, + {Name: "IB_QPT_GSI", Value: 1}, + {Name: "IB_QPT_MAX", Value: 11}, + {Name: "IB_QPT_RAW_ETHERTYPE", Value: 6}, + {Name: "IB_QPT_RAW_IPV6", Value: 5}, + {Name: "IB_QPT_RAW_PACKET", Value: 8}, + {Name: "IB_QPT_RC", Value: 2}, + {Name: "IB_QPT_RESERVED1", Value: 4096}, + {Name: "IB_QPT_RESERVED10", Value: 4105}, + {Name: "IB_QPT_SMI"}, + {Name: "IB_QPT_UC", Value: 3}, + {Name: "IB_QPT_UD", Value: 4}, + {Name: "IB_QPT_XRC_INI", Value: 9}, + {Name: "IB_QPT_XRC_TGT", Value: 10}, + {Name: "IB_UVERBS_AH_ATTR_SIZE", Value: 32}, + {Name: "IB_UVERBS_QP_ATTR_SIZE", Value: 144}, {Name: "ICMPV6_ADDR_UNREACH", Value: 3}, {Name: "ICMPV6_ADM_PROHIBITED", Value: 1}, {Name: "ICMPV6_DEST_UNREACH", Value: 1}, @@ -23225,6 +23674,46 @@ var consts_ppc64le = []ConstValue{ {Name: "P_ALL"}, {Name: "P_PGID", Value: 2}, {Name: "P_PID", Value: 1}, + {Name: "RDMA_MAX_PRIVATE_DATA", Value: 256}, + {Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"}, + {Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1}, + {Name: "RDMA_OPTION_IB", Value: 1}, + {Name: "RDMA_OPTION_IB_PATH", Value: 1}, + {Name: "RDMA_OPTION_ID"}, + {Name: "RDMA_OPTION_ID_AFONLY", Value: 2}, + {Name: "RDMA_OPTION_ID_REUSEADDR", Value: 1}, + {Name: "RDMA_OPTION_ID_TOS"}, + {Name: "RDMA_PS_IB", Value: 319}, + {Name: "RDMA_PS_IPOIB", Value: 2}, + {Name: "RDMA_PS_SDP", Value: 1}, + {Name: "RDMA_PS_TCP", Value: 262}, + {Name: "RDMA_PS_UDP", Value: 273}, + {Name: "RDMA_UCM_EVENT_RESP_SIZE", Value: 328}, + {Name: "RDMA_USER_CM_CMD_ACCEPT", Value: 8}, + {Name: "RDMA_USER_CM_CMD_BIND", Value: 20}, + {Name: "RDMA_USER_CM_CMD_BIND_IP", Value: 2}, + {Name: "RDMA_USER_CM_CMD_CONNECT", Value: 6}, + {Name: "RDMA_USER_CM_CMD_CREATE_ID"}, + {Name: "RDMA_USER_CM_CMD_DESTROY_ID", Value: 1}, + {Name: "RDMA_USER_CM_CMD_DISCONNECT", Value: 10}, + {Name: "RDMA_USER_CM_CMD_GET_EVENT", Value: 12}, + {Name: "RDMA_USER_CM_CMD_INIT_QP_ATTR", Value: 11}, + {Name: "RDMA_USER_CM_CMD_JOIN_IP_MCAST", Value: 16}, + {Name: "RDMA_USER_CM_CMD_JOIN_MCAST", Value: 22}, + {Name: "RDMA_USER_CM_CMD_LEAVE_MCAST", Value: 17}, + {Name: "RDMA_USER_CM_CMD_LISTEN", Value: 7}, + {Name: "RDMA_USER_CM_CMD_MIGRATE_ID", Value: 18}, + {Name: "RDMA_USER_CM_CMD_NOTIFY", Value: 15}, + {Name: "RDMA_USER_CM_CMD_QUERY", Value: 19}, + {Name: "RDMA_USER_CM_CMD_QUERY_ROUTE", Value: 5}, + {Name: "RDMA_USER_CM_CMD_REJECT", Value: 9}, + {Name: "RDMA_USER_CM_CMD_RESOLVE_ADDR", Value: 21}, + {Name: "RDMA_USER_CM_CMD_RESOLVE_IP", Value: 3}, + {Name: "RDMA_USER_CM_CMD_RESOLVE_ROUTE", Value: 4}, + {Name: "RDMA_USER_CM_CMD_SET_OPTION", Value: 14}, + {Name: "RDMA_USER_CM_QUERY_ADDR"}, + {Name: "RDMA_USER_CM_QUERY_GID", Value: 2}, + {Name: "RDMA_USER_CM_QUERY_PATH", Value: 1}, {Name: "RDS_CANCEL_SENT_TO", Value: 1}, {Name: "RDS_CMSG_ATOMIC_CSWP", Value: 7}, {Name: "RDS_CMSG_ATOMIC_FADD", Value: 6}, @@ -24140,9 +24629,15 @@ var consts_ppc64le = []ConstValue{ {Name: "UDP_NO_CHECK6_TX", Value: 101}, {Name: "UDP_V4_FLOW", Value: 2}, {Name: "UDP_V6_FLOW", Value: 6}, + {Name: "UFFDIO_API", Value: 3222841919}, + {Name: "UFFDIO_COPY", Value: 3223890435}, {Name: "UFFDIO_COPY_MODE_DONTWAKE", Value: 1}, + {Name: "UFFDIO_REGISTER", Value: 3223366144}, {Name: "UFFDIO_REGISTER_MODE_MISSING", Value: 1}, {Name: "UFFDIO_REGISTER_MODE_WP", Value: 2}, + {Name: "UFFDIO_UNREGISTER", Value: 1074833921}, + {Name: "UFFDIO_WAKE", Value: 1074833922}, + {Name: "UFFDIO_ZEROPAGE", Value: 3223366148}, {Name: "UFFDIO_ZEROPAGE_MODE_DONTWAKE", Value: 1}, {Name: "UFFD_API", Value: 170}, {Name: "UFFD_FEATURE_EVENT_FORK", Value: 2}, @@ -24838,4 +25333,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "4016a25f76026c14fbae9073386e98195c06a349" +const revision_ppc64le = "0a6ad6424c9561f4fddaeab2c50b92213fd76f79" diff --git a/sys/linux/rdma_cm.txt b/sys/linux/rdma_cm.txt new file mode 100644 index 000000000..56fab22a7 --- /dev/null +++ b/sys/linux/rdma_cm.txt @@ -0,0 +1,282 @@ +# Copyright 2018 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +include <uapi/linux/fcntl.h> +include <uapi/rdma/rdma_user_cm.h> +include <uapi/rdma/ib_user_verbs.h> +include <rdma/rdma_cm.h> +include <rdma/ib_verbs.h> +include <rdma/ib.h> + +resource fd_rdma_cm[fd] +resource rdma_cm_id[int32]: 0xffffffff +resource rdma_cm_mcast_id[int32]: 0xffffffff +type rdma_cm_uid int64[0:4] + +openat$rdma_cm(fd const[AT_FDCWD], file ptr[in, string["/dev/infiniband/rdma_cm"]], flags const[O_RDWR], mode const[0]) fd_rdma_cm +write$rdma_cm(fd fd_rdma_cm, data ptr[in, rdma_ucm_cmd], len bytesize[data]) + +rdma_ucm_cmd [ + create_id rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CREATE_ID, rdma_ucm_create_id] + destroy_id rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DESTROY_ID, rdma_ucm_destroy_id] + bind_ip rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND_IP, rdma_ucm_bind_ip] + resolve_ip rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_IP, rdma_ucm_resolve_ip] + resolve_route rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ROUTE, rdma_ucm_resolve_route] + query_route rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY_ROUTE, rdma_ucm_query] + connect rdma_ucm_cmd_t[RDMA_USER_CM_CMD_CONNECT, rdma_ucm_connect] + listen rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LISTEN, rdma_ucm_listen] + accept rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept] + reject rdma_ucm_cmd_t[RDMA_USER_CM_CMD_REJECT, rdma_ucm_reject] + disconnect rdma_ucm_cmd_t[RDMA_USER_CM_CMD_DISCONNECT, rdma_ucm_disconnect] + init_qp_attr rdma_ucm_cmd_t[RDMA_USER_CM_CMD_INIT_QP_ATTR, rdma_ucm_init_qp_attr] + get_event rdma_ucm_cmd_t[RDMA_USER_CM_CMD_GET_EVENT, rdma_ucm_get_event] + set_option rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option] + notify rdma_ucm_cmd_t[RDMA_USER_CM_CMD_NOTIFY, rdma_ucm_notify] + join_ip_mcast rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_IP_MCAST, rdma_ucm_join_ip_mcast] + leave_mcast rdma_ucm_cmd_t[RDMA_USER_CM_CMD_LEAVE_MCAST, rdma_ucm_leave_mcast] + migrate_id rdma_ucm_cmd_t[RDMA_USER_CM_CMD_MIGRATE_ID, rdma_ucm_migrate_id] + query rdma_ucm_cmd_t[RDMA_USER_CM_CMD_QUERY, rdma_ucm_query] + bind rdma_ucm_cmd_t[RDMA_USER_CM_CMD_BIND, rdma_ucm_bind] + resolve_addr rdma_ucm_cmd_t[RDMA_USER_CM_CMD_RESOLVE_ADDR, rdma_ucm_resolve_addr] + join_mcast rdma_ucm_cmd_t[RDMA_USER_CM_CMD_JOIN_MCAST, rdma_ucm_join_mcast] +] [varlen] + +type rdma_ucm_cmd_t[CMD, MSG] { + cmd const[CMD, int32] + in bytesize[msg, int16] +# TODO: this seems to be only checked for less, so we can get away with a large const. +# TODO: A properer support would require support for bytesize[MSG.response] syntax. + out const[64000, int16] + msg MSG +} + +rdma_ucm_create_id { + uid rdma_cm_uid + response ptr64[out, rdma_ucm_create_id_resp] + ps flags[rdma_port_space, int16] + qp_type flags[ib_qp_type, int8] + reserved array[const[0, int8], 5] +} + +rdma_ucm_create_id_resp { + id rdma_cm_id +} + +rdma_ucm_destroy_id { + response ptr64[out, rdma_ucm_destroy_id_resp] + id rdma_cm_id + reserved const[0, int32] +} + +rdma_ucm_destroy_id_resp { + events_reported int32 +} + +rdma_ucm_bind_ip { + response const[0, int64] + addr sockaddr_in6 + id rdma_cm_id +} + +rdma_ucm_bind { + id rdma_cm_id + addr_size flags[sockaddr_rdma_cm_lens, int16] + reserved const[0, int16] + addr sockaddr_rdma_cm +} + +rdma_ucm_resolve_ip { + src_addr sockaddr_in6 + dst_addr sockaddr_in6 + id rdma_cm_id + timeout_ms int32 +} + +rdma_ucm_resolve_addr { + id rdma_cm_id + timeout_ms int32 + src_size const[0, int16] + dst_size const[0, int16] + reserved const[0, int32] + src_addr sockaddr_rdma_cm + dst_addr sockaddr_rdma_cm +} + +rdma_ucm_resolve_route { + id rdma_cm_id + timeout_ms int32 +} + +rdma_ucm_query { + response ptr64[out, array[int8, 512]] + id rdma_cm_id + option flags[rdma_ucm_query_options, int32] +} + +rdma_ucm_query_options = RDMA_USER_CM_QUERY_ADDR, RDMA_USER_CM_QUERY_PATH, RDMA_USER_CM_QUERY_GID + +rdma_ucm_connect { + conn_param rdma_ucm_conn_param + id rdma_cm_id + reserved const[0, int32] +} + +rdma_ucm_listen { + id rdma_cm_id + backlog int32 +} + +rdma_ucm_accept { + uid rdma_cm_uid + conn_param rdma_ucm_conn_param + id rdma_cm_id + reserved const[0, int32] +} + +rdma_ucm_reject { + id rdma_cm_id + private_data_len int8[0:RDMA_MAX_PRIVATE_DATA] + reserved array[int8, 3] + private_data array[int8, RDMA_MAX_PRIVATE_DATA] +} + +rdma_ucm_disconnect { + id rdma_cm_id +} + +rdma_ucm_init_qp_attr { + response ptr64[out, array[int8, IB_UVERBS_QP_ATTR_SIZE]] + id rdma_cm_id + qp_state int32 +} + +define IB_UVERBS_QP_ATTR_SIZE sizeof(struct ib_uverbs_qp_attr) + +rdma_ucm_notify { + id rdma_cm_id + event flags[ib_event_type, int32] +} + +rdma_ucm_join_ip_mcast { + response ptr64[out, rdma_ucm_create_mcast_id_resp] + uid rdma_cm_uid + addr sockaddr_in6 + id rdma_cm_id +} + +rdma_ucm_create_mcast_id_resp { + id rdma_cm_mcast_id +} + +rdma_ucm_join_mcast { + response ptr64[out, rdma_ucm_create_mcast_id_resp] + uid rdma_cm_uid + id rdma_cm_id + addr_size flags[sockaddr_rdma_cm_lens, int16] + join_flags flags[rdma_ucm_join_mcast_flags, int16] + addr sockaddr_rdma_cm +} + +rdma_ucm_join_mcast_flags = RDMA_MC_JOIN_FLAG_FULLMEMBER, RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER + +rdma_ucm_leave_mcast { + response ptr64[out, rdma_ucm_destroy_id_resp] + id rdma_cm_mcast_id + reserved const[0, int32] +} + +rdma_ucm_get_event { + response ptr64[out, rdma_ucm_event_resp] +} + +rdma_ucm_event_resp { + uid rdma_cm_uid + id rdma_cm_uid +} [size[RDMA_UCM_EVENT_RESP_SIZE]] + +define RDMA_UCM_EVENT_RESP_SIZE sizeof(struct rdma_ucm_event_resp) + +rdma_ucm_set_option [ + id_tos rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_TOS, int8] + id_resuseaddr rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_REUSEADDR, bool32] + id_afonly rdma_ucm_set_option_t[RDMA_OPTION_ID, RDMA_OPTION_ID_AFONLY, bool32] + ib_path rdma_ucm_set_option_t[RDMA_OPTION_IB, RDMA_OPTION_IB_PATH, array[ib_path_rec_data]] +] + +type rdma_ucm_set_option_t[LEVEL, OPTION, DATA] { + optval ptr64[in, DATA] + id rdma_cm_id + level const[LEVEL, int32] + optname const[OPTION, int32] + optlen bytesize[optval, int32] +} + +ib_path_rec_data { + flags flags[ib_path_flags, int32] + reserved const[0, int32] + path_rec array[int32, 16] +} + +ib_path_flags = IB_PATH_GMP, IB_PATH_PRIMARY, IB_PATH_ALTERNATE, IB_PATH_OUTBOUND, IB_PATH_INBOUND, IB_PATH_INBOUND_REVERSE + +rdma_ucm_migrate_id { + response ptr64[out, rdma_ucm_migrate_resp] + id rdma_cm_id + fd fd_rdma_cm +} + +rdma_ucm_migrate_resp { + events_reported int32 +} + +rdma_ucm_conn_param { + qp_num int32 + qkey int32 + private_data array[int8, RDMA_MAX_PRIVATE_DATA] + private_data_len int8[0:RDMA_MAX_PRIVATE_DATA] + srq int8 + responder_resources int8 + initiator_depth int8 + flow_control int8 + retry_count int8 + rnr_retry_count int8 + valid bool8 +} + +rdma_ucm_ud_param { + qp_num int32 + qkey int32 + ah_attr array[int8, IB_UVERBS_AH_ATTR_SIZE] + private_data array[int8, RDMA_MAX_PRIVATE_DATA] + private_data_len int8[0:RDMA_MAX_PRIVATE_DATA] + reserved array[const[0, int8], 7] +} + +define IB_UVERBS_AH_ATTR_SIZE sizeof(struct ib_uverbs_ah_attr) + +sockaddr_rdma_cm [ + in sockaddr_in + in6 sockaddr_in6 + ib sockaddr_ib +] [size[SOCKADDR_STORAGE_SIZE]] + +sockaddr_rdma_cm_lens = 16, 28, 48 + +sockaddr_ib { + sib_family const[AF_IB, int16] + sib_pkey int16be + sib_flowinfo int32be + sib_addr ib_addr + sib_sid int64be + sib_sid_mask int64be + sib_scope_id int64 +} + +# TODO: not completely clear what's in ib_addr.data. +ib_addr { + data array[int8, 16] +} [align_8] + +rdma_port_space = RDMA_PS_SDP, RDMA_PS_IPOIB, RDMA_PS_IB, RDMA_PS_TCP, RDMA_PS_UDP +ib_qp_type = IB_QPT_SMI, IB_QPT_GSI, IB_QPT_RC, IB_QPT_UC, IB_QPT_UD, IB_QPT_RAW_IPV6, IB_QPT_RAW_ETHERTYPE, IB_QPT_RAW_PACKET, IB_QPT_XRC_INI, IB_QPT_XRC_TGT, IB_QPT_MAX, IB_QPT_RESERVED1, IB_QPT_RESERVED10 +ib_event_type = IB_EVENT_CQ_ERR, IB_EVENT_QP_FATAL, IB_EVENT_QP_REQ_ERR, IB_EVENT_QP_ACCESS_ERR, IB_EVENT_COMM_EST, IB_EVENT_SQ_DRAINED, IB_EVENT_PATH_MIG, IB_EVENT_PATH_MIG_ERR, IB_EVENT_DEVICE_FATAL, IB_EVENT_PORT_ACTIVE, IB_EVENT_PORT_ERR, IB_EVENT_LID_CHANGE, IB_EVENT_PKEY_CHANGE, IB_EVENT_SM_CHANGE, IB_EVENT_SRQ_ERR, IB_EVENT_SRQ_LIMIT_REACHED, IB_EVENT_QP_LAST_WQE_REACHED, IB_EVENT_CLIENT_REREGISTER, IB_EVENT_GID_CHANGE, IB_EVENT_WQ_FATAL diff --git a/sys/linux/rdma_cm_386.const b/sys/linux/rdma_cm_386.const new file mode 100644 index 000000000..2d90d8cff --- /dev/null +++ b/sys/linux/rdma_cm_386.const @@ -0,0 +1,88 @@ +# AUTOGENERATED FILE +AF_IB = 27 +AT_FDCWD = 18446744073709551516 +IB_EVENT_CLIENT_REREGISTER = 17 +IB_EVENT_COMM_EST = 4 +IB_EVENT_CQ_ERR = 0 +IB_EVENT_DEVICE_FATAL = 8 +IB_EVENT_GID_CHANGE = 18 +IB_EVENT_LID_CHANGE = 11 +IB_EVENT_PATH_MIG = 6 +IB_EVENT_PATH_MIG_ERR = 7 +IB_EVENT_PKEY_CHANGE = 12 +IB_EVENT_PORT_ACTIVE = 9 +IB_EVENT_PORT_ERR = 10 +IB_EVENT_QP_ACCESS_ERR = 3 +IB_EVENT_QP_FATAL = 1 +IB_EVENT_QP_LAST_WQE_REACHED = 16 +IB_EVENT_QP_REQ_ERR = 2 +IB_EVENT_SM_CHANGE = 13 +IB_EVENT_SQ_DRAINED = 5 +IB_EVENT_SRQ_ERR = 14 +IB_EVENT_SRQ_LIMIT_REACHED = 15 +IB_EVENT_WQ_FATAL = 19 +IB_PATH_ALTERNATE = 4 +IB_PATH_GMP = 1 +IB_PATH_INBOUND = 16 +IB_PATH_INBOUND_REVERSE = 32 +IB_PATH_OUTBOUND = 8 +IB_PATH_PRIMARY = 2 +IB_QPT_GSI = 1 +IB_QPT_MAX = 11 +IB_QPT_RAW_ETHERTYPE = 6 +IB_QPT_RAW_IPV6 = 5 +IB_QPT_RAW_PACKET = 8 +IB_QPT_RC = 2 +IB_QPT_RESERVED1 = 4096 +IB_QPT_RESERVED10 = 4105 +IB_QPT_SMI = 0 +IB_QPT_UC = 3 +IB_QPT_UD = 4 +IB_QPT_XRC_INI = 9 +IB_QPT_XRC_TGT = 10 +IB_UVERBS_AH_ATTR_SIZE = 32 +IB_UVERBS_QP_ATTR_SIZE = 144 +O_RDWR = 2 +RDMA_MAX_PRIVATE_DATA = 256 +RDMA_MC_JOIN_FLAG_FULLMEMBER = 0 +RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER = 1 +RDMA_OPTION_IB = 1 +RDMA_OPTION_IB_PATH = 1 +RDMA_OPTION_ID = 0 +RDMA_OPTION_ID_AFONLY = 2 +RDMA_OPTION_ID_REUSEADDR = 1 +RDMA_OPTION_ID_TOS = 0 +RDMA_PS_IB = 319 +RDMA_PS_IPOIB = 2 +RDMA_PS_SDP = 1 +RDMA_PS_TCP = 262 +RDMA_PS_UDP = 273 +RDMA_UCM_EVENT_RESP_SIZE = 324 +RDMA_USER_CM_CMD_ACCEPT = 8 +RDMA_USER_CM_CMD_BIND = 20 +RDMA_USER_CM_CMD_BIND_IP = 2 +RDMA_USER_CM_CMD_CONNECT = 6 +RDMA_USER_CM_CMD_CREATE_ID = 0 +RDMA_USER_CM_CMD_DESTROY_ID = 1 +RDMA_USER_CM_CMD_DISCONNECT = 10 +RDMA_USER_CM_CMD_GET_EVENT = 12 +RDMA_USER_CM_CMD_INIT_QP_ATTR = 11 +RDMA_USER_CM_CMD_JOIN_IP_MCAST = 16 +RDMA_USER_CM_CMD_JOIN_MCAST = 22 +RDMA_USER_CM_CMD_LEAVE_MCAST = 17 +RDMA_USER_CM_CMD_LISTEN = 7 +RDMA_USER_CM_CMD_MIGRATE_ID = 18 +RDMA_USER_CM_CMD_NOTIFY = 15 +RDMA_USER_CM_CMD_QUERY = 19 +RDMA_USER_CM_CMD_QUERY_ROUTE = 5 +RDMA_USER_CM_CMD_REJECT = 9 +RDMA_USER_CM_CMD_RESOLVE_ADDR = 21 +RDMA_USER_CM_CMD_RESOLVE_IP = 3 +RDMA_USER_CM_CMD_RESOLVE_ROUTE = 4 +RDMA_USER_CM_CMD_SET_OPTION = 14 +RDMA_USER_CM_QUERY_ADDR = 0 +RDMA_USER_CM_QUERY_GID = 2 +RDMA_USER_CM_QUERY_PATH = 1 +# SOCKADDR_STORAGE_SIZE is not set +__NR_openat = 295 +__NR_write = 4 diff --git a/sys/linux/rdma_cm_amd64.const b/sys/linux/rdma_cm_amd64.const new file mode 100644 index 000000000..d01c1df9c --- /dev/null +++ b/sys/linux/rdma_cm_amd64.const @@ -0,0 +1,88 @@ +# AUTOGENERATED FILE +AF_IB = 27 +AT_FDCWD = 18446744073709551516 +IB_EVENT_CLIENT_REREGISTER = 17 +IB_EVENT_COMM_EST = 4 +IB_EVENT_CQ_ERR = 0 +IB_EVENT_DEVICE_FATAL = 8 +IB_EVENT_GID_CHANGE = 18 +IB_EVENT_LID_CHANGE = 11 +IB_EVENT_PATH_MIG = 6 +IB_EVENT_PATH_MIG_ERR = 7 +IB_EVENT_PKEY_CHANGE = 12 +IB_EVENT_PORT_ACTIVE = 9 +IB_EVENT_PORT_ERR = 10 +IB_EVENT_QP_ACCESS_ERR = 3 +IB_EVENT_QP_FATAL = 1 +IB_EVENT_QP_LAST_WQE_REACHED = 16 +IB_EVENT_QP_REQ_ERR = 2 +IB_EVENT_SM_CHANGE = 13 +IB_EVENT_SQ_DRAINED = 5 +IB_EVENT_SRQ_ERR = 14 +IB_EVENT_SRQ_LIMIT_REACHED = 15 +IB_EVENT_WQ_FATAL = 19 +IB_PATH_ALTERNATE = 4 +IB_PATH_GMP = 1 +IB_PATH_INBOUND = 16 +IB_PATH_INBOUND_REVERSE = 32 +IB_PATH_OUTBOUND = 8 +IB_PATH_PRIMARY = 2 +IB_QPT_GSI = 1 +IB_QPT_MAX = 11 +IB_QPT_RAW_ETHERTYPE = 6 +IB_QPT_RAW_IPV6 = 5 +IB_QPT_RAW_PACKET = 8 +IB_QPT_RC = 2 +IB_QPT_RESERVED1 = 4096 +IB_QPT_RESERVED10 = 4105 +IB_QPT_SMI = 0 +IB_QPT_UC = 3 +IB_QPT_UD = 4 +IB_QPT_XRC_INI = 9 +IB_QPT_XRC_TGT = 10 +IB_UVERBS_AH_ATTR_SIZE = 32 +IB_UVERBS_QP_ATTR_SIZE = 144 +O_RDWR = 2 +RDMA_MAX_PRIVATE_DATA = 256 +RDMA_MC_JOIN_FLAG_FULLMEMBER = 0 +RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER = 1 +RDMA_OPTION_IB = 1 +RDMA_OPTION_IB_PATH = 1 +RDMA_OPTION_ID = 0 +RDMA_OPTION_ID_AFONLY = 2 +RDMA_OPTION_ID_REUSEADDR = 1 +RDMA_OPTION_ID_TOS = 0 +RDMA_PS_IB = 319 +RDMA_PS_IPOIB = 2 +RDMA_PS_SDP = 1 +RDMA_PS_TCP = 262 +RDMA_PS_UDP = 273 +RDMA_UCM_EVENT_RESP_SIZE = 328 +RDMA_USER_CM_CMD_ACCEPT = 8 +RDMA_USER_CM_CMD_BIND = 20 +RDMA_USER_CM_CMD_BIND_IP = 2 +RDMA_USER_CM_CMD_CONNECT = 6 +RDMA_USER_CM_CMD_CREATE_ID = 0 +RDMA_USER_CM_CMD_DESTROY_ID = 1 +RDMA_USER_CM_CMD_DISCONNECT = 10 +RDMA_USER_CM_CMD_GET_EVENT = 12 +RDMA_USER_CM_CMD_INIT_QP_ATTR = 11 +RDMA_USER_CM_CMD_JOIN_IP_MCAST = 16 +RDMA_USER_CM_CMD_JOIN_MCAST = 22 +RDMA_USER_CM_CMD_LEAVE_MCAST = 17 +RDMA_USER_CM_CMD_LISTEN = 7 +RDMA_USER_CM_CMD_MIGRATE_ID = 18 +RDMA_USER_CM_CMD_NOTIFY = 15 +RDMA_USER_CM_CMD_QUERY = 19 +RDMA_USER_CM_CMD_QUERY_ROUTE = 5 +RDMA_USER_CM_CMD_REJECT = 9 +RDMA_USER_CM_CMD_RESOLVE_ADDR = 21 +RDMA_USER_CM_CMD_RESOLVE_IP = 3 +RDMA_USER_CM_CMD_RESOLVE_ROUTE = 4 +RDMA_USER_CM_CMD_SET_OPTION = 14 +RDMA_USER_CM_QUERY_ADDR = 0 +RDMA_USER_CM_QUERY_GID = 2 +RDMA_USER_CM_QUERY_PATH = 1 +# SOCKADDR_STORAGE_SIZE is not set +__NR_openat = 257 +__NR_write = 1 diff --git a/sys/linux/rdma_cm_arm.const b/sys/linux/rdma_cm_arm.const new file mode 100644 index 000000000..8767beedb --- /dev/null +++ b/sys/linux/rdma_cm_arm.const @@ -0,0 +1,88 @@ +# AUTOGENERATED FILE +AF_IB = 27 +AT_FDCWD = 18446744073709551516 +IB_EVENT_CLIENT_REREGISTER = 17 +IB_EVENT_COMM_EST = 4 +IB_EVENT_CQ_ERR = 0 +IB_EVENT_DEVICE_FATAL = 8 +IB_EVENT_GID_CHANGE = 18 +IB_EVENT_LID_CHANGE = 11 +IB_EVENT_PATH_MIG = 6 +IB_EVENT_PATH_MIG_ERR = 7 +IB_EVENT_PKEY_CHANGE = 12 +IB_EVENT_PORT_ACTIVE = 9 +IB_EVENT_PORT_ERR = 10 +IB_EVENT_QP_ACCESS_ERR = 3 +IB_EVENT_QP_FATAL = 1 +IB_EVENT_QP_LAST_WQE_REACHED = 16 +IB_EVENT_QP_REQ_ERR = 2 +IB_EVENT_SM_CHANGE = 13 +IB_EVENT_SQ_DRAINED = 5 +IB_EVENT_SRQ_ERR = 14 +IB_EVENT_SRQ_LIMIT_REACHED = 15 +IB_EVENT_WQ_FATAL = 19 +IB_PATH_ALTERNATE = 4 +IB_PATH_GMP = 1 +IB_PATH_INBOUND = 16 +IB_PATH_INBOUND_REVERSE = 32 +IB_PATH_OUTBOUND = 8 +IB_PATH_PRIMARY = 2 +IB_QPT_GSI = 1 +IB_QPT_MAX = 11 +IB_QPT_RAW_ETHERTYPE = 6 +IB_QPT_RAW_IPV6 = 5 +IB_QPT_RAW_PACKET = 8 +IB_QPT_RC = 2 +IB_QPT_RESERVED1 = 4096 +IB_QPT_RESERVED10 = 4105 +IB_QPT_SMI = 0 +IB_QPT_UC = 3 +IB_QPT_UD = 4 +IB_QPT_XRC_INI = 9 +IB_QPT_XRC_TGT = 10 +IB_UVERBS_AH_ATTR_SIZE = 32 +IB_UVERBS_QP_ATTR_SIZE = 144 +O_RDWR = 2 +RDMA_MAX_PRIVATE_DATA = 256 +RDMA_MC_JOIN_FLAG_FULLMEMBER = 0 +RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER = 1 +RDMA_OPTION_IB = 1 +RDMA_OPTION_IB_PATH = 1 +RDMA_OPTION_ID = 0 +RDMA_OPTION_ID_AFONLY = 2 +RDMA_OPTION_ID_REUSEADDR = 1 +RDMA_OPTION_ID_TOS = 0 +# RDMA_PS_IB is not set +# RDMA_PS_IPOIB is not set +# RDMA_PS_SDP is not set +# RDMA_PS_TCP is not set +# RDMA_PS_UDP is not set +RDMA_UCM_EVENT_RESP_SIZE = 324 +RDMA_USER_CM_CMD_ACCEPT = 8 +RDMA_USER_CM_CMD_BIND = 20 +RDMA_USER_CM_CMD_BIND_IP = 2 +RDMA_USER_CM_CMD_CONNECT = 6 +RDMA_USER_CM_CMD_CREATE_ID = 0 +RDMA_USER_CM_CMD_DESTROY_ID = 1 +RDMA_USER_CM_CMD_DISCONNECT = 10 +RDMA_USER_CM_CMD_GET_EVENT = 12 +RDMA_USER_CM_CMD_INIT_QP_ATTR = 11 +RDMA_USER_CM_CMD_JOIN_IP_MCAST = 16 +RDMA_USER_CM_CMD_JOIN_MCAST = 22 +RDMA_USER_CM_CMD_LEAVE_MCAST = 17 +RDMA_USER_CM_CMD_LISTEN = 7 +RDMA_USER_CM_CMD_MIGRATE_ID = 18 +RDMA_USER_CM_CMD_NOTIFY = 15 +RDMA_USER_CM_CMD_QUERY = 19 +RDMA_USER_CM_CMD_QUERY_ROUTE = 5 +RDMA_USER_CM_CMD_REJECT = 9 +RDMA_USER_CM_CMD_RESOLVE_ADDR = 21 +RDMA_USER_CM_CMD_RESOLVE_IP = 3 +RDMA_USER_CM_CMD_RESOLVE_ROUTE = 4 +RDMA_USER_CM_CMD_SET_OPTION = 14 +RDMA_USER_CM_QUERY_ADDR = 0 +RDMA_USER_CM_QUERY_GID = 2 +RDMA_USER_CM_QUERY_PATH = 1 +# SOCKADDR_STORAGE_SIZE is not set +__NR_openat = 322 +__NR_write = 4 diff --git a/sys/linux/rdma_cm_arm64.const b/sys/linux/rdma_cm_arm64.const new file mode 100644 index 000000000..8f11f5ba4 --- /dev/null +++ b/sys/linux/rdma_cm_arm64.const @@ -0,0 +1,88 @@ +# AUTOGENERATED FILE +AF_IB = 27 +AT_FDCWD = 18446744073709551516 +IB_EVENT_CLIENT_REREGISTER = 17 +IB_EVENT_COMM_EST = 4 +IB_EVENT_CQ_ERR = 0 +IB_EVENT_DEVICE_FATAL = 8 +IB_EVENT_GID_CHANGE = 18 +IB_EVENT_LID_CHANGE = 11 +IB_EVENT_PATH_MIG = 6 +IB_EVENT_PATH_MIG_ERR = 7 +IB_EVENT_PKEY_CHANGE = 12 +IB_EVENT_PORT_ACTIVE = 9 +IB_EVENT_PORT_ERR = 10 +IB_EVENT_QP_ACCESS_ERR = 3 +IB_EVENT_QP_FATAL = 1 +IB_EVENT_QP_LAST_WQE_REACHED = 16 +IB_EVENT_QP_REQ_ERR = 2 +IB_EVENT_SM_CHANGE = 13 +IB_EVENT_SQ_DRAINED = 5 +IB_EVENT_SRQ_ERR = 14 +IB_EVENT_SRQ_LIMIT_REACHED = 15 +IB_EVENT_WQ_FATAL = 19 +IB_PATH_ALTERNATE = 4 +IB_PATH_GMP = 1 +IB_PATH_INBOUND = 16 +IB_PATH_INBOUND_REVERSE = 32 +IB_PATH_OUTBOUND = 8 +IB_PATH_PRIMARY = 2 +IB_QPT_GSI = 1 +IB_QPT_MAX = 11 +IB_QPT_RAW_ETHERTYPE = 6 +IB_QPT_RAW_IPV6 = 5 +IB_QPT_RAW_PACKET = 8 +IB_QPT_RC = 2 +IB_QPT_RESERVED1 = 4096 +IB_QPT_RESERVED10 = 4105 +IB_QPT_SMI = 0 +IB_QPT_UC = 3 +IB_QPT_UD = 4 +IB_QPT_XRC_INI = 9 +IB_QPT_XRC_TGT = 10 +IB_UVERBS_AH_ATTR_SIZE = 32 +IB_UVERBS_QP_ATTR_SIZE = 144 +O_RDWR = 2 +RDMA_MAX_PRIVATE_DATA = 256 +RDMA_MC_JOIN_FLAG_FULLMEMBER = 0 +RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER = 1 +RDMA_OPTION_IB = 1 +RDMA_OPTION_IB_PATH = 1 +RDMA_OPTION_ID = 0 +RDMA_OPTION_ID_AFONLY = 2 +RDMA_OPTION_ID_REUSEADDR = 1 +RDMA_OPTION_ID_TOS = 0 +RDMA_PS_IB = 319 +RDMA_PS_IPOIB = 2 +RDMA_PS_SDP = 1 +RDMA_PS_TCP = 262 +RDMA_PS_UDP = 273 +RDMA_UCM_EVENT_RESP_SIZE = 328 +RDMA_USER_CM_CMD_ACCEPT = 8 +RDMA_USER_CM_CMD_BIND = 20 +RDMA_USER_CM_CMD_BIND_IP = 2 +RDMA_USER_CM_CMD_CONNECT = 6 +RDMA_USER_CM_CMD_CREATE_ID = 0 +RDMA_USER_CM_CMD_DESTROY_ID = 1 +RDMA_USER_CM_CMD_DISCONNECT = 10 +RDMA_USER_CM_CMD_GET_EVENT = 12 +RDMA_USER_CM_CMD_INIT_QP_ATTR = 11 +RDMA_USER_CM_CMD_JOIN_IP_MCAST = 16 +RDMA_USER_CM_CMD_JOIN_MCAST = 22 +RDMA_USER_CM_CMD_LEAVE_MCAST = 17 +RDMA_USER_CM_CMD_LISTEN = 7 +RDMA_USER_CM_CMD_MIGRATE_ID = 18 +RDMA_USER_CM_CMD_NOTIFY = 15 +RDMA_USER_CM_CMD_QUERY = 19 +RDMA_USER_CM_CMD_QUERY_ROUTE = 5 +RDMA_USER_CM_CMD_REJECT = 9 +RDMA_USER_CM_CMD_RESOLVE_ADDR = 21 +RDMA_USER_CM_CMD_RESOLVE_IP = 3 +RDMA_USER_CM_CMD_RESOLVE_ROUTE = 4 +RDMA_USER_CM_CMD_SET_OPTION = 14 +RDMA_USER_CM_QUERY_ADDR = 0 +RDMA_USER_CM_QUERY_GID = 2 +RDMA_USER_CM_QUERY_PATH = 1 +# SOCKADDR_STORAGE_SIZE is not set +__NR_openat = 56 +__NR_write = 64 diff --git a/sys/linux/rdma_cm_ppc64le.const b/sys/linux/rdma_cm_ppc64le.const new file mode 100644 index 000000000..9099983ce --- /dev/null +++ b/sys/linux/rdma_cm_ppc64le.const @@ -0,0 +1,88 @@ +# AUTOGENERATED FILE +AF_IB = 27 +AT_FDCWD = 18446744073709551516 +IB_EVENT_CLIENT_REREGISTER = 17 +IB_EVENT_COMM_EST = 4 +IB_EVENT_CQ_ERR = 0 +IB_EVENT_DEVICE_FATAL = 8 +IB_EVENT_GID_CHANGE = 18 +IB_EVENT_LID_CHANGE = 11 +IB_EVENT_PATH_MIG = 6 +IB_EVENT_PATH_MIG_ERR = 7 +IB_EVENT_PKEY_CHANGE = 12 +IB_EVENT_PORT_ACTIVE = 9 +IB_EVENT_PORT_ERR = 10 +IB_EVENT_QP_ACCESS_ERR = 3 +IB_EVENT_QP_FATAL = 1 +IB_EVENT_QP_LAST_WQE_REACHED = 16 +IB_EVENT_QP_REQ_ERR = 2 +IB_EVENT_SM_CHANGE = 13 +IB_EVENT_SQ_DRAINED = 5 +IB_EVENT_SRQ_ERR = 14 +IB_EVENT_SRQ_LIMIT_REACHED = 15 +IB_EVENT_WQ_FATAL = 19 +IB_PATH_ALTERNATE = 4 +IB_PATH_GMP = 1 +IB_PATH_INBOUND = 16 +IB_PATH_INBOUND_REVERSE = 32 +IB_PATH_OUTBOUND = 8 +IB_PATH_PRIMARY = 2 +IB_QPT_GSI = 1 +IB_QPT_MAX = 11 +IB_QPT_RAW_ETHERTYPE = 6 +IB_QPT_RAW_IPV6 = 5 +IB_QPT_RAW_PACKET = 8 +IB_QPT_RC = 2 +IB_QPT_RESERVED1 = 4096 +IB_QPT_RESERVED10 = 4105 +IB_QPT_SMI = 0 +IB_QPT_UC = 3 +IB_QPT_UD = 4 +IB_QPT_XRC_INI = 9 +IB_QPT_XRC_TGT = 10 +IB_UVERBS_AH_ATTR_SIZE = 32 +IB_UVERBS_QP_ATTR_SIZE = 144 +O_RDWR = 2 +RDMA_MAX_PRIVATE_DATA = 256 +RDMA_MC_JOIN_FLAG_FULLMEMBER = 0 +RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER = 1 +RDMA_OPTION_IB = 1 +RDMA_OPTION_IB_PATH = 1 +RDMA_OPTION_ID = 0 +RDMA_OPTION_ID_AFONLY = 2 +RDMA_OPTION_ID_REUSEADDR = 1 +RDMA_OPTION_ID_TOS = 0 +RDMA_PS_IB = 319 +RDMA_PS_IPOIB = 2 +RDMA_PS_SDP = 1 +RDMA_PS_TCP = 262 +RDMA_PS_UDP = 273 +RDMA_UCM_EVENT_RESP_SIZE = 328 +RDMA_USER_CM_CMD_ACCEPT = 8 +RDMA_USER_CM_CMD_BIND = 20 +RDMA_USER_CM_CMD_BIND_IP = 2 +RDMA_USER_CM_CMD_CONNECT = 6 +RDMA_USER_CM_CMD_CREATE_ID = 0 +RDMA_USER_CM_CMD_DESTROY_ID = 1 +RDMA_USER_CM_CMD_DISCONNECT = 10 +RDMA_USER_CM_CMD_GET_EVENT = 12 +RDMA_USER_CM_CMD_INIT_QP_ATTR = 11 +RDMA_USER_CM_CMD_JOIN_IP_MCAST = 16 +RDMA_USER_CM_CMD_JOIN_MCAST = 22 +RDMA_USER_CM_CMD_LEAVE_MCAST = 17 +RDMA_USER_CM_CMD_LISTEN = 7 +RDMA_USER_CM_CMD_MIGRATE_ID = 18 +RDMA_USER_CM_CMD_NOTIFY = 15 +RDMA_USER_CM_CMD_QUERY = 19 +RDMA_USER_CM_CMD_QUERY_ROUTE = 5 +RDMA_USER_CM_CMD_REJECT = 9 +RDMA_USER_CM_CMD_RESOLVE_ADDR = 21 +RDMA_USER_CM_CMD_RESOLVE_IP = 3 +RDMA_USER_CM_CMD_RESOLVE_ROUTE = 4 +RDMA_USER_CM_CMD_SET_OPTION = 14 +RDMA_USER_CM_QUERY_ADDR = 0 +RDMA_USER_CM_QUERY_GID = 2 +RDMA_USER_CM_QUERY_PATH = 1 +# SOCKADDR_STORAGE_SIZE is not set +__NR_openat = 286 +__NR_write = 4 diff --git a/sys/linux/socket_bluetooth_386.const b/sys/linux/socket_bluetooth_386.const index d4cd348f0..e7242d33f 100644 --- a/sys/linux/socket_bluetooth_386.const +++ b/sys/linux/socket_bluetooth_386.const @@ -82,6 +82,7 @@ SOL_RFCOMM = 18 SOL_SCO = 17 TIOCINQ = 21531 TIOCOUTQ = 21521 +__NR_accept4 = 364 __NR_bind = 361 __NR_connect = 362 __NR_getsockopt = 365 diff --git a/sys/linux/socket_bluetooth_amd64.const b/sys/linux/socket_bluetooth_amd64.const index 8cb231d8e..3cc4f9720 100644 --- a/sys/linux/socket_bluetooth_amd64.const +++ b/sys/linux/socket_bluetooth_amd64.const @@ -82,6 +82,7 @@ SOL_RFCOMM = 18 SOL_SCO = 17 TIOCINQ = 21531 TIOCOUTQ = 21521 +__NR_accept4 = 288 __NR_bind = 49 __NR_connect = 42 __NR_getsockopt = 55 diff --git a/sys/linux/socket_bluetooth_arm.const b/sys/linux/socket_bluetooth_arm.const index 7243a3a29..0a20c8247 100644 --- a/sys/linux/socket_bluetooth_arm.const +++ b/sys/linux/socket_bluetooth_arm.const @@ -82,6 +82,7 @@ SOL_RFCOMM = 18 SOL_SCO = 17 TIOCINQ = 21531 TIOCOUTQ = 21521 +__NR_accept4 = 366 __NR_bind = 282 __NR_connect = 283 __NR_getsockopt = 295 diff --git a/sys/linux/socket_bluetooth_arm64.const b/sys/linux/socket_bluetooth_arm64.const index 26782a9e3..717d8f5ca 100644 --- a/sys/linux/socket_bluetooth_arm64.const +++ b/sys/linux/socket_bluetooth_arm64.const @@ -82,6 +82,7 @@ SOL_RFCOMM = 18 SOL_SCO = 17 TIOCINQ = 21531 TIOCOUTQ = 21521 +__NR_accept4 = 242 __NR_bind = 200 __NR_connect = 203 __NR_getsockopt = 209 diff --git a/sys/linux/socket_bluetooth_ppc64le.const b/sys/linux/socket_bluetooth_ppc64le.const index e01d7d39e..62cf244f2 100644 --- a/sys/linux/socket_bluetooth_ppc64le.const +++ b/sys/linux/socket_bluetooth_ppc64le.const @@ -82,6 +82,7 @@ SOL_RFCOMM = 18 SOL_SCO = 17 TIOCINQ = 1074030207 TIOCOUTQ = 1074033779 +__NR_accept4 = 344 __NR_bind = 327 __NR_connect = 328 __NR_getsockopt = 340 diff --git a/sys/linux/uffd.txt b/sys/linux/uffd.txt index 239c7aefa..086e05962 100644 --- a/sys/linux/uffd.txt +++ b/sys/linux/uffd.txt @@ -1,7 +1,9 @@ # Copyright 2018 syzkaller project authors. All rights reserved. # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. -include <linux/userfaultfd.h> +include <uapi/linux/ioctl.h> +include <uapi/linux/fcntl.h> +include <uapi/linux/userfaultfd.h> resource fd_uffd[fd] diff --git a/sys/linux/uffd_386.const b/sys/linux/uffd_386.const index 1204d05ad..670caa2fb 100644 --- a/sys/linux/uffd_386.const +++ b/sys/linux/uffd_386.const @@ -1,15 +1,15 @@ # AUTOGENERATED FILE -# O_CLOEXEC is not set -# O_NONBLOCK is not set -# UFFDIO_API is not set -# UFFDIO_COPY is not set +O_CLOEXEC = 524288 +O_NONBLOCK = 2048 +UFFDIO_API = 3222841919 +UFFDIO_COPY = 3223890435 UFFDIO_COPY_MODE_DONTWAKE = 1 -# UFFDIO_REGISTER is not set +UFFDIO_REGISTER = 3223366144 UFFDIO_REGISTER_MODE_MISSING = 1 UFFDIO_REGISTER_MODE_WP = 2 -# UFFDIO_UNREGISTER is not set -# UFFDIO_WAKE is not set -# UFFDIO_ZEROPAGE is not set +UFFDIO_UNREGISTER = 2148575745 +UFFDIO_WAKE = 2148575746 +UFFDIO_ZEROPAGE = 3223366148 UFFDIO_ZEROPAGE_MODE_DONTWAKE = 1 UFFD_API = 170 UFFD_FEATURE_EVENT_FORK = 2 diff --git a/sys/linux/uffd_amd64.const b/sys/linux/uffd_amd64.const index 45696a1b7..7a6179d72 100644 --- a/sys/linux/uffd_amd64.const +++ b/sys/linux/uffd_amd64.const @@ -1,15 +1,15 @@ # AUTOGENERATED FILE -# O_CLOEXEC is not set -# O_NONBLOCK is not set -# UFFDIO_API is not set -# UFFDIO_COPY is not set +O_CLOEXEC = 524288 +O_NONBLOCK = 2048 +UFFDIO_API = 3222841919 +UFFDIO_COPY = 3223890435 UFFDIO_COPY_MODE_DONTWAKE = 1 -# UFFDIO_REGISTER is not set +UFFDIO_REGISTER = 3223366144 UFFDIO_REGISTER_MODE_MISSING = 1 UFFDIO_REGISTER_MODE_WP = 2 -# UFFDIO_UNREGISTER is not set -# UFFDIO_WAKE is not set -# UFFDIO_ZEROPAGE is not set +UFFDIO_UNREGISTER = 2148575745 +UFFDIO_WAKE = 2148575746 +UFFDIO_ZEROPAGE = 3223366148 UFFDIO_ZEROPAGE_MODE_DONTWAKE = 1 UFFD_API = 170 UFFD_FEATURE_EVENT_FORK = 2 diff --git a/sys/linux/uffd_arm.const b/sys/linux/uffd_arm.const index b8d604ede..a39aede80 100644 --- a/sys/linux/uffd_arm.const +++ b/sys/linux/uffd_arm.const @@ -1,15 +1,15 @@ # AUTOGENERATED FILE -# O_CLOEXEC is not set -# O_NONBLOCK is not set -# UFFDIO_API is not set -# UFFDIO_COPY is not set +O_CLOEXEC = 524288 +O_NONBLOCK = 2048 +UFFDIO_API = 3222841919 +UFFDIO_COPY = 3223890435 UFFDIO_COPY_MODE_DONTWAKE = 1 -# UFFDIO_REGISTER is not set +UFFDIO_REGISTER = 3223366144 UFFDIO_REGISTER_MODE_MISSING = 1 UFFDIO_REGISTER_MODE_WP = 2 -# UFFDIO_UNREGISTER is not set -# UFFDIO_WAKE is not set -# UFFDIO_ZEROPAGE is not set +UFFDIO_UNREGISTER = 2148575745 +UFFDIO_WAKE = 2148575746 +UFFDIO_ZEROPAGE = 3223366148 UFFDIO_ZEROPAGE_MODE_DONTWAKE = 1 UFFD_API = 170 UFFD_FEATURE_EVENT_FORK = 2 diff --git a/sys/linux/uffd_arm64.const b/sys/linux/uffd_arm64.const index a84b69ab7..0a563ec0b 100644 --- a/sys/linux/uffd_arm64.const +++ b/sys/linux/uffd_arm64.const @@ -1,15 +1,15 @@ # AUTOGENERATED FILE -# O_CLOEXEC is not set -# O_NONBLOCK is not set -# UFFDIO_API is not set -# UFFDIO_COPY is not set +O_CLOEXEC = 524288 +O_NONBLOCK = 2048 +UFFDIO_API = 3222841919 +UFFDIO_COPY = 3223890435 UFFDIO_COPY_MODE_DONTWAKE = 1 -# UFFDIO_REGISTER is not set +UFFDIO_REGISTER = 3223366144 UFFDIO_REGISTER_MODE_MISSING = 1 UFFDIO_REGISTER_MODE_WP = 2 -# UFFDIO_UNREGISTER is not set -# UFFDIO_WAKE is not set -# UFFDIO_ZEROPAGE is not set +UFFDIO_UNREGISTER = 2148575745 +UFFDIO_WAKE = 2148575746 +UFFDIO_ZEROPAGE = 3223366148 UFFDIO_ZEROPAGE_MODE_DONTWAKE = 1 UFFD_API = 170 UFFD_FEATURE_EVENT_FORK = 2 diff --git a/sys/linux/uffd_ppc64le.const b/sys/linux/uffd_ppc64le.const index dd5518396..36e754872 100644 --- a/sys/linux/uffd_ppc64le.const +++ b/sys/linux/uffd_ppc64le.const @@ -1,15 +1,15 @@ # AUTOGENERATED FILE -# O_CLOEXEC is not set -# O_NONBLOCK is not set -# UFFDIO_API is not set -# UFFDIO_COPY is not set +O_CLOEXEC = 524288 +O_NONBLOCK = 2048 +UFFDIO_API = 3222841919 +UFFDIO_COPY = 3223890435 UFFDIO_COPY_MODE_DONTWAKE = 1 -# UFFDIO_REGISTER is not set +UFFDIO_REGISTER = 3223366144 UFFDIO_REGISTER_MODE_MISSING = 1 UFFDIO_REGISTER_MODE_WP = 2 -# UFFDIO_UNREGISTER is not set -# UFFDIO_WAKE is not set -# UFFDIO_ZEROPAGE is not set +UFFDIO_UNREGISTER = 1074833921 +UFFDIO_WAKE = 1074833922 +UFFDIO_ZEROPAGE = 3223366148 UFFDIO_ZEROPAGE_MODE_DONTWAKE = 1 UFFD_API = 170 UFFD_FEATURE_EVENT_FORK = 2 |
