From d1419fc79fd0339eceb3b451c8c50edec18cc3c7 Mon Sep 17 00:00:00 2001 From: Noa Osherovich Date: Sun, 17 Dec 2017 17:53:22 +0200 Subject: Sys/linux: Add rdma.txt Initial description of the kernel's RDMA subsystem. This patch covers most of the older write() interface as well as the some ioctl functions. Also disable rdma_cm's ib_qp_type flags as it conflicts with rdma's definition, and rdma builds first. Signed-off-by: Noa Osherovich --- sys/linux/dev_infiniband_rdma.txt | 1468 ++++++++++++++++++++++ sys/linux/dev_infiniband_rdma_386.const | 98 ++ sys/linux/dev_infiniband_rdma_amd64.const | 98 ++ sys/linux/dev_infiniband_rdma_arm.const | 98 ++ sys/linux/dev_infiniband_rdma_arm64.const | 98 ++ sys/linux/dev_infiniband_rdma_cm.txt | 1 - sys/linux/dev_infiniband_rdma_cm_386.const | 13 - sys/linux/dev_infiniband_rdma_cm_amd64.const | 13 - sys/linux/dev_infiniband_rdma_cm_arm.const | 13 - sys/linux/dev_infiniband_rdma_cm_arm64.const | 13 - sys/linux/dev_infiniband_rdma_cm_ppc64le.const | 13 - sys/linux/dev_infiniband_rdma_ppc64le.const | 98 ++ sys/linux/dev_rtc_386.const | 2 + sys/linux/dev_rtc_amd64.const | 2 + sys/linux/dev_rtc_arm.const | 2 + sys/linux/dev_rtc_arm64.const | 2 + sys/linux/dev_rtc_ppc64le.const | 2 + sys/linux/gen/386.go | 1540 +++++++++++++++++++++++- sys/linux/gen/amd64.go | 1522 ++++++++++++++++++++++- sys/linux/gen/arm.go | 1540 +++++++++++++++++++++++- sys/linux/gen/arm64.go | 1522 ++++++++++++++++++++++- sys/linux/gen/ppc64le.go | 1522 ++++++++++++++++++++++- sys/linux/rdma_386.const | 98 ++ sys/linux/rdma_amd64.const | 98 ++ sys/linux/rdma_arm.const | 98 ++ sys/linux/rdma_arm64.const | 98 ++ sys/linux/rdma_ppc64le.const | 98 ++ 27 files changed, 10079 insertions(+), 91 deletions(-) create mode 100644 sys/linux/dev_infiniband_rdma.txt create mode 100644 sys/linux/dev_infiniband_rdma_386.const create mode 100644 sys/linux/dev_infiniband_rdma_amd64.const create mode 100644 sys/linux/dev_infiniband_rdma_arm.const create mode 100644 sys/linux/dev_infiniband_rdma_arm64.const create mode 100644 sys/linux/dev_infiniband_rdma_ppc64le.const create mode 100644 sys/linux/rdma_386.const create mode 100644 sys/linux/rdma_amd64.const create mode 100644 sys/linux/rdma_arm.const create mode 100644 sys/linux/rdma_arm64.const create mode 100644 sys/linux/rdma_ppc64le.const (limited to 'sys') diff --git a/sys/linux/dev_infiniband_rdma.txt b/sys/linux/dev_infiniband_rdma.txt new file mode 100644 index 000000000..dceb32fdd --- /dev/null +++ b/sys/linux/dev_infiniband_rdma.txt @@ -0,0 +1,1468 @@ +# TODO: This needs some fixups according to PR review: +# https://github.com/google/syzkaller/pull/1053 +# In the meantime, add it as is. + +# Copyright 2015 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. + +# Description of syscall arguments. See README.md for details. + +include +include +include +include +include +include +include + +# resources +resource fd_rdma[fd] +resource pd_handle[int32] +resource ah_handle[int32] +resource mr_handle[int32] +resource mr_rkey[int32] +resource mr_lkey[int32] +resource cq_handle[int32] +resource qp_handle[int32] +resource qp_number[int32] +resource mw_handle[int32] +resource srq_handle[int32] +resource xrcd_handle[int32] +resource wq_handle[int32] +resource ind_tbl_handle[int32] +resource flow_handle[int32] + +# defines +define IB_USER_VERBS_EX_CMD_QUERY_DEVICE 0x80000001 +define IB_USER_VERBS_EX_CMD_CREATE_FLOW 0x80000032 +define IB_USER_VERBS_EX_CMD_DESTROY_FLOW 0x80000033 +define MLX5_CREATE_DCT 0x8 +define MLX5_CREATE_DCI 0x16 +define IB_USER_VERBS_CMD_FLAG_EXTENDED 0x80000000 +define IB_USER_VERBS_CMD_FLAGS_SHIFT 24 +define IB_USER_VERBS_CMD_THRESHOLD 50 +define IB_USER_VERBS_CMD_CREATE_CQ 0x12 +define IB_USER_VERBS_CMD_CREATE_QP 0x18 +define EX_CREATE_CQ_CMD IB_USER_VERBS_CMD_FLAG_EXTENDED | IB_USER_VERBS_CMD_CREATE_CQ +define EX_CREATE_QP_CMD IB_USER_VERBS_CMD_FLAG_EXTENDED | IB_USER_VERBS_CMD_CREATE_QP + +# flags +rdma_dev_open_flags = O_RDWR, O_CLOEXEC +ib_access_flags = IB_ACCESS_LOCAL_WRITE, IB_ACCESS_REMOTE_WRITE, IB_ACCESS_REMOTE_READ, IB_ACCESS_REMOTE_ATOMIC, IB_ACCESS_MW_BIND, IB_ZERO_BASED, IB_ACCESS_ON_DEMAND +ib_mr_rereg_flags = IB_MR_REREG_TRANS, IB_MR_REREG_PD, IB_MR_REREG_ACCESS, IB_MR_REREG_SUPPORTED +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_qp_create_flags = IB_QP_CREATE_IPOIB_UD_LSO, IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK, IB_QP_CREATE_CROSS_CHANNEL, IB_QP_CREATE_MANAGED_SEND, IB_QP_CREATE_MANAGED_RECV, IB_QP_CREATE_NETIF_QP, IB_QP_CREATE_SIGNATURE_EN, IB_QP_CREATE_SCATTER_FCS +ib_send_flags = IB_SEND_FENCE, IB_SEND_SIGNALED, IB_SEND_SOLICITED, IB_SEND_INLINE, IB_SEND_IP_CSUM +ib_flow_flags = IB_FLOW_ATTR_FLAGS_DONT_TRAP +ib_ipv4_flags = IB_IPV4_DONT_FRAG, IB_IPV4_MORE_FRAG +mlx5_create_qp_flags = MLX5_QP_FLAG_SIGNATURE, MLX5_QP_FLAG_SCATTER_CQE, MLX5_QP_FLAG_TUNNEL_OFFLOADS, MLX5_QP_FLAG_BFREG_INDEX, MLX5_CREATE_DCT, MLX5_CREATE_DCI +mlx5_create_cq_flags = 0 +create_cq_ex_flags = IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION, IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN +create_cq_ex_mask = 0x0, 0x1 +mlx5_comp_cqe_res_format = MLX5_IB_CQE_RES_FORMAT_HASH, MLX5_IB_CQE_RES_FORMAT_CSUM +wq_type = IB_WQT_RQ +create_wq_flags = IB_WQ_FLAGS_CVLAN_STRIPPING, IB_WQ_FLAGS_SCATTER_FCS, IB_WQ_FLAGS_DELAY_DROP, IB_WQ_FLAGS_PCI_WRITE_END_PADDING +modify_wq_attr_flags = IB_WQ_STATE, IB_WQ_CUR_STATE, IB_WQ_FLAGS +modify_wq_flags = IB_WQ_FLAGS_CVLAN_STRIPPING, IB_WQ_FLAGS_SCATTER_FCS, IB_WQ_FLAGS_DELAY_DROP, IB_WQ_FLAGS_PCI_WRITE_END_PADDING +srq_type = IB_SRQT_BASIC, IB_SRQT_XRC, IB_SRQT_TM +create_srq_ex_flags = MLX5_SRQ_FLAG_SIGNATURE + +# structs +# ======= + +# context +# =========== + +mlx5_get_context_cmd_resp { + async_fd int32 + num_comp_vectors int32 + qp_tab_size int32 + bf_reg_size int32 + tot_uuars int32 + cache_line_size int32 + max_sq_desc_sz int16 + max_rq_desc_sz int16 + max_send_wqebb int32 + max_recv_wr int32 + max_srq_recv_wr int32 + num_ports int16 + reserved1 const[0x0, int16] + comp_mask int32[0:1] + response_length int32 + cqe_version_cmds_supp_uhw int16 + reserved2 const[0x0, int16] + hca_core_clock_offset int64 + log_uar_size int32 + num_uars_per_page int32 + num_dyn_bfregs int32 + reserved3 const[0x0, int32] +} + +mlx5_get_context_cmd { + command const[0x0, int32] + in_words const[0xc, int16] + out_words const[0x12, int16] + response ptr[out, mlx5_get_context_cmd_resp] + total_num_uuars int32 + num_low_latency_uuars int32 + flags int32 + comp_mask int32 + cqe_version int16 + reserved1 const[0x0, int16] + reserved2 const[0x0, int32] + lib_caps int64 +} + +# query_device +# ================ + +query_device_resp_ex { + fw_ver int64 + node_guid int64 + sys_image_guid int64 + max_mr_size int64 + page_size_cap int64 + vendor_id int32 + vendor_part_id int32 + hw_ver int32 + max_qp int32 + max_qp_wr int32 + device_cap_flags int32 + max_sge int32 + max_sge_rd int32 + max_cq int32 + max_cqe int32 + max_mr int32 + max_qp_rd_atom int32 + max_ee_rd_atom int32 + max_res_rd_atom int32 + max_qp_init_rd_atom int32 + max_ee_init_rd_atom int32 + atomic_cap int32 + max_ee int32 + max_rdd int32 + max_mw int32 + max_raw_ipv6_qp int32 + max_raw_ethy_qp int32 + max_mcast_grp int32 + max_mcast_qp_attach int32 + max_total_mcast_qp_attach int32 + max_ah int32 + max_fmr int32 + max_map_per_fmr int32 + max_srq int32 + max_srq_wr int32 + max_srq_sge int32 + max_pkeys int16 + local_ca_ack_delay int8 + phys_port_cnt int8 + reserved const[0x0, int32] + comp_mask const[0x0, int32] + response_length int32 + general_caps int64 + rc_odp_caps int32 + uc_odp_caps int32 + ud_odp_caps int32 + reserved_odp const[0x0, int32] + timestamp_mask int64 + hca_core_clock int64 + device_cap_flags_ex int64 + supported_qpts int32 + max_rwq_indirection_tables int32 + max_rwq_indirection_table_size int32 + reserved_rss const[0x0, int32] + max_wq_type_rq int32 + raw_packet_caps int32 + max_rndv_hdr_size int32 + max_num_tags int32 + flags int32 + max_ops int32 + max_sge_tm int32 + reserved_tm int32 + max_cq_moderation_count int16 + max_cq_moderation_period int16 + reserved_cq_mod int32 + max_dm_size int64 +} + +query_device_cmd_ex { + command const[IB_USER_VERBS_EX_CMD_QUERY_DEVICE, int32] + in_words const[0x1, int16] + out_words bytesize4[response, int16] + response ptr[out, query_device_resp_ex] + provider_in_words const[0x0, int16] + provider_out_words const[0x8, int16] + reserved const[0x0, int32] + comp_mask const[0x0, int32] + reserved1 const[0x0, int32] +} + +# query_port +# ============== + +query_port_cmd { + command const[0x2, int32] + in_words const[0x6, int16] + out_words const[0xa, int16] + response int64 + port_num const[0x1, int8] + reserved array[int8, 7] + driver_data array[int64] +} + +# pd +# ====== + +alloc_pd_cmd { + command const[0x3, int32] + in_words bytesize4[parent, int16] + out_words bytesize4[response, int16] + response ptr[out, alloc_pd_cmd_resp] + driver_data array[int64] +} + +mlx5_alloc_pd_cmd { + command const[0x3, int32] + in_words bytesize4[parent, int16] + out_words bytesize4[response, int16] + response ptr[out, mlx5_alloc_pd_cmd_resp] + driver_data array[int64] +} + +alloc_pd_cmd_resp { + pd_handle pd_handle +} + +mlx5_alloc_pd_cmd_resp { + pd_handle pd_handle + pdn int32 +} + +dealloc_pd_cmd { + command const[0x4, int32] + in_words const[0x6, int16] + out_words const[0, int16] + pd_handle pd_handle +} + +# ah +# === + +create_ah_cmd_resp { + ah_handle ah_handle +} + +create_ah_cmd { + command const[0x5, int32] + in_words bytesize4[parent, int16] + out_words bytesize4[response, int16] + response ptr[out, create_ah_cmd_resp] + user_handle int64 + pd_handle pd_handle + reserved const[0x0, int32] + dgid array[int8, 16] + flow_label int32 + sgid_index const[0x0, int8] + hop_limit int8 + traffic_class int8 + reserved1 int8 + dlid int16 + sl int8 + src_path_bits int8 + static_rate int8 + is_global int8 + port_num const[0x1, int8] + reserved2 int8 +} + +destroy_ah_cmd { + command const[0x8, int32] + in_words bytesize4[parent, int16] + out_words const[0x0, int16] +} + +# mr +# ====== + +reg_mr_resp { + mr_handle mr_handle + lkey mr_lkey + rkey mr_rkey +} + +reg_mr_cmd { + command const[0x9, int32] + in_words const[0xc, int16] + out_words const[0x3, int16] + response ptr[out, reg_mr_resp] + start ptr[in, int64] + length len[start, int64] + hca_va ptr[out, int64] + pd_handle pd_handle + access_flags flags[ib_access_flags, int32] + driver_data array[int64] +} + +rereg_mr_resp { + lkey mr_lkey + rkey mr_rkey +} + +rereg_mr_cmd { + command const[0xb, int32] + in_words const[0xe, int16] + out_words const[0x2, int16] + response ptr[out, rereg_mr_resp] + mr_handle mr_handle + flags flags[ib_mr_rereg_flags, int32] + start ptr[in, int64] + length len[start, int64] + hca_va ptr[out, int64] + pd_handle pd_handle + access_flags flags[ib_access_flags, int32] + driver_data array[int64] +} + +dereg_mr_cmd { + command const[0xd, int32] + in_words const[0x3, int16] + out_words const[0x0, int16] + mr_handle mr_handle +} + +alloc_mw_resp { + mw_handle mw_handle + rkey mr_rkey +} + +alloc_mw_cmd { + command const[0xe, int32] + in_words const[0x6, int16] + out_words const[0x2, int16] + response ptr[out, alloc_mw_resp] + pd_handle pd_handle + mw_type int8[1:2] + reserved0 const[0x0, int8] + reserved1 const[0x0, int16] +} + +dealloc_mw_cmd { + command const[0x10, int32] + in_words const[0x4, int16] + out_words const[0x0, int16] + mw_handle mw_handle + reserved const[0x0, int32] +} + +# completion channel +# ================== + +create_comp_channel_resp { + fd int32 +} + +create_comp_channel_cmd { + command const[0x11, int32] + in_words const[0x6, int16] + out_words const[0x1, int16] + response ptr[out, create_comp_channel_resp] +} + +# cq +# ====== + +create_cq_resp { + cq_handle cq_handle + cqe int32 +} + +mlx5_create_cq_cmd { + command const[EX_CREATE_CQ_CMD, int32] + in_words bytesize4[parent, int16] + out_words bytesize4[response, int16] + response ptr[out, create_cq_resp] + provider_in_words const[0x5, int16] + provider_out_words const[0x1, int16] + reserved0 const[0x0, int32] + user_handle int64 + cqe int32 + comp_vector int32 + comp_channel const[0xffffffff, int32] + comp_mask flags[create_cq_ex_mask, int32] + reserved1 const[0x0, int32] + buf_addr ptr[in, array[int8, 4096]] + db_addr ptr[in, array[int8, 4096]] + cqe_size const[0x40, int32] + cqe_comp_en int8[0:1] + cqe_comp_res_format flags[mlx5_comp_cqe_res_format, int8] + flags flags[mlx5_create_cq_flags, int16] +} + +# this fails a lot on Mellanox HW. Leaving for others providers' sake and +# adding mlx5_create_cq instead, which defines driver data properly. +create_cq_cmd { + command const[0x12, int32] + in_words const[0x10, int16] + out_words const[0x3, int16] + reponse ptr[out, create_cq_resp] + user_handle int64 + cqe int32 + comp_vector int32 + comp_channel int32 + reserved const[0x0, int32] + driver_data array[int64] +} + +create_cq_ex_cmd { + command const[EX_CREATE_CQ_CMD, int32] + in_words const[0x4, int16] + out_words const[0x2, int16] + response ptr[out, create_cq_resp] + provider_in_words const[0x5, int16] + provider_out_words const[0x1, int16] + reserved0 const[0x0, int32] + user_handle int64 + cqe int32 + comp_vector const[0x0, int32] + comp_channel const[0xffffffff, int32] + comp_mask flags[create_cq_ex_mask, int32] + flags flags[create_cq_ex_flags, int32] + reserved1 const[0x0, int32] +} + +resize_cq_resp { + cqe int32 + reserved const[0x0, int32] + driver_data array[int64] +} + +resize_cq_cmd { + command const[0x13, int32] + in_words const[0xa, int16] + out_words const[0x2, int16] + response ptr[out, resize_cq_resp] + cq_handle cq_handle + cqe int32 + driver_data array[int64] +} + +destroy_cq_resp { + comp_events_reported int32 + async_events_reported int32 +} + +destroy_cq_cmd { + command const[0x14, int32] + in_words const[0x6, int16] + out_words const[0x2, int16] + response ptr[out, destroy_cq_resp] + cq_handle cq_handle + reserved const[0x0, int32] +} + +kern_wc { + wr_id int64 + status int32 + opcode int32 + vendor_err int32 + byte_len int32 + imm_data int32 + qp_num int32 + src_qp int32 + wc_flags int32 + pkey_index int16 + slid int16 + sl int8 + dlid_path_bits int8 + port_num int8 + reserved const[0x0, int8] +} + +poll_cq_resp { + count int32 + reserved const[0x0, int32] + wc array[kern_wc] +} + +poll_cq_cmd { + command const[0x15, int32] + in_words const[0x6, int16] + out_words const[0x2, int16] + response ptr[out, poll_cq_resp] + cq_handle cq_handle + ne int32 +} + +req_notify_cq_cmd { + command const[0x17, int32] + in_words const[0x4, int16] + out_words const[0x0, int16] + cq_handle cq_handle + solicited int32[0x0:0x1] +} + +# qp_ex +# ========= + +create_qp_resp { + qp_handle qp_handle + qpn qp_number + max_send_wr int32 + max_recv_wr int32 + max_send_sge int32 + max_recv_sge int32 + max_inline_data int32 + reserved const[0x0, int32] +} + +create_qp_cmd { + command const[0x18, int32] + in_words bytesize4[parent, int16] + out_words bytesize4[response, int16] + response ptr[out, create_qp_resp] + user_handle int64 + pd_handle pd_handle + send_cq_handle cq_handle + recv_cq_handle cq_handle + srq_handle srq_handle + max_send_wr int32 + max_recv_wr int32 + max_send_sge int32 + max_recv_sge int32 + max_inline_data int32 + sq_sig_all int8 + qp_type flags[ib_qp_type, int8] + is_srq int8[0:1] + reserved1 const[0x0, int8] + driver_data array[int64] +} + +mlx5_create_qp_cmd { + command const[EX_CREATE_QP_CMD, int32] + in_words bytesize4[parent, int16] + out_words bytesize4[response, int16] + response ptr[out, create_qp_resp] + user_handle int64 + pd_handle pd_handle + send_cq_handle cq_handle + recv_cq_handle cq_handle + srq_handle srq_handle + max_send_wr int32 + max_recv_wr int32 + max_send_sge int32 + max_recv_sge int32 + max_inline_data int32 + sq_sig_all int8 + qp_type flags[ib_qp_type, int8] + is_srq int8[0:1] + reserved0 const[0x0, int8] + buf_addr ptr[in, array[int8, 4096]] + db_addr ptr[in, array[int8, 4096]] + sq_wqe_count int32 + rq_wqe_count int32 + rq_wqe_shift int32 + flags flags[mlx5_create_qp_flags, int32] + uidx int32 + bfreg_index int32 + sq_buf_addr ptr[in, array[int8, 4096]] +} [packed] + +mlx5_create_qp_resp { + qp_handle qp_handle + qpn qp_number + max_send_wr int32 + max_recv_wr int32 + max_send_sge int32 + max_recv_sge int32 + max_inline_data int32 + reserved0 const[0x0, int32] + uuar_index int32 +} + +mlx5_create_dv_qp_cmd { + command const[0x18, int32] + in_words const[0x1c, int16] + out_words const[0x9, int16] + response ptr[out, mlx5_create_qp_resp] + user_handle int64 + pd_handle pd_handle + send_cq_handle cq_handle + recv_cq_handle cq_handle + srq_handle srq_handle + max_send_wr int32 + max_recv_wr int32 + max_send_sge int32 + max_recv_sge int32 + max_inline_data int32 + sq_sig_all int8 + qp_type const[0xff, int8] + is_srq int8 + reserved0 const[0x0, int8] + driver_data array[int64] + buf_addr ptr[in, array[int8, 4096]] + db_addr ptr[in, array[int8, 4096]] + sq_wqe_count int32 + rq_wqe_count int32 + rq_wqe_shift int32 + flags int32 + uidx int32 + reserved1 const[0x0, int32] + access_key int64 +} [packed] + +destroy_qp_resp { + events_reported int32 +} + +destroy_qp_cmd { + command const[0x1b, int32] + in_words const[0x6, int16] + out_words const[0x1, int16] + response ptr[out, destroy_qp_resp] + qp_handle qp_handle + reserved const[0x0, int32] +} + +query_qp_resp { + dest_dgid array[int8, 16] + dest_flow_label int32 + dest_dlid int16 + dest_reserved const[0x0, int16] + dest_sgid_index int8 + dest_hop_limit int8 + dest_traffic_class int8 + dest_sl int8 + dest_src_path_bits int8 + dest_static_rate int8 + dest_is_global int8 + dest_port_num int8 + alt_dest_dgid array[int8, 16] + alt_dest_flow_label int32 + alt_dest_dlid int16 + alt_dest_reserved const[0x0, int16] + alt_dest_sgid_index int8 + alt_dest_hop_limit int8 + alt_dest_traffic_class int8 + alt_dest_sl int8 + alt_dest_src_path_bits int8 + alt_dest_static_rate int8 + alt_dest_is_global int8 + alt_dest_port_num int8 + max_send_wr int32 + max_recv_wr int32 + max_send_sge int32 + max_recv_sge int32 + max_inline_data int32 + qkey int32 + rq_psn int32 + sq_psn int32 + dest_qp_num int32 + qp_access_flags int32 + pkey_index int16 + alt_pkey_index int16 + qp_state int8 + cur_qp_state int8 + path_mtu int8 + path_mig_state int8 + sq_draining int8 + max_rd_atomic int8 + max_dest_rd_atomic int8 + min_rnr_timer int8 + port_num int8 + timeout int8 + retry_cnt int8 + rnr_retry int8 + alt_port_num int8 + alt_timeout int8 + sq_sig_all int8 + reserved0 const[0x0, int8] + reserved1 const[0x0, int32] + driver_data array[int64] +} + +query_qp_cmd { + command const[0x19, int32] + in_words const[0x6, int16] + out_words const[0x20, int16] + response ptr[out, query_qp_resp] + qp_handle qp_handle + attr_mask flags[ib_qp_create_flags, int32] + driver_data array[int64] +} + +modify_qp_cmd { + command const[0x1a, int32] + in_words const[0x1e, int16] + out_words const[0x0, int16] + dest_dgid array[int8, 16] + dest_flow_label int32 + dest_dlid int16 + dest_reserved int16 + dest_sgid_index int8 + dest_hop_limit int8 + dest_traffic_class int8 + dest_sl int8 + dest_src_path_bits int8 + dest_static_rate int8 + dest_is_global int8 + dest_port_num int8 + alt_dest_dgid array[int8, 16] + alt_dest_flow_label int32 + alt_dest_dlid int16 + alt_dest_reserved int16 + alt_dest_sgid_index int8 + alt_dest_hop_limit int8 + alt_dest_traffic_class int8 + alt_dest_sl int8 + alt_dest_src_path_bits int8 + alt_dest_static_rate int8 + alt_dest_is_global int8 + alt_dest_port_num int8 + qp_handle int32 + attr_mask int32 + qkey int32 + rq_psn int32 + sq_psn int32 + dest_qp_num int32 + qp_access_flags int32 + pkey_index int16 + alt_pkey_index int16 + qp_state int8 + cur_qp_state int8 + path_mtu int8 + path_mig_state int8 + en_sqd_async_notify int8 + max_rd_atomic int8 + max_dest_rd_atomic int8 + min_rnr_timer int8 + port_num int8 + timeout int8 + retry_cnt int8 + rnr_retry int8 + alt_port_num int8 + alt_timeout int8 + reserved const[0x0, int16] +} + +# wq +#==== + +create_wq_resp { + comp_mask int32 + response_length int32 + wq_handle wq_handle + max_wr int32 + max_sge int32 + wqn int32 +} + +create_wq_cmd { + command const[0x80000034, int32] + in_words const[0x5, int16] + out_words bytesize4[response, int16] + response ptr[out, create_wq_resp] + provider_in_words const[0x6, int16] + provider_out_words const[0x1, int16] + cmd_hdr_reserved const[0x0, int32] + comp_mask const[0x0, int32] + wq_type flags[wq_type, int32] + user_handle int64 + pd_handle pd_handle + cq_handle cq_handle + max_wr int32 + max_sge int32 + create_flags flags[create_wq_flags, int32] + reserved const[0x0, int32] +} + +mlx5_create_wq_resp { + comp_mask int32 + response_length const[0x6, int32] + wq_handle wq_handle + max_wr int32 + max_sge int32 + wqn int32 + mlx5_response_length bytesize4[parent, int32] + reserver const[0x0, int32] +} + +mlx5_create_wq_cmd { + command const[0x80000034, int32] + in_words const[0x5, int16] + out_words bytesize4[response, int16] + response ptr[out, mlx5_create_wq_resp] + provider_in_words const[0x6, int16] + provider_out_words const[0x1, int16] + cmd_hdr_reserved const[0x0, int32] + comp_mask const[0x0, int32] + wq_type flags[wq_type, int32] + user_handle int64 + pd_handle pd_handle + cq_handle cq_handle + max_wr int32 + max_sge int32 + create_flags flags[create_wq_flags, int32] + reserved const[0x0, int32] + buf_addr ptr[in, array[int8, 4096]] + db_addr ptr[in, array[int8, 4096]] + rq_wqe_count int32 + rq_wqe_shift int32 + user_index int32 + flags const[0x0, int32] + provider_comp_mask const[0x0, int32] + single_stride_log_num_of_bytes const[0x0, int32] + single_wqe_log_num_of_strides const[0x0, int32] + two_byte_shift_en int32[0:1] +} + +destroy_wq_resp { + comp_mask int32 + response_length int32 + events_reported int32 + reserved const[0x0, int32] +} + +destroy_wq_cmd { + command const[0x80000036, int32] + in_words const[0x1, int16] + out_words const[0x2, int16] + response ptr[out, destroy_wq_resp] + provider_in_words const[0x0, int16] + provider_out_words const[0x0, int16] + cmd_hdr_reserved const[0x0, int32] + comp_mask int32[0x0:0xf] + wq_handle wq_handle +} + +mlx5_modify_wq_cmd { + command const[0x80000035, int32] + in_words const[0x3, int16] + out_words const[0x0, int16] + response const[0x0, int64] + provider_in_words const[0x1, int16] + provider_out_words const[0x0, int16] + cmd_hdr_reserved const[0x0, int32] + attr_mask flags[modify_wq_attr_flags, int32] + wq_handle wq_handle + wq_state int32[0:3] + current_wq_state int32[0:3] + flags flags[modify_wq_flags, int32] + flags_mask flags[modify_wq_flags, int32] + comp_mask const[0x0, int32] + reserved const[0x0, int32] +} + +# RSS (indirection table) +#======================== + +create_rwq_ind_table_resp { + comp_mask int32 + response_length bytesize4[parent, int32] + ind_tbl_handle ind_tbl_handle + ind_tbl_num int32 +} + +# currently hard coded to use 2 WQs. Need to figure out how to +# make it a variable. +create_rwq_ind_table_cmd { + command const[0x80000037, int32] + in_words const[0x2, int16] + out_words const[0x2, int16] + response ptr[out, create_rwq_ind_table_resp] + provider_in_words const[0x0, int16] + provider_out_words const[0x0, int16] + cmd_hdr_reserved const[0x0, int32] + comp_mask const[0x0, int32] + log_ind_tbl_size int32[1] + wq_handles array[wq_handle, 2] +} + +destroy_rwq_ind_table_cmd { + comp_mask int32 + ind_tbl_handle ind_tbl_handle +} + +# Send WR +#======== + +rdma { + remote_addr int64 + rkey mr_rkey + reserved const[0x0, int32] +} + +atomic { + remote_addr int64 + compare_add int64 + swap int64 + rkey mr_rkey + reserved const[0x0, int32] +} + +ud { + ah int32 + remote_qpn int32 + remote_qkey int32 + reserved const[0x0, int32] +} + +xrc { + remote_srqn int32 +} + +wr [ + rdma rdma + atomic atomic + ud ud +] + +kern_send_wr { + wr_id int64 + num_sge int32 + opcode int32[0:20] + send_flags flags[ib_send_flags, int32] + imm_data int32 + wr wr + qp_type xrc +} + +post_send_cmd { + command const[0x1c, int32] + in_words const[0x8, int16] + out_words const[0x1, int16] + response ptr[out, post_send_resp] + qp_handle qp_handle + wr_count int32 + sge_count int32 + wqe_size int32 + send_wr array[kern_send_wr] +} + +post_send_resp { + bad_wr int32 +} + +post_recv_cmd { + command const[0x1d, int32] + in_words const[0x8, int16] + out_words const[0x1, int16] + response ptr[out, post_recv_resp] + qp_handle qp_handle + wr_count int32 + sge_count int32 + wqe_size int32 + recv_wr array[kern_recv_wr] +} + +post_recv_resp { + bad_wr int32 +} + +attach_mcast_cmd { + command const[0x1e, int32] + in_words const[0x8, int16] + out_words const[0x0, int16] + gid array[int8, 0x10] + qp_handle qp_handle + mlid int16 + reserved const[0x0, int16] + driver_data array[int64] +} + +detach_mcast_cmd { + command const[0x1f, int32] + in_words const[0x8, int16] + out_words const[0x0, int16] + gid array[int8, 0x10] + qp_handle qp_handle + mlid int16 + reserved const[0x0, int16] + driver_data array[int64] +} + +create_srq_resp { + srq_handle srq_handle + max_wr int32 + max_sge int32 + srqn int32 +} + +create_srq_cmd { + command const[0x20, int32] + in_words const[0xa, int16] + out_words const[0x4, int16] + response ptr[out, create_srq_resp] + user_handle int64 + pd_handle pd_handle + max_wr int32 + max_sge int32 + srq_limit int32 + driver_data array[int64] +} + +mlx5_ib_create_srq_resp { + srqn int32 + reserved const[0x0, int32] +} + +mlx5_create_srq_cmd { + command const[0x27, int32] + in_words const[0x16, int16] + out_words const[0x6, int16] + reserved0 const[0x0, int32] + response ptr[out, mlx5_ib_create_srq_resp] + user_handle int64 + srq_type flags[srq_type, int32] + pd_handle pd_handle + max_wr int32 + max_sge int32 + srq_limit int32 + max_num_tags int32 + xrcd_handle xrcd_handle + cq_handle cq_handle + buf_addr ptr[in, int64] + db_addr ptr[in, int64] + flags flags[create_srq_ex_flags, int32] + reserved1 const[0x0, int32] + uidx int32 + reserved2 const[0x0, int32] +} + +modify_srq_cmd { + command const[0x21, int32] + in_words const[0x6, int16] + out_words const[0x0, int16] + srq_handle srq_handle + attr_mask int32[0x0:0x10] + max_wr int32 + srq_limit int32 + driver_data array[int64] +} + +query_srq_resp { + max_wr int32 + max_sge int32 + srq_limit int32 + reserved const[0x0, int32] +} + +query_srq_cmd { + command const[0x22, int32] + in_words const[0x6, int16] + out_words const[0x4, int16] + response ptr[out, query_srq_resp] + srq_handle srq_handle + reserved const[0x0, int32] + driver_data array[int64] +} + +destroy_srq_resp { + events_reported int32 +} + +destroy_srq_cmd { + command const[0x23, int32] + in_words const[0x6, int16] + out_words const[0x1, int16] + response ptr[out, destroy_srq_resp] + srq_handle srq_handle + reserved const[0x0, int32] +} + +kern_recv_wr { + wr_id int64 + num_sge int32 + reserved const[0x0, int32] +} + +post_srq_recv_resp { + bad_wr int32 +} + +post_srq_recv_cmd { + command const[0x24, int32] + in_words const[0x7, int16] + out_words const[0x1, int16] + response ptr[out, post_srq_recv_resp] + wr_count int32 + sge_count int32 + wqe_size int32 + recv_wr array[kern_recv_wr] +} + +open_xrcd_resp { + xrcd_handle xrcd_handle +} + +open_xrcd_cmd { + command const[0x25, int32] + in_words const[0x6, int16] + out_words const[0x1, int16] + response ptr[out, open_xrcd_resp] + fd int32 + oflags int32 + driver_data array[int64] +} + +close_xrcd_cmd { + command const[0x26, int32] + in_words const[0x3, int16] + out_words const[0x0, int16] + xrcd_handle xrcd_handle +} + +# create_flow +# =============== + +ib_flow_eth_filter { + dst_mac array[int8, 0x6] + src_mac array[int8, 0x6] + ether_type int16 + vlan_tag int16 +} + +ib_flow_spec_eth { + type const[IB_FLOW_SPEC_ETH, int32] + size const[0x10, int16] + reserved const[0x0, int16] + val ib_flow_eth_filter + mask ib_flow_eth_filter +} + +ib_flow_ipv4_filter { + src_ip int32 + dst_ip int32 + proto int8 + tos int8 + ttl int8 + flags flags[ib_ipv4_flags, int8] +} + +ib_flow_spec_ipv4 { + type const[IB_FLOW_SPEC_IPV4, int32] + size const[0x20, int16] + reserved const[0x0, int16] + val ib_flow_ipv4_filter + mask ib_flow_ipv4_filter +} + +ib_flow_ipv6_filter { + src_ip array[int8, 0x10] + dst_ip array[int8, 0x10] + flow_label int32 + next_hdr int8 + traffic_class int8 + hop_limit int8 + reserved const[0x0, int8] +} + +ib_flow_spec_ipv6 { + type const[IB_FLOW_SPEC_IPV6, int32] + size const[0x58, int16] + reserved const[0x0, int16] + val ib_flow_ipv6_filter + mask ib_flow_ipv6_filter +} + +ib_flow_tcp_udp_filter { + dst_port int16 + src_port int16 +} + +ib_flow_spec_tcp_udp { + type int32[0x40:0x41] + size const[0x10, int16] + reserved const[0x0, int16] + val ib_flow_tcp_udp_filter + mask ib_flow_tcp_udp_filter +} + +ib_flow_esp_filter { + spi int32 + seq int32 +} + +ib_flow_spec_esp { + type const[IB_FLOW_SPEC_ESP, int32] + size const[0x18, int16] + reserved const[0x0, int16] + val ib_flow_esp_filter + mask ib_flow_esp_filter +} + +ib_flow_tunnel_filter { + tunnel_id int32 +} + +ib_flow_spec_tunnel { + type const[IB_FLOW_SPEC_VXLAN_TUNNEL, int32] + size const[0x10, int16] + reserved const[0x0, int16] + val ib_flow_tunnel_filter + mask ib_flow_tunnel_filter +} + +ib_flow_gre_filter { + c_ks_res0_ver int16 + protocol int16 + key int32 +} + +ib_flow_spec_gre { + type const[IB_FLOW_SPEC_GRE, int32] + size const[0x18, int16] + reserved const[0x0, int16] + val ib_flow_gre_filter + mask ib_flow_gre_filter +} + +ib_flow_mpls_filter { + tag int32 +} + +ib_flow_spec_mpls { + type const[IB_FLOW_SPEC_MPLS, int32] + size const[0x10, int16] + reserved const[0x0, int16] + val ib_flow_mpls_filter + mask ib_flow_mpls_filter +} + +ib_flow_spec_action_tag { + type const[IB_FLOW_SPEC_ACTION_TAG, int32] + size const[0x10, int16] + reserved const[0x0, int16] + tag_id int32 + reserved2 const[0x0, int32] +} + +ib_flow_spec_action_drop { + type const[IB_FLOW_SPEC_ACTION_DROP, int32] + size const[0x8, int16] + reserved const[0x0, int16] +} + +ib_uverbs_flow_spec_action_count { + type const[IB_FLOW_SPEC_ACTION_COUNT, int32] + size const[0x10, int16] + reserved0 const[0x0, int16] + handle vcontext_handle + reserved1 const[0x0, int32] +} + +union_ib_flow_spec [ + eth ib_flow_spec_eth + ipv6 ib_flow_spec_ipv6 + ipv4 ib_flow_spec_ipv4 + tcp_udp ib_flow_spec_tcp_udp + tunnel ib_flow_spec_tunnel + gre ib_flow_spec_gre + esp ib_flow_spec_esp + mpls ib_flow_spec_mpls + tag ib_flow_spec_action_tag + drop ib_flow_spec_action_drop + count ib_uverbs_flow_spec_action_count +] + +ib_uverbs_flow_attr { + type int32[0:3] + size bytesize[flow_specs, int16] + priority int16[0:7] + num_of_specs len[flow_specs, int8] + reserved1 const[0x0, int8] + reserved2 const[0x0, int8] + port int8 + flags flags[ib_flow_flags, int32] + flow_specs array[union_ib_flow_spec] +} + +create_flow_cmd_ex { + comp_mask const[0x0, int32] + qp_handle qp_handle + flow_attr ib_uverbs_flow_attr +} + +create_flow_resp { + comp_mask int32 + flow_handle flow_handle +} + +create_flow_cmd { + command const[IB_USER_VERBS_EX_CMD_CREATE_FLOW, int32] + in_words bytesize8[flow_ex, int16] + out_words const[0x1, int16] + response ptr[out, create_flow_resp] + provider_in_words const[0x0, int16] + provider_out_words const[0x0, int16] + reserved const[0x0, int32] + flow_ex create_flow_cmd_ex +} + +destroy_flow_cmd { + command const[IB_USER_VERBS_EX_CMD_DESTROY_FLOW, int32] + in_words const[0x6, int16] + out_words const[0x0, int16] + response const[0x0, int64] + provider_in_words const[0x0, int16] + provider_out_words const[0x0, int16] + reserved const[0x0, int32] + comp_mask const[0x0, int32] + flow_handle flow_handle +} + +# ioctl interface + +ib_uverbs_attr_flags = UVERBS_ATTR_F_MANDATORY +ib_read_counters_flags = IB_UVERBS_READ_COUNTERS_PREFER_CACHED +resource vcontext_handle[int32] + +ib_uverbs_create_counters_cmd { + length bytesize8[ib_uverbs_create_counters_cmd, int16] + object_id const[UVERBS_OBJECT_COUNTERS, int16] + method_id const[UVERBS_METHOD_COUNTERS_CREATE, int16] + num_attrs const[1, int16] + reserved0 const[0x0, int64] + driver_id const[RDMA_DRIVER_MLX5, int32] + reserved1 const[0x0, int32] + + attr_id const[UVERBS_ATTR_CREATE_COUNTERS_HANDLE, int16] + len int16 + flags flags[ib_uverbs_attr_flags, int16] + elem_id int8 + reserved2 const[0x0, int8] + reserved3 const[0x0, int16] + vcontext_handle vcontext_handle[opt] + more_data int32 +} + +ib_uverbs_destroy_counters_cmd { + length bytesize8[ib_uverbs_destroy_counters_cmd, int16] + object_id const[UVERBS_OBJECT_COUNTERS, int16] + method_id const[UVERBS_METHOD_COUNTERS_DESTROY, int16] + num_attrs const[1, int16] + reserved0 const[0x0, int64] + driver_id const[RDMA_DRIVER_MLX5, int32] + reserved1 const[0x0, int32] + + attr_id const[UVERBS_ATTR_DESTROY_COUNTERS_HANDLE, int16] + len int16 + flags flags[ib_uverbs_attr_flags, int16] + elem_id int8 + reserved2 const[0x0, int8] + reserved3 const[0x0, int16] + vcontext_handle vcontext_handle + more_data int32 +} + +# in UVERBS_ATTR_READ_COUNTERS_FLAGS, assuming that sizeof(uint32_t is 4) +ib_uverbs_read_counters_cmd { + length bytesize8[ib_uverbs_read_counters_cmd, int16] + object_id const[UVERBS_OBJECT_COUNTERS, int16] + method_id const[UVERBS_METHOD_COUNTERS_READ, int16] + num_attrs const[0x3, int16] + reserved0 const[0x0, int64] + driver_id const[RDMA_DRIVER_MLX5, int32] + reserved1 const[0x0, int32] + + attr_id0 const[UVERBS_ATTR_READ_COUNTERS_HANDLE, int16] + len0 int16 + flags0 flags[ib_uverbs_attr_flags, int16] + reserved2 const[0x0, int16] + vcontext_handle vcontext_handle + more_data0 int32 + + attr_id1 const[UVERBS_ATTR_READ_COUNTERS_BUFF, int16] + len1 bytesize8[data, int16] + flags1 flags[ib_uverbs_attr_flags, int16] + reserved3 const[0x0, int16] + data buffer[out] + + attr_id2 const[UVERBS_ATTR_READ_COUNTERS_FLAGS, int16] + len2 const[0x4, int16] + flags2 flags[ib_uverbs_attr_flags, int16] + reserved4 const[0x0, int16] + flags flags[ib_read_counters_flags, int32] + more_data1 int32 +} + +# commands +ioctl$CREATE_COUNTERS(fd fd_rdma, cmd const[RDMA_VERBS_IOCTL], arg ptr[inout, ib_uverbs_create_counters_cmd]) +ioctl$DESTROY_COUNTERS(fd fd_rdma, cmd const[RDMA_VERBS_IOCTL], arg ptr[in, ib_uverbs_destroy_counters_cmd]) +ioctl$READ_COUNTERS(fd fd_rdma, cmd const[RDMA_VERBS_IOCTL], arg ptr[inout, ib_uverbs_read_counters_cmd]) + +# device +syz_open_dev$ibv_device(dev ptr[in, string["/dev/infiniband/uverbs0"]], id intptr, flags flags[rdma_dev_open_flags]) fd_rdma +write$MLX5_GET_CONTEXT(fd fd_rdma, buf ptr[inout, mlx5_get_context_cmd], len len[buf]) +close$ibv_device(fd fd_rdma) +write$QUERY_DEVICE_EX(fd fd_rdma, buf ptr[inout, query_device_cmd_ex], len len[buf]) + +# query_port +write$QUERY_PORT(fd fd_rdma, buf ptr[inout, query_port_cmd], len len[buf]) + +# pd +write$ALLOC_PD(fd fd_rdma, buf ptr[inout, alloc_pd_cmd], len len[buf]) +write$MLX5_ALLOC_PD(fd fd_rdma, buf ptr[inout, mlx5_alloc_pd_cmd], len len[buf]) +#dealloc_pd +write$DEALLOC_PD(fd fd_rdma, buf ptr[inout, dealloc_pd_cmd], len len[buf]) + +#ah +write$CREATE_AH(fd fd_rdma, buf ptr[inout, create_ah_cmd], len len[buf]) +write$DESTROY_AH(fd fd_rdma, buf ptr[inout, destroy_ah_cmd], len len[buf]) + +# mr +write$REG_MR(fd fd_rdma, buf ptr[inout, reg_mr_cmd], len len[buf]) +write$DEREG_MR(fd fd_rdma, buf ptr[inout, rereg_mr_cmd], len len[buf]) +write$REREG_MR(fd fd_rdma, buf ptr[inout, dereg_mr_cmd], len len[buf]) + +# mw +write$ALLOC_MW(fd fd_rdma, buf ptr[inout, alloc_mw_cmd], len len[buf]) +write$DEALLOC_MW(fd fd_rdma, buf ptr[inout, dealloc_mw_cmd], len len[buf]) + +#comp_channel +write$CREATE_COMP_CHANNEL(fd fd_rdma, buf ptr[inout, create_comp_channel_cmd], len len[buf]) + +# cq +write$CREATE_CQ(fd fd_rdma, buf ptr[inout, create_cq_cmd], len len[buf]) +write$MLX5_CREATE_CQ(fd fd_rdma, buf ptr[inout, mlx5_create_cq_cmd], len len[buf]) +write$CREATE_CQ_EX(fd fd_rdma, buf ptr[inout, create_cq_ex_cmd], len len[buf]) +write$RESIZE_CQ(fd fd_rdma, buf ptr[inout, resize_cq_cmd], len len[buf]) +write$DESTROY_CQ(fd fd_rdma, buf ptr[inout, destroy_cq_cmd], len len[buf]) +write$POLL_CQ(fd fd_rdma, buf ptr[inout, poll_cq_cmd], len len[buf]) +write$REQ_NOTIFY_CQ(fd fd_rdma, buf ptr[inout, req_notify_cq_cmd], len len[buf]) + +# qp +write$CREATE_QP(fd fd_rdma, buf ptr[inout, create_qp_cmd], len len[buf]) + +# qp_ex +write$MLX5_CREATE_QP(fd fd_rdma, buf ptr[inout, mlx5_create_qp_cmd], len len[buf]) +write$MLX5_CREATE_DV_QP(fd fd_rdma, buf ptr[inout, mlx5_create_dv_qp_cmd], len len[buf]) +write$DESTROY_QP(fd fd_rdma, buf ptr[inout, destroy_qp_cmd], len len[buf]) +write$QUERY_QP(fd fd_rdma, buf ptr[inout, query_qp_cmd], len len[buf]) +write$MODIFY_QP(fd fd_rdma, buf ptr[inout, modify_qp_cmd], len len[buf]) +write$POST_SEND(fd fd_rdma, buf ptr[inout, post_send_cmd], len len[buf]) +write$POST_RECV(fd fd_rdma, buf ptr[inout, post_recv_cmd], len len[buf]) +write$ATTACH_MCAST(fd fd_rdma, buf ptr[in, attach_mcast_cmd], len len[buf]) +write$DETACH_MCAST(fd fd_rdma, buf ptr[in, detach_mcast_cmd], len len[buf]) +write$CREATE_SRQ(fd fd_rdma, buf ptr[inout, create_srq_cmd], len len[buf]) +write$MLX5_CREATE_SRQ(fd fd_rdma, buf ptr[inout, mlx5_create_srq_cmd], len len[buf]) +write$MODIFY_SRQ(fd fd_rdma, buf ptr[in, modify_srq_cmd], len len[buf]) +write$QUERY_SRQ(fd fd_rdma, buf ptr[inout, query_srq_cmd], len len[buf]) +write$DESTROY_SRQ(fd fd_rdma, buf ptr[inout, destroy_srq_cmd], len len[buf]) +write$POST_SRQ_RECV(fd fd_rdma, buf ptr[inout, post_srq_recv_cmd], len len[buf]) +write$OPEN_XRCD(fd fd_rdma, buf ptr[inout, open_xrcd_cmd], len len[buf]) +write$CLOSE_XRCD(fd fd_rdma, buf ptr[inout, close_xrcd_cmd], len len[buf]) + +# wq +write$CREATE_WQ(fd fd_rdma, buf ptr[inout, create_wq_cmd], len len[buf]) +write$MLX5_CREATE_WQ(fd fd_rdma, buf ptr[inout, mlx5_create_wq_cmd], len len[buf]) +write$MLX5_MODIFY_WQ(fd fd_rdma, buf ptr[inout, mlx5_modify_wq_cmd], len len[buf]) +write$DESTROY_WQ(fd fd_rdma, buf ptr[inout, destroy_wq_cmd], len len[buf]) + +# RSS +write$CREATE_RWQ_IND_TBL(fd fd_rdma, buf ptr[inout, create_rwq_ind_table_cmd], len len[buf]) +write$DESTROY_RWQ_IND_TBL(fd fd_rdma, buf ptr[inout, destroy_rwq_ind_table_cmd], len len[buf]) + +# create_flow +write$CREATE_FLOW(fd fd_rdma, buf ptr[inout, create_flow_cmd], len len[buf]) +write$DESTROY_FLOW(fd fd_rdma, buf ptr[inout, destroy_flow_cmd], len len[buf]) diff --git a/sys/linux/dev_infiniband_rdma_386.const b/sys/linux/dev_infiniband_rdma_386.const new file mode 100644 index 000000000..75ebb6252 --- /dev/null +++ b/sys/linux/dev_infiniband_rdma_386.const @@ -0,0 +1,98 @@ +# AUTOGENERATED FILE +EX_CREATE_CQ_CMD = 2147483666 +EX_CREATE_QP_CMD = 2147483672 +IB_ACCESS_LOCAL_WRITE = 1 +IB_ACCESS_MW_BIND = 16 +IB_ACCESS_ON_DEMAND = 64 +IB_ACCESS_REMOTE_ATOMIC = 8 +IB_ACCESS_REMOTE_READ = 4 +IB_ACCESS_REMOTE_WRITE = 2 +IB_FLOW_ATTR_FLAGS_DONT_TRAP = 2 +IB_FLOW_SPEC_ACTION_COUNT = 4099 +IB_FLOW_SPEC_ACTION_DROP = 4097 +IB_FLOW_SPEC_ACTION_TAG = 4096 +IB_FLOW_SPEC_ESP = 52 +IB_FLOW_SPEC_ETH = 32 +IB_FLOW_SPEC_GRE = 81 +IB_FLOW_SPEC_IPV4 = 48 +IB_FLOW_SPEC_IPV6 = 49 +IB_FLOW_SPEC_MPLS = 96 +IB_FLOW_SPEC_VXLAN_TUNNEL = 80 +IB_IPV4_DONT_FRAG = 2 +IB_IPV4_MORE_FRAG = 4 +IB_MR_REREG_ACCESS = 4 +IB_MR_REREG_PD = 2 +IB_MR_REREG_SUPPORTED = 7 +IB_MR_REREG_TRANS = 1 +IB_QPT_GSI = 1 +IB_QPT_RAW_ETHERTYPE = 6 +IB_QPT_RAW_IPV6 = 5 +IB_QPT_RAW_PACKET = 8 +IB_QPT_RC = 2 +IB_QPT_SMI = 0 +IB_QPT_UC = 3 +IB_QPT_UD = 4 +IB_QPT_XRC_INI = 9 +IB_QPT_XRC_TGT = 10 +IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK = 2 +IB_QP_CREATE_CROSS_CHANNEL = 4 +IB_QP_CREATE_IPOIB_UD_LSO = 1 +IB_QP_CREATE_MANAGED_RECV = 16 +IB_QP_CREATE_MANAGED_SEND = 8 +IB_QP_CREATE_NETIF_QP = 32 +IB_QP_CREATE_SCATTER_FCS = 256 +IB_QP_CREATE_SIGNATURE_EN = 64 +IB_SEND_FENCE = 1 +IB_SEND_INLINE = 8 +IB_SEND_IP_CSUM = 16 +IB_SEND_SIGNALED = 2 +IB_SEND_SOLICITED = 4 +IB_SRQT_BASIC = 0 +IB_SRQT_TM = 2 +IB_SRQT_XRC = 1 +IB_USER_VERBS_CMD_CREATE_CQ = 18 +IB_USER_VERBS_CMD_CREATE_QP = 24 +IB_USER_VERBS_CMD_FLAGS_SHIFT = 24 +IB_USER_VERBS_CMD_FLAG_EXTENDED = 2147483648 +IB_USER_VERBS_CMD_THRESHOLD = 50 +IB_USER_VERBS_EX_CMD_CREATE_FLOW = 2147483698 +IB_USER_VERBS_EX_CMD_DESTROY_FLOW = 2147483699 +IB_USER_VERBS_EX_CMD_QUERY_DEVICE = 2147483649 +IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN = 2 +IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 +IB_UVERBS_READ_COUNTERS_PREFER_CACHED = 1 +IB_WQT_RQ = 0 +IB_WQ_CUR_STATE = 2 +IB_WQ_FLAGS = 4 +IB_WQ_FLAGS_CVLAN_STRIPPING = 1 +IB_WQ_FLAGS_DELAY_DROP = 4 +IB_WQ_FLAGS_PCI_WRITE_END_PADDING = 8 +IB_WQ_FLAGS_SCATTER_FCS = 2 +IB_WQ_STATE = 1 +IB_ZERO_BASED = 32 +MLX5_CREATE_DCI = 22 +MLX5_CREATE_DCT = 8 +MLX5_IB_CQE_RES_FORMAT_CSUM = 2 +MLX5_IB_CQE_RES_FORMAT_HASH = 1 +MLX5_QP_FLAG_BFREG_INDEX = 8 +MLX5_QP_FLAG_SCATTER_CQE = 2 +MLX5_QP_FLAG_SIGNATURE = 1 +MLX5_QP_FLAG_TUNNEL_OFFLOADS = 4 +MLX5_SRQ_FLAG_SIGNATURE = 1 +O_CLOEXEC = 524288 +O_RDWR = 2 +RDMA_DRIVER_MLX5 = 1 +RDMA_VERBS_IOCTL = 3222805249 +UVERBS_ATTR_CREATE_COUNTERS_HANDLE = 0 +UVERBS_ATTR_DESTROY_COUNTERS_HANDLE = 0 +UVERBS_ATTR_F_MANDATORY = 1 +UVERBS_ATTR_READ_COUNTERS_BUFF = 1 +UVERBS_ATTR_READ_COUNTERS_FLAGS = 2 +UVERBS_ATTR_READ_COUNTERS_HANDLE = 0 +UVERBS_METHOD_COUNTERS_CREATE = 0 +UVERBS_METHOD_COUNTERS_DESTROY = 1 +UVERBS_METHOD_COUNTERS_READ = 2 +UVERBS_OBJECT_COUNTERS = 15 +__NR_close = 6 +__NR_ioctl = 54 +__NR_write = 4 diff --git a/sys/linux/dev_infiniband_rdma_amd64.const b/sys/linux/dev_infiniband_rdma_amd64.const new file mode 100644 index 000000000..3fb8d2174 --- /dev/null +++ b/sys/linux/dev_infiniband_rdma_amd64.const @@ -0,0 +1,98 @@ +# AUTOGENERATED FILE +EX_CREATE_CQ_CMD = 2147483666 +EX_CREATE_QP_CMD = 2147483672 +IB_ACCESS_LOCAL_WRITE = 1 +IB_ACCESS_MW_BIND = 16 +IB_ACCESS_ON_DEMAND = 64 +IB_ACCESS_REMOTE_ATOMIC = 8 +IB_ACCESS_REMOTE_READ = 4 +IB_ACCESS_REMOTE_WRITE = 2 +IB_FLOW_ATTR_FLAGS_DONT_TRAP = 2 +IB_FLOW_SPEC_ACTION_COUNT = 4099 +IB_FLOW_SPEC_ACTION_DROP = 4097 +IB_FLOW_SPEC_ACTION_TAG = 4096 +IB_FLOW_SPEC_ESP = 52 +IB_FLOW_SPEC_ETH = 32 +IB_FLOW_SPEC_GRE = 81 +IB_FLOW_SPEC_IPV4 = 48 +IB_FLOW_SPEC_IPV6 = 49 +IB_FLOW_SPEC_MPLS = 96 +IB_FLOW_SPEC_VXLAN_TUNNEL = 80 +IB_IPV4_DONT_FRAG = 2 +IB_IPV4_MORE_FRAG = 4 +IB_MR_REREG_ACCESS = 4 +IB_MR_REREG_PD = 2 +IB_MR_REREG_SUPPORTED = 7 +IB_MR_REREG_TRANS = 1 +IB_QPT_GSI = 1 +IB_QPT_RAW_ETHERTYPE = 6 +IB_QPT_RAW_IPV6 = 5 +IB_QPT_RAW_PACKET = 8 +IB_QPT_RC = 2 +IB_QPT_SMI = 0 +IB_QPT_UC = 3 +IB_QPT_UD = 4 +IB_QPT_XRC_INI = 9 +IB_QPT_XRC_TGT = 10 +IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK = 2 +IB_QP_CREATE_CROSS_CHANNEL = 4 +IB_QP_CREATE_IPOIB_UD_LSO = 1 +IB_QP_CREATE_MANAGED_RECV = 16 +IB_QP_CREATE_MANAGED_SEND = 8 +IB_QP_CREATE_NETIF_QP = 32 +IB_QP_CREATE_SCATTER_FCS = 256 +IB_QP_CREATE_SIGNATURE_EN = 64 +IB_SEND_FENCE = 1 +IB_SEND_INLINE = 8 +IB_SEND_IP_CSUM = 16 +IB_SEND_SIGNALED = 2 +IB_SEND_SOLICITED = 4 +IB_SRQT_BASIC = 0 +IB_SRQT_TM = 2 +IB_SRQT_XRC = 1 +IB_USER_VERBS_CMD_CREATE_CQ = 18 +IB_USER_VERBS_CMD_CREATE_QP = 24 +IB_USER_VERBS_CMD_FLAGS_SHIFT = 24 +IB_USER_VERBS_CMD_FLAG_EXTENDED = 2147483648 +IB_USER_VERBS_CMD_THRESHOLD = 50 +IB_USER_VERBS_EX_CMD_CREATE_FLOW = 2147483698 +IB_USER_VERBS_EX_CMD_DESTROY_FLOW = 2147483699 +IB_USER_VERBS_EX_CMD_QUERY_DEVICE = 2147483649 +IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN = 2 +IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 +IB_UVERBS_READ_COUNTERS_PREFER_CACHED = 1 +IB_WQT_RQ = 0 +IB_WQ_CUR_STATE = 2 +IB_WQ_FLAGS = 4 +IB_WQ_FLAGS_CVLAN_STRIPPING = 1 +IB_WQ_FLAGS_DELAY_DROP = 4 +IB_WQ_FLAGS_PCI_WRITE_END_PADDING = 8 +IB_WQ_FLAGS_SCATTER_FCS = 2 +IB_WQ_STATE = 1 +IB_ZERO_BASED = 32 +MLX5_CREATE_DCI = 22 +MLX5_CREATE_DCT = 8 +MLX5_IB_CQE_RES_FORMAT_CSUM = 2 +MLX5_IB_CQE_RES_FORMAT_HASH = 1 +MLX5_QP_FLAG_BFREG_INDEX = 8 +MLX5_QP_FLAG_SCATTER_CQE = 2 +MLX5_QP_FLAG_SIGNATURE = 1 +MLX5_QP_FLAG_TUNNEL_OFFLOADS = 4 +MLX5_SRQ_FLAG_SIGNATURE = 1 +O_CLOEXEC = 524288 +O_RDWR = 2 +RDMA_DRIVER_MLX5 = 1 +RDMA_VERBS_IOCTL = 3222805249 +UVERBS_ATTR_CREATE_COUNTERS_HANDLE = 0 +UVERBS_ATTR_DESTROY_COUNTERS_HANDLE = 0 +UVERBS_ATTR_F_MANDATORY = 1 +UVERBS_ATTR_READ_COUNTERS_BUFF = 1 +UVERBS_ATTR_READ_COUNTERS_FLAGS = 2 +UVERBS_ATTR_READ_COUNTERS_HANDLE = 0 +UVERBS_METHOD_COUNTERS_CREATE = 0 +UVERBS_METHOD_COUNTERS_DESTROY = 1 +UVERBS_METHOD_COUNTERS_READ = 2 +UVERBS_OBJECT_COUNTERS = 15 +__NR_close = 3 +__NR_ioctl = 16 +__NR_write = 1 diff --git a/sys/linux/dev_infiniband_rdma_arm.const b/sys/linux/dev_infiniband_rdma_arm.const new file mode 100644 index 000000000..75ebb6252 --- /dev/null +++ b/sys/linux/dev_infiniband_rdma_arm.const @@ -0,0 +1,98 @@ +# AUTOGENERATED FILE +EX_CREATE_CQ_CMD = 2147483666 +EX_CREATE_QP_CMD = 2147483672 +IB_ACCESS_LOCAL_WRITE = 1 +IB_ACCESS_MW_BIND = 16 +IB_ACCESS_ON_DEMAND = 64 +IB_ACCESS_REMOTE_ATOMIC = 8 +IB_ACCESS_REMOTE_READ = 4 +IB_ACCESS_REMOTE_WRITE = 2 +IB_FLOW_ATTR_FLAGS_DONT_TRAP = 2 +IB_FLOW_SPEC_ACTION_COUNT = 4099 +IB_FLOW_SPEC_ACTION_DROP = 4097 +IB_FLOW_SPEC_ACTION_TAG = 4096 +IB_FLOW_SPEC_ESP = 52 +IB_FLOW_SPEC_ETH = 32 +IB_FLOW_SPEC_GRE = 81 +IB_FLOW_SPEC_IPV4 = 48 +IB_FLOW_SPEC_IPV6 = 49 +IB_FLOW_SPEC_MPLS = 96 +IB_FLOW_SPEC_VXLAN_TUNNEL = 80 +IB_IPV4_DONT_FRAG = 2 +IB_IPV4_MORE_FRAG = 4 +IB_MR_REREG_ACCESS = 4 +IB_MR_REREG_PD = 2 +IB_MR_REREG_SUPPORTED = 7 +IB_MR_REREG_TRANS = 1 +IB_QPT_GSI = 1 +IB_QPT_RAW_ETHERTYPE = 6 +IB_QPT_RAW_IPV6 = 5 +IB_QPT_RAW_PACKET = 8 +IB_QPT_RC = 2 +IB_QPT_SMI = 0 +IB_QPT_UC = 3 +IB_QPT_UD = 4 +IB_QPT_XRC_INI = 9 +IB_QPT_XRC_TGT = 10 +IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK = 2 +IB_QP_CREATE_CROSS_CHANNEL = 4 +IB_QP_CREATE_IPOIB_UD_LSO = 1 +IB_QP_CREATE_MANAGED_RECV = 16 +IB_QP_CREATE_MANAGED_SEND = 8 +IB_QP_CREATE_NETIF_QP = 32 +IB_QP_CREATE_SCATTER_FCS = 256 +IB_QP_CREATE_SIGNATURE_EN = 64 +IB_SEND_FENCE = 1 +IB_SEND_INLINE = 8 +IB_SEND_IP_CSUM = 16 +IB_SEND_SIGNALED = 2 +IB_SEND_SOLICITED = 4 +IB_SRQT_BASIC = 0 +IB_SRQT_TM = 2 +IB_SRQT_XRC = 1 +IB_USER_VERBS_CMD_CREATE_CQ = 18 +IB_USER_VERBS_CMD_CREATE_QP = 24 +IB_USER_VERBS_CMD_FLAGS_SHIFT = 24 +IB_USER_VERBS_CMD_FLAG_EXTENDED = 2147483648 +IB_USER_VERBS_CMD_THRESHOLD = 50 +IB_USER_VERBS_EX_CMD_CREATE_FLOW = 2147483698 +IB_USER_VERBS_EX_CMD_DESTROY_FLOW = 2147483699 +IB_USER_VERBS_EX_CMD_QUERY_DEVICE = 2147483649 +IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN = 2 +IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 +IB_UVERBS_READ_COUNTERS_PREFER_CACHED = 1 +IB_WQT_RQ = 0 +IB_WQ_CUR_STATE = 2 +IB_WQ_FLAGS = 4 +IB_WQ_FLAGS_CVLAN_STRIPPING = 1 +IB_WQ_FLAGS_DELAY_DROP = 4 +IB_WQ_FLAGS_PCI_WRITE_END_PADDING = 8 +IB_WQ_FLAGS_SCATTER_FCS = 2 +IB_WQ_STATE = 1 +IB_ZERO_BASED = 32 +MLX5_CREATE_DCI = 22 +MLX5_CREATE_DCT = 8 +MLX5_IB_CQE_RES_FORMAT_CSUM = 2 +MLX5_IB_CQE_RES_FORMAT_HASH = 1 +MLX5_QP_FLAG_BFREG_INDEX = 8 +MLX5_QP_FLAG_SCATTER_CQE = 2 +MLX5_QP_FLAG_SIGNATURE = 1 +MLX5_QP_FLAG_TUNNEL_OFFLOADS = 4 +MLX5_SRQ_FLAG_SIGNATURE = 1 +O_CLOEXEC = 524288 +O_RDWR = 2 +RDMA_DRIVER_MLX5 = 1 +RDMA_VERBS_IOCTL = 3222805249 +UVERBS_ATTR_CREATE_COUNTERS_HANDLE = 0 +UVERBS_ATTR_DESTROY_COUNTERS_HANDLE = 0 +UVERBS_ATTR_F_MANDATORY = 1 +UVERBS_ATTR_READ_COUNTERS_BUFF = 1 +UVERBS_ATTR_READ_COUNTERS_FLAGS = 2 +UVERBS_ATTR_READ_COUNTERS_HANDLE = 0 +UVERBS_METHOD_COUNTERS_CREATE = 0 +UVERBS_METHOD_COUNTERS_DESTROY = 1 +UVERBS_METHOD_COUNTERS_READ = 2 +UVERBS_OBJECT_COUNTERS = 15 +__NR_close = 6 +__NR_ioctl = 54 +__NR_write = 4 diff --git a/sys/linux/dev_infiniband_rdma_arm64.const b/sys/linux/dev_infiniband_rdma_arm64.const new file mode 100644 index 000000000..b764f7275 --- /dev/null +++ b/sys/linux/dev_infiniband_rdma_arm64.const @@ -0,0 +1,98 @@ +# AUTOGENERATED FILE +EX_CREATE_CQ_CMD = 2147483666 +EX_CREATE_QP_CMD = 2147483672 +IB_ACCESS_LOCAL_WRITE = 1 +IB_ACCESS_MW_BIND = 16 +IB_ACCESS_ON_DEMAND = 64 +IB_ACCESS_REMOTE_ATOMIC = 8 +IB_ACCESS_REMOTE_READ = 4 +IB_ACCESS_REMOTE_WRITE = 2 +IB_FLOW_ATTR_FLAGS_DONT_TRAP = 2 +IB_FLOW_SPEC_ACTION_COUNT = 4099 +IB_FLOW_SPEC_ACTION_DROP = 4097 +IB_FLOW_SPEC_ACTION_TAG = 4096 +IB_FLOW_SPEC_ESP = 52 +IB_FLOW_SPEC_ETH = 32 +IB_FLOW_SPEC_GRE = 81 +IB_FLOW_SPEC_IPV4 = 48 +IB_FLOW_SPEC_IPV6 = 49 +IB_FLOW_SPEC_MPLS = 96 +IB_FLOW_SPEC_VXLAN_TUNNEL = 80 +IB_IPV4_DONT_FRAG = 2 +IB_IPV4_MORE_FRAG = 4 +IB_MR_REREG_ACCESS = 4 +IB_MR_REREG_PD = 2 +IB_MR_REREG_SUPPORTED = 7 +IB_MR_REREG_TRANS = 1 +IB_QPT_GSI = 1 +IB_QPT_RAW_ETHERTYPE = 6 +IB_QPT_RAW_IPV6 = 5 +IB_QPT_RAW_PACKET = 8 +IB_QPT_RC = 2 +IB_QPT_SMI = 0 +IB_QPT_UC = 3 +IB_QPT_UD = 4 +IB_QPT_XRC_INI = 9 +IB_QPT_XRC_TGT = 10 +IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK = 2 +IB_QP_CREATE_CROSS_CHANNEL = 4 +IB_QP_CREATE_IPOIB_UD_LSO = 1 +IB_QP_CREATE_MANAGED_RECV = 16 +IB_QP_CREATE_MANAGED_SEND = 8 +IB_QP_CREATE_NETIF_QP = 32 +IB_QP_CREATE_SCATTER_FCS = 256 +IB_QP_CREATE_SIGNATURE_EN = 64 +IB_SEND_FENCE = 1 +IB_SEND_INLINE = 8 +IB_SEND_IP_CSUM = 16 +IB_SEND_SIGNALED = 2 +IB_SEND_SOLICITED = 4 +IB_SRQT_BASIC = 0 +IB_SRQT_TM = 2 +IB_SRQT_XRC = 1 +IB_USER_VERBS_CMD_CREATE_CQ = 18 +IB_USER_VERBS_CMD_CREATE_QP = 24 +IB_USER_VERBS_CMD_FLAGS_SHIFT = 24 +IB_USER_VERBS_CMD_FLAG_EXTENDED = 2147483648 +IB_USER_VERBS_CMD_THRESHOLD = 50 +IB_USER_VERBS_EX_CMD_CREATE_FLOW = 2147483698 +IB_USER_VERBS_EX_CMD_DESTROY_FLOW = 2147483699 +IB_USER_VERBS_EX_CMD_QUERY_DEVICE = 2147483649 +IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN = 2 +IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 +IB_UVERBS_READ_COUNTERS_PREFER_CACHED = 1 +IB_WQT_RQ = 0 +IB_WQ_CUR_STATE = 2 +IB_WQ_FLAGS = 4 +IB_WQ_FLAGS_CVLAN_STRIPPING = 1 +IB_WQ_FLAGS_DELAY_DROP = 4 +IB_WQ_FLAGS_PCI_WRITE_END_PADDING = 8 +IB_WQ_FLAGS_SCATTER_FCS = 2 +IB_WQ_STATE = 1 +IB_ZERO_BASED = 32 +MLX5_CREATE_DCI = 22 +MLX5_CREATE_DCT = 8 +MLX5_IB_CQE_RES_FORMAT_CSUM = 2 +MLX5_IB_CQE_RES_FORMAT_HASH = 1 +MLX5_QP_FLAG_BFREG_INDEX = 8 +MLX5_QP_FLAG_SCATTER_CQE = 2 +MLX5_QP_FLAG_SIGNATURE = 1 +MLX5_QP_FLAG_TUNNEL_OFFLOADS = 4 +MLX5_SRQ_FLAG_SIGNATURE = 1 +O_CLOEXEC = 524288 +O_RDWR = 2 +RDMA_DRIVER_MLX5 = 1 +RDMA_VERBS_IOCTL = 3222805249 +UVERBS_ATTR_CREATE_COUNTERS_HANDLE = 0 +UVERBS_ATTR_DESTROY_COUNTERS_HANDLE = 0 +UVERBS_ATTR_F_MANDATORY = 1 +UVERBS_ATTR_READ_COUNTERS_BUFF = 1 +UVERBS_ATTR_READ_COUNTERS_FLAGS = 2 +UVERBS_ATTR_READ_COUNTERS_HANDLE = 0 +UVERBS_METHOD_COUNTERS_CREATE = 0 +UVERBS_METHOD_COUNTERS_DESTROY = 1 +UVERBS_METHOD_COUNTERS_READ = 2 +UVERBS_OBJECT_COUNTERS = 15 +__NR_close = 57 +__NR_ioctl = 29 +__NR_write = 64 diff --git a/sys/linux/dev_infiniband_rdma_cm.txt b/sys/linux/dev_infiniband_rdma_cm.txt index b2d193e41..5d44575ba 100644 --- a/sys/linux/dev_infiniband_rdma_cm.txt +++ b/sys/linux/dev_infiniband_rdma_cm.txt @@ -266,5 +266,4 @@ ib_addr { } [align_8] rdma_port_space = 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/dev_infiniband_rdma_cm_386.const b/sys/linux/dev_infiniband_rdma_cm_386.const index aeebb9d06..f415fce04 100644 --- a/sys/linux/dev_infiniband_rdma_cm_386.const +++ b/sys/linux/dev_infiniband_rdma_cm_386.const @@ -27,19 +27,6 @@ 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 diff --git a/sys/linux/dev_infiniband_rdma_cm_amd64.const b/sys/linux/dev_infiniband_rdma_cm_amd64.const index 363679329..d68183aec 100644 --- a/sys/linux/dev_infiniband_rdma_cm_amd64.const +++ b/sys/linux/dev_infiniband_rdma_cm_amd64.const @@ -27,19 +27,6 @@ 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 diff --git a/sys/linux/dev_infiniband_rdma_cm_arm.const b/sys/linux/dev_infiniband_rdma_cm_arm.const index 31dccc3d6..3610eb6b5 100644 --- a/sys/linux/dev_infiniband_rdma_cm_arm.const +++ b/sys/linux/dev_infiniband_rdma_cm_arm.const @@ -27,19 +27,6 @@ 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 diff --git a/sys/linux/dev_infiniband_rdma_cm_arm64.const b/sys/linux/dev_infiniband_rdma_cm_arm64.const index 7463410e7..84f0febe1 100644 --- a/sys/linux/dev_infiniband_rdma_cm_arm64.const +++ b/sys/linux/dev_infiniband_rdma_cm_arm64.const @@ -27,19 +27,6 @@ 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 diff --git a/sys/linux/dev_infiniband_rdma_cm_ppc64le.const b/sys/linux/dev_infiniband_rdma_cm_ppc64le.const index 1fe76e9ab..0862671ec 100644 --- a/sys/linux/dev_infiniband_rdma_cm_ppc64le.const +++ b/sys/linux/dev_infiniband_rdma_cm_ppc64le.const @@ -27,19 +27,6 @@ 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 diff --git a/sys/linux/dev_infiniband_rdma_ppc64le.const b/sys/linux/dev_infiniband_rdma_ppc64le.const new file mode 100644 index 000000000..75ebb6252 --- /dev/null +++ b/sys/linux/dev_infiniband_rdma_ppc64le.const @@ -0,0 +1,98 @@ +# AUTOGENERATED FILE +EX_CREATE_CQ_CMD = 2147483666 +EX_CREATE_QP_CMD = 2147483672 +IB_ACCESS_LOCAL_WRITE = 1 +IB_ACCESS_MW_BIND = 16 +IB_ACCESS_ON_DEMAND = 64 +IB_ACCESS_REMOTE_ATOMIC = 8 +IB_ACCESS_REMOTE_READ = 4 +IB_ACCESS_REMOTE_WRITE = 2 +IB_FLOW_ATTR_FLAGS_DONT_TRAP = 2 +IB_FLOW_SPEC_ACTION_COUNT = 4099 +IB_FLOW_SPEC_ACTION_DROP = 4097 +IB_FLOW_SPEC_ACTION_TAG = 4096 +IB_FLOW_SPEC_ESP = 52 +IB_FLOW_SPEC_ETH = 32 +IB_FLOW_SPEC_GRE = 81 +IB_FLOW_SPEC_IPV4 = 48 +IB_FLOW_SPEC_IPV6 = 49 +IB_FLOW_SPEC_MPLS = 96 +IB_FLOW_SPEC_VXLAN_TUNNEL = 80 +IB_IPV4_DONT_FRAG = 2 +IB_IPV4_MORE_FRAG = 4 +IB_MR_REREG_ACCESS = 4 +IB_MR_REREG_PD = 2 +IB_MR_REREG_SUPPORTED = 7 +IB_MR_REREG_TRANS = 1 +IB_QPT_GSI = 1 +IB_QPT_RAW_ETHERTYPE = 6 +IB_QPT_RAW_IPV6 = 5 +IB_QPT_RAW_PACKET = 8 +IB_QPT_RC = 2 +IB_QPT_SMI = 0 +IB_QPT_UC = 3 +IB_QPT_UD = 4 +IB_QPT_XRC_INI = 9 +IB_QPT_XRC_TGT = 10 +IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK = 2 +IB_QP_CREATE_CROSS_CHANNEL = 4 +IB_QP_CREATE_IPOIB_UD_LSO = 1 +IB_QP_CREATE_MANAGED_RECV = 16 +IB_QP_CREATE_MANAGED_SEND = 8 +IB_QP_CREATE_NETIF_QP = 32 +IB_QP_CREATE_SCATTER_FCS = 256 +IB_QP_CREATE_SIGNATURE_EN = 64 +IB_SEND_FENCE = 1 +IB_SEND_INLINE = 8 +IB_SEND_IP_CSUM = 16 +IB_SEND_SIGNALED = 2 +IB_SEND_SOLICITED = 4 +IB_SRQT_BASIC = 0 +IB_SRQT_TM = 2 +IB_SRQT_XRC = 1 +IB_USER_VERBS_CMD_CREATE_CQ = 18 +IB_USER_VERBS_CMD_CREATE_QP = 24 +IB_USER_VERBS_CMD_FLAGS_SHIFT = 24 +IB_USER_VERBS_CMD_FLAG_EXTENDED = 2147483648 +IB_USER_VERBS_CMD_THRESHOLD = 50 +IB_USER_VERBS_EX_CMD_CREATE_FLOW = 2147483698 +IB_USER_VERBS_EX_CMD_DESTROY_FLOW = 2147483699 +IB_USER_VERBS_EX_CMD_QUERY_DEVICE = 2147483649 +IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN = 2 +IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 +IB_UVERBS_READ_COUNTERS_PREFER_CACHED = 1 +IB_WQT_RQ = 0 +IB_WQ_CUR_STATE = 2 +IB_WQ_FLAGS = 4 +IB_WQ_FLAGS_CVLAN_STRIPPING = 1 +IB_WQ_FLAGS_DELAY_DROP = 4 +IB_WQ_FLAGS_PCI_WRITE_END_PADDING = 8 +IB_WQ_FLAGS_SCATTER_FCS = 2 +IB_WQ_STATE = 1 +IB_ZERO_BASED = 32 +MLX5_CREATE_DCI = 22 +MLX5_CREATE_DCT = 8 +MLX5_IB_CQE_RES_FORMAT_CSUM = 2 +MLX5_IB_CQE_RES_FORMAT_HASH = 1 +MLX5_QP_FLAG_BFREG_INDEX = 8 +MLX5_QP_FLAG_SCATTER_CQE = 2 +MLX5_QP_FLAG_SIGNATURE = 1 +MLX5_QP_FLAG_TUNNEL_OFFLOADS = 4 +MLX5_SRQ_FLAG_SIGNATURE = 1 +O_CLOEXEC = 524288 +O_RDWR = 2 +RDMA_DRIVER_MLX5 = 1 +RDMA_VERBS_IOCTL = 3222805249 +UVERBS_ATTR_CREATE_COUNTERS_HANDLE = 0 +UVERBS_ATTR_DESTROY_COUNTERS_HANDLE = 0 +UVERBS_ATTR_F_MANDATORY = 1 +UVERBS_ATTR_READ_COUNTERS_BUFF = 1 +UVERBS_ATTR_READ_COUNTERS_FLAGS = 2 +UVERBS_ATTR_READ_COUNTERS_HANDLE = 0 +UVERBS_METHOD_COUNTERS_CREATE = 0 +UVERBS_METHOD_COUNTERS_DESTROY = 1 +UVERBS_METHOD_COUNTERS_READ = 2 +UVERBS_OBJECT_COUNTERS = 15 +__NR_close = 6 +__NR_ioctl = 54 +__NR_write = 4 diff --git a/sys/linux/dev_rtc_386.const b/sys/linux/dev_rtc_386.const index 1e6636264..ef70c6207 100644 --- a/sys/linux/dev_rtc_386.const +++ b/sys/linux/dev_rtc_386.const @@ -1,4 +1,5 @@ # AUTOGENERATED FILE +AT_FDCWD = 18446744073709551516 RTC_AIE_OFF = 28674 RTC_AIE_ON = 28673 RTC_ALM_READ = 2149871624 @@ -23,3 +24,4 @@ RTC_WIE_ON = 28687 RTC_WKALM_RD = 2150133776 RTC_WKALM_SET = 1076391951 __NR_ioctl = 54 +__NR_openat = 295 diff --git a/sys/linux/dev_rtc_amd64.const b/sys/linux/dev_rtc_amd64.const index fd1e9b1bd..f7fb22a74 100644 --- a/sys/linux/dev_rtc_amd64.const +++ b/sys/linux/dev_rtc_amd64.const @@ -1,4 +1,5 @@ # AUTOGENERATED FILE +AT_FDCWD = 18446744073709551516 RTC_AIE_OFF = 28674 RTC_AIE_ON = 28673 RTC_ALM_READ = 2149871624 @@ -23,3 +24,4 @@ RTC_WIE_ON = 28687 RTC_WKALM_RD = 2150133776 RTC_WKALM_SET = 1076391951 __NR_ioctl = 16 +__NR_openat = 257 diff --git a/sys/linux/dev_rtc_arm.const b/sys/linux/dev_rtc_arm.const index 1e6636264..57cb3445a 100644 --- a/sys/linux/dev_rtc_arm.const +++ b/sys/linux/dev_rtc_arm.const @@ -1,4 +1,5 @@ # AUTOGENERATED FILE +AT_FDCWD = 18446744073709551516 RTC_AIE_OFF = 28674 RTC_AIE_ON = 28673 RTC_ALM_READ = 2149871624 @@ -23,3 +24,4 @@ RTC_WIE_ON = 28687 RTC_WKALM_RD = 2150133776 RTC_WKALM_SET = 1076391951 __NR_ioctl = 54 +__NR_openat = 322 diff --git a/sys/linux/dev_rtc_arm64.const b/sys/linux/dev_rtc_arm64.const index 584a5054b..d52cef685 100644 --- a/sys/linux/dev_rtc_arm64.const +++ b/sys/linux/dev_rtc_arm64.const @@ -1,4 +1,5 @@ # AUTOGENERATED FILE +AT_FDCWD = 18446744073709551516 RTC_AIE_OFF = 28674 RTC_AIE_ON = 28673 RTC_ALM_READ = 2149871624 @@ -23,3 +24,4 @@ RTC_WIE_ON = 28687 RTC_WKALM_RD = 2150133776 RTC_WKALM_SET = 1076391951 __NR_ioctl = 29 +__NR_openat = 56 diff --git a/sys/linux/dev_rtc_ppc64le.const b/sys/linux/dev_rtc_ppc64le.const index 6978ef4de..23ffb9271 100644 --- a/sys/linux/dev_rtc_ppc64le.const +++ b/sys/linux/dev_rtc_ppc64le.const @@ -1,4 +1,5 @@ # AUTOGENERATED FILE +AT_FDCWD = 18446744073709551516 RTC_AIE_OFF = 536899586 RTC_AIE_ON = 536899585 RTC_ALM_READ = 1076129800 @@ -23,3 +24,4 @@ RTC_WIE_ON = 536899599 RTC_WKALM_RD = 1076391952 RTC_WKALM_SET = 2150133775 __NR_ioctl = 54 +__NR_openat = 286 diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 4f4c58fe8..6a9dd69bd 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -11,11 +11,13 @@ func init() { } var resources_386 = []*ResourceDesc{ + {Name: "ah_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ah_handle"}, Values: []uint64{0}}, {Name: "assoc_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"assoc_id"}, Values: []uint64{0}}, {Name: "binder_ptr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"binder_ptr"}, Values: []uint64{0}}, {Name: "bpf_btf_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"bpf_btf_id"}, Values: []uint64{0, 18446744073709551615}}, {Name: "bpf_map_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"bpf_map_id"}, Values: []uint64{0, 18446744073709551615}}, {Name: "bpf_prog_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"bpf_prog_id"}, Values: []uint64{0, 18446744073709551615}}, + {Name: "cq_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"cq_handle"}, Values: []uint64{0}}, {Name: "drm_agp_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"drm_agp_handle"}, Values: []uint64{0}}, {Name: "drm_gem_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"drm_gem_handle"}, Values: []uint64{0}}, {Name: "drm_gem_name", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"drm_gem_name"}, Values: []uint64{0}}, @@ -68,6 +70,7 @@ var resources_386 = []*ResourceDesc{ {Name: "fd_ppp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_ppp"}, 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_rawtp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_rawtp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rdma", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma"}, 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_rfkill", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rfkill"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rtc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rtc"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -106,6 +109,7 @@ var resources_386 = []*ResourceDesc{ {Name: "fd_vhci", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhci"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_vhost", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_video", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_video"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "flow_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"flow_handle"}, Values: []uint64{0}}, {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, {Name: "genl_nbd_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}}, @@ -118,6 +122,7 @@ var resources_386 = []*ResourceDesc{ {Name: "ifindex", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex"}, Values: []uint64{0}}, {Name: "ifindex_team", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_team"}, Values: []uint64{0}}, {Name: "ifindex_vcan", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_vcan"}, Values: []uint64{0}}, + {Name: "ind_tbl_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ind_tbl_handle"}, Values: []uint64{0}}, {Name: "inotifydesc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"inotifydesc"}, Values: []uint64{0}}, {Name: "io_ctx", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"io_ctx"}, Values: []uint64{0}}, {Name: "ipc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc"}, Values: []uint64{0, 18446744073709551615}}, @@ -126,8 +131,15 @@ var resources_386 = []*ResourceDesc{ {Name: "ipc_shm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc", "ipc_shm"}, Values: []uint64{0, 18446744073709551615}}, {Name: "key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key"}, Values: []uint64{0}}, {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: "mr_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mr_handle"}, Values: []uint64{0}}, + {Name: "mr_lkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mr_lkey"}, Values: []uint64{0}}, + {Name: "mr_rkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mr_rkey"}, Values: []uint64{0}}, + {Name: "mw_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mw_handle"}, Values: []uint64{0}}, + {Name: "pd_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pd_handle"}, Values: []uint64{0}}, {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: "qp_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"qp_handle"}, Values: []uint64{0}}, + {Name: "qp_number", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"qp_number"}, Values: []uint64{0}}, {Name: "rdma_cm_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_id"}, Values: []uint64{18446744073709551615}}, {Name: "rdma_cm_mcast_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_mcast_id"}, Values: []uint64{18446744073709551615}}, {Name: "rfd9p", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "rfd9p"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -193,6 +205,7 @@ var resources_386 = []*ResourceDesc{ {Name: "sock_vsock_stream", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_vsock", "sock_vsock_stream"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_x25", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_x25"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_xdp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_xdp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "srq_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"srq_handle"}, Values: []uint64{0}}, {Name: "tcp_seq_num", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"tcp_seq_num"}, Values: []uint64{1094861636}}, {Name: "time_nsec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"time_nsec"}, Values: []uint64{0}}, {Name: "time_sec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"time_sec"}, Values: []uint64{0}}, @@ -201,9 +214,12 @@ var resources_386 = []*ResourceDesc{ {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}}, {Name: "user_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "user_key"}, Values: []uint64{0}}, {Name: "v4l2_std_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"v4l2_std_id"}, Values: []uint64{0}}, + {Name: "vcontext_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"vcontext_handle"}, Values: []uint64{0}}, {Name: "vhost_net", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_net"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "vhost_vsock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_vsock"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "wfd9p", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "wfd9p"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "wq_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"wq_handle"}, Values: []uint64{0}}, + {Name: "xrcd_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"xrcd_handle"}, Values: []uint64{0}}, } var structDescs_386 = []*KeyedStruct{ @@ -260,6 +276,31 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "alg_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alg_name", TypeSize: 64}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, }}}, + {Key: StructKey{Name: "alloc_mw_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_mw_cmd", TypeSize: 20, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 14}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "alloc_mw_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "mw_type", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "alloc_mw_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_mw_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "mw_handle", FldName: "mw_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "alloc_pd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_pd_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "alloc_pd_cmd_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "alloc_pd_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_pd_cmd_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 1}}, + }}}, {Key: StructKey{Name: "apparmor_current_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "apparmor_current_attr", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "apparmor_current_hat"}, FldName: "hat"}, &StructType{Key: StructKey{Name: "apparmor_current_profile"}, FldName: "profile"}, @@ -456,6 +497,23 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "atomic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atomic", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "compare_add", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "swap", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "attach_mcast_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "attach_mcast_cmd", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4}}, Val: 30}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "gid", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mlid", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}}, {Key: StructKey{Name: "ax25_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, @@ -1627,6 +1685,12 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "val", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "close_xrcd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "close_xrcd_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 38}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "xrcd_handle", FldName: "xrcd_handle", TypeSize: 4, ArgDir: 2}}, + }}}, {Key: StructKey{Name: "cmsghdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Buf: "parent"}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cmsg_levels", FldName: "cmsg_level", TypeSize: 4}}, Vals: []uint64{1, 1, 0, 6, 17, 41, 58, 132, 136, 255, 256, 257, 258, 259, 260, 261, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281}}, @@ -1821,6 +1885,190 @@ 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: "cmtp_conninfo", Dir: 1}}}}, }}}, + {Key: StructKey{Name: "create_ah_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_ah_cmd", TypeSize: 64, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_ah_cmd_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dgid", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flow_label", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sgid_index", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hop_limit", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "reserved1", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dlid", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sl", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "src_path_bits", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "static_rate", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_global", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "port_num", TypeSize: 1, ArgDir: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "reserved2", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "create_ah_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_ah_cmd_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ah_handle", FldName: "ah_handle", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "create_comp_channel_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_comp_channel_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 17}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_comp_channel_resp", Dir: 1}}}, + }}}, + {Key: StructKey{Name: "create_comp_channel_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_comp_channel_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fd", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_cq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 18}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "reponse", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_cq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_vector", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_channel", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "create_cq_ex_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_cq_ex_cmd", TypeSize: 56, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483666}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_cq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_vector", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_channel", TypeSize: 4, ArgDir: 2}}, Val: 4294967295}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_cq_ex_mask", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_cq_ex_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "create_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_cq_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_flow_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_flow_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483698}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "flow_ex"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_flow_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "create_flow_cmd_ex", Dir: 2}, FldName: "flow_ex"}, + }}}, + {Key: StructKey{Name: "create_flow_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_flow_cmd_ex", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &StructType{Key: StructKey{Name: "ib_uverbs_flow_attr", Dir: 2}, FldName: "flow_attr"}, + }}}, + {Key: StructKey{Name: "create_flow_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_flow_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "flow_handle", FldName: "flow_handle", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "create_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 24}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_qp_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "send_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "recv_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_srq", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 1, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "create_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_qp_resp", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_number", FldName: "qpn", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_rwq_ind_table_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_rwq_ind_table_cmd", TypeSize: 36, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483703}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_rwq_ind_table_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_ind_tbl_size", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wq_handles", TypeSize: 8, ArgDir: 2}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", TypeSize: 4, ArgDir: 2}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, + }}}, + {Key: StructKey{Name: "create_rwq_ind_table_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_rwq_ind_table_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "response_length", TypeSize: 4, ArgDir: 1}}, BitSize: 32, Buf: "parent"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ind_tbl_handle", FldName: "ind_tbl_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ind_tbl_num", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_srq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 32}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_srq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "create_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_srq_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srqn", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_wq_cmd", TypeSize: 64, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483700}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_wq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_wq_flags", FldName: "create_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "create_wq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_wq_resp", TypeSize: 24, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqn", TypeSize: 4, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "crypto_user_alg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "crypto_user_alg", TypeSize: 208}, Fields: []Type{ &StructType{Key: StructKey{Name: "alg_name"}, FldName: "cru_name"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "cru_driver_name", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64}, @@ -1848,6 +2096,106 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "dccp_header"}, FldName: "header"}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }}}, + {Key: StructKey{Name: "dealloc_mw_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dealloc_mw_cmd", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mw_handle", FldName: "mw_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "dealloc_pd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dealloc_pd_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "dereg_mr_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dereg_mr_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 13}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_handle", FldName: "mr_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_ah_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_ah_cmd", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 8}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_cq_cmd", TypeSize: 20, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 20}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_cq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_cq_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_events_reported", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "async_events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "destroy_flow_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_flow_cmd", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483699}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "flow_handle", FldName: "flow_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_qp_cmd", TypeSize: 20, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 27}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_qp_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_qp_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "destroy_rwq_ind_table_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_rwq_ind_table_cmd", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ind_tbl_handle", FldName: "ind_tbl_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_srq_cmd", TypeSize: 20, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 35}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_srq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_srq_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "destroy_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_wq_cmd", TypeSize: 28, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483702}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_wq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 15}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_wq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_wq_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "detach_mcast_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "detach_mcast_cmd", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4}}, Val: 31}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "gid", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mlid", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}}, {Key: StructKey{Name: "devconf_ip_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "devconf_ip_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]"}, FldName: "NETCONFA_IFINDEX"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_FORWARDING, int16], int32]"}, FldName: "NETCONFA_FORWARDING"}, @@ -5999,11 +6347,204 @@ var structDescs_386 = []*KeyedStruct{ {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_flow_esp_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_esp_filter", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "spi", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_eth_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_eth_filter", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dst_mac", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "src_mac", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ether_type", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "vlan_tag", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_gre_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_gre_filter", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "c_ks_res0_ver", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "protocol", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "key", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_ipv4_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_ipv4_filter", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "src_ip", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dst_ip", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "tos", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "ttl", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_ipv4_flags", FldName: "flags", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{2, 4}, BitMask: true}, + }}}, + {Key: StructKey{Name: "ib_flow_ipv6_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_ipv6_filter", TypeSize: 40, ArgDir: 2}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "src_ip", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dst_ip", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flow_label", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "next_hdr", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hop_limit", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_mpls_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_mpls_filter", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tag", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_action_drop", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_action_drop", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 4097}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_action_tag", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_action_tag", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 4096}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tag_id", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_esp", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_esp", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 52}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_esp_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_esp_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_eth", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_eth", TypeSize: 40, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 32}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_eth_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_eth_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_gre", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_gre", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 81}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_gre_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_gre_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_ipv4", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_ipv4", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 48}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 32}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_ipv4_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_ipv4_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_ipv6", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_ipv6", TypeSize: 88, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 49}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 88}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_ipv6_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_ipv6_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_mpls", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_mpls", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 96}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_mpls_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_mpls_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_tcp_udp", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_tcp_udp", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 64, RangeEnd: 65}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_tcp_udp_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_tcp_udp_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_tunnel", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_tunnel", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 80}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_tunnel_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_tunnel_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_tcp_udp_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_tcp_udp_filter", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dst_port", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "src_port", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_tunnel_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_tunnel_filter", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tunnel_id", TypeSize: 4, ArgDir: 2}}}, + }}}, {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}, BitMask: true}, &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: "ib_uverbs_create_counters_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_create_counters_cmd", TypeSize: 48, ArgDir: 2}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "length", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "ib_uverbs_create_counters_cmd"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "object_id", TypeSize: 2, ArgDir: 2}}, Val: 15}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "method_id", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_attrs", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "driver_id", TypeSize: 4, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "len", TypeSize: 2, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "elem_id", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "vcontext_handle", TypeSize: 4, ArgDir: 2, IsOptional: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ib_uverbs_destroy_counters_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_destroy_counters_cmd", TypeSize: 48}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "length", TypeSize: 2}}, BitSize: 64, Buf: "ib_uverbs_destroy_counters_cmd"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "object_id", TypeSize: 2}}, Val: 15}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "method_id", TypeSize: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_attrs", TypeSize: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "driver_id", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "len", TypeSize: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "elem_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "vcontext_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ib_uverbs_flow_attr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_flow_attr", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 2, ArgDir: 2}}, BitSize: 8, Buf: "flow_specs"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "priority", TypeSize: 2, ArgDir: 2}}, Kind: 2, RangeEnd: 7}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "num_of_specs", TypeSize: 1, ArgDir: 2}}, Buf: "flow_specs"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_flow_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2}, BitMask: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "flow_specs", ArgDir: 2, IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "union_ib_flow_spec", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_uverbs_flow_spec_action_count", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_flow_spec_action_count", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 4099}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_uverbs_read_counters_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_read_counters_cmd", TypeSize: 72, ArgDir: 2}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "length", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "ib_uverbs_read_counters_cmd"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "object_id", TypeSize: 2, ArgDir: 2}}, Val: 15}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "method_id", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_attrs", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "driver_id", TypeSize: 4, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id0", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "len0", TypeSize: 2, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags0", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "vcontext_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data0", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id1", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "len1", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "data"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags1", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 2, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "data", TypeSize: 4, ArgDir: 2}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id2", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "len2", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags2", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved4", TypeSize: 2, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_read_counters_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "icmp_address_reply_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmp_address_reply_packet", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}}, @@ -8687,6 +9228,38 @@ var structDescs_386 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "tfd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "toff", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "kern_recv_wr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kern_recv_wr", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "wr_id", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_sge", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "kern_send_wr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kern_send_wr", TypeSize: 64, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "wr_id", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "opcode", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 20}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_send_flags", FldName: "send_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "imm_data", TypeSize: 4, ArgDir: 2}}}, + &UnionType{Key: StructKey{Name: "wr", Dir: 2}, FldName: "wr"}, + &StructType{Key: StructKey{Name: "xrc", Dir: 2}, FldName: "qp_type"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "kern_wc", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kern_wc", TypeSize: 48, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "wr_id", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "status", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "opcode", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vendor_err", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "byte_len", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "imm_data", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_num", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "src_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wc_flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "pkey_index", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "slid", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sl", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dlid_path_bits", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port_num", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 1, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "kexec_segment"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kexec_segment", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "sz", TypeSize: 4}}, Buf: "buf"}, @@ -9862,6 +10435,295 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "mlx5_alloc_pd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_alloc_pd_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_alloc_pd_cmd_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "mlx5_alloc_pd_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_alloc_pd_cmd_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pdn", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_cmd", TypeSize: 72, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483666}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_cq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_vector", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_channel", TypeSize: 4, ArgDir: 2}}, Val: 4294967295}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_cq_ex_mask", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cqe_size", TypeSize: 4, ArgDir: 2}}, Val: 64}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cqe_comp_en", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_comp_cqe_res_format", FldName: "cqe_comp_res_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_dv_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 28}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 9}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_create_qp_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "send_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "recv_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "qp_type", TypeSize: 1, ArgDir: 2}}, Val: 255}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_srq", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_shift", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uidx", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "access_key", TypeSize: 8, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_qp_cmd", TypeSize: 96, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483672}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_qp_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "send_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "recv_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_srq", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_shift", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_qp_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 8, 22}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uidx", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bfreg_index", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "sq_buf_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + }}}, + {Key: StructKey{Name: "mlx5_create_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_qp_resp", TypeSize: 36, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_number", FldName: "qpn", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uuar_index", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_srq_cmd", TypeSize: 80, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 39}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 22}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_ib_create_srq_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "srq_type", FldName: "srq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_num_tags", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "xrcd_handle", FldName: "xrcd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_srq_ex_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uidx", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_wq_cmd", TypeSize: 104, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483700}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_create_wq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_wq_flags", FldName: "create_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_shift", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "user_index", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "single_stride_log_num_of_bytes", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "single_wqe_log_num_of_strides", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "two_byte_shift_en", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "mlx5_create_wq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_wq_resp", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response_length", TypeSize: 4, ArgDir: 1}}, Val: 6}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqn", TypeSize: 4, ArgDir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "mlx5_response_length", TypeSize: 4, ArgDir: 1}}, BitSize: 32, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserver", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_get_context_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_get_context_cmd", TypeSize: 48, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 12}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 18}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_get_context_cmd_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "total_num_uuars", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_low_latency_uuars", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cqe_version", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "lib_caps", TypeSize: 8, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "mlx5_get_context_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_get_context_cmd_resp", TypeSize: 80, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "async_fd", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_comp_vectors", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_tab_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bf_reg_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tot_uuars", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cache_line_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_sq_desc_sz", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_rq_desc_sz", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wqebb", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "num_ports", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cqe_version_cmds_supp_uhw", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "hca_core_clock_offset", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_uar_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_uars_per_page", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_dyn_bfregs", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_ib_create_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_ib_create_srq_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srqn", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_modify_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_modify_wq_cmd", TypeSize: 56, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483701}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "modify_wq_attr_flags", FldName: "attr_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4}, BitMask: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wq_state", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "current_wq_state", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "modify_wq_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "modify_wq_flags", FldName: "flags_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "modify_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "modify_qp_cmd", TypeSize: 120, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 26}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 30}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dest_dgid", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_flow_label", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dest_dlid", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dest_reserved", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sgid_index", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_hop_limit", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sl", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_src_path_bits", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_static_rate", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_is_global", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_port_num", TypeSize: 1, ArgDir: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "alt_dest_dgid", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "alt_dest_flow_label", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_dest_dlid", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_dest_reserved", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sgid_index", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_hop_limit", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sl", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_src_path_bits", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_static_rate", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_is_global", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_port_num", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "attr_mask", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_psn", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_psn", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_qp_num", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_access_flags", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "pkey_index", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_pkey_index", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "qp_state", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cur_qp_state", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mtu", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mig_state", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "en_sqd_async_notify", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_rd_atomic", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_dest_rd_atomic", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "min_rnr_timer", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port_num", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "timeout", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_cnt", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_port_num", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_timeout", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "modify_srq_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "modify_srq_cmd", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4}}, Val: 33}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "attr_mask", TypeSize: 4}}, Kind: 2, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}}, {Key: StructKey{Name: "move_extent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "move_extent", TypeSize: 40}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "donor_fd", TypeSize: 4}}, @@ -17081,6 +17943,19 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"nls\", stringnoz[codepages_names]]"}, FldName: "nls"}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "utf8", TypeSize: 4}, Kind: 2, Values: []string{"utf8"}, NoZ: true}, }}}, + {Key: StructKey{Name: "open_xrcd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "open_xrcd_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 37}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "open_xrcd_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fd", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "oflags", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "open_xrcd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "open_xrcd_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "xrcd_handle", FldName: "xrcd_handle", TypeSize: 4, ArgDir: 1}}, + }}}, {Key: StructKey{Name: "optional[int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "optional[int16]", IsVarlen: true}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "val", TypeSize: 2}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "void"}, Kind: 1}, @@ -17597,6 +18472,19 @@ var structDescs_386 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "rfd", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "wfd", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "poll_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "poll_cq_cmd", TypeSize: 20, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 21}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "poll_cq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ne", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "poll_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "poll_cq_resp", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wc", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_wc", Dir: 1}}}, + }}}, {Key: StructKey{Name: "pollfd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pollfd", TypeSize: 8}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pollfd_events", FldName: "events", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 4096, 8192, 16384, 32768}, BitMask: true}, @@ -17635,6 +18523,49 @@ var structDescs_386 = []*KeyedStruct{ {Key: StructKey{Name: "posix_acl_xattr_header"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "posix_acl_xattr_header", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_version", TypeSize: 4}}, Val: 2}, }}}, + {Key: StructKey{Name: "post_recv_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_recv_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 29}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "post_recv_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wr_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sge_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqe_size", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "recv_wr", ArgDir: 2, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_recv_wr", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "post_recv_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_recv_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bad_wr", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "post_send_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_send_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 28}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "post_send_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wr_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sge_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqe_size", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "send_wr", ArgDir: 2, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_send_wr", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "post_send_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_send_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bad_wr", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "post_srq_recv_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_srq_recv_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 36}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "post_srq_recv_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wr_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sge_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqe_size", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "recv_wr", ArgDir: 2, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_recv_wr", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "post_srq_recv_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_srq_recv_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bad_wr", TypeSize: 4, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "pppoe_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pppoe_addr", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "sid", TypeSize: 2}}, Kind: 2, RangeEnd: 4}, &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "remote"}, @@ -17914,10 +18845,186 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_INGRESS_BLOCK, int16], int32]"}, FldName: "TCA_INGRESS_BLOCK"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_EGRESS_BLOCK, int16], int32]"}, FldName: "TCA_EGRESS_BLOCK"}, }}}, + {Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_cmd_ex", TypeSize: 28, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483649}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "query_device_resp_ex", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "query_device_resp_ex", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_resp_ex", TypeSize: 296, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fw_ver", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "node_guid", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "sys_image_guid", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "max_mr_size", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "page_size_cap", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vendor_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vendor_part_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "hw_ver", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device_cap_flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge_rd", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_cq", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_cqe", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ee_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_res_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp_init_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ee_init_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "atomic_cap", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ee", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rdd", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mw", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_raw_ipv6_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_raw_ethy_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mcast_grp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mcast_qp_attach", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_total_mcast_qp_attach", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ah", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_fmr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_map_per_fmr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_pkeys", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "local_ca_ack_delay", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "phys_port_cnt", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "general_caps", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rc_odp_caps", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uc_odp_caps", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ud_odp_caps", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved_odp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "timestamp_mask", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "hca_core_clock", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "device_cap_flags_ex", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "supported_qpts", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rwq_indirection_tables", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rwq_indirection_table_size", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved_rss", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wq_type_rq", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "raw_packet_caps", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rndv_hdr_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_num_tags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ops", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge_tm", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved_tm", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_cq_moderation_count", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_cq_moderation_period", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved_cq_mod", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "max_dm_size", TypeSize: 8, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "query_port_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_port_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "response", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "port_num", TypeSize: 1, ArgDir: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 7, ArgDir: 2}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "query_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 25}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 32}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "query_qp_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_create_flags", FldName: "attr_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 256}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "query_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_qp_resp", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dest_dgid", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_flow_label", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dest_dlid", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dest_reserved", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sgid_index", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_hop_limit", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_traffic_class", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sl", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_src_path_bits", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_static_rate", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_is_global", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_port_num", TypeSize: 1, ArgDir: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "alt_dest_dgid", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "alt_dest_flow_label", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_dest_dlid", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "alt_dest_reserved", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sgid_index", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_hop_limit", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_traffic_class", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sl", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_src_path_bits", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_static_rate", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_is_global", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_port_num", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_psn", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_psn", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_qp_num", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_access_flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "pkey_index", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_pkey_index", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "qp_state", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cur_qp_state", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mtu", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mig_state", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_draining", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_rd_atomic", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_dest_rd_atomic", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "min_rnr_timer", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port_num", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "timeout", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_cnt", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_port_num", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_timeout", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + }}}, + {Key: StructKey{Name: "query_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_srq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 34}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "query_srq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "query_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_srq_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "raw_hdlc_proto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "raw_hdlc_proto", TypeSize: 4}, Fields: []Type{ &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", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 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"}, @@ -18089,7 +19196,7 @@ var structDescs_386 = []*KeyedStruct{ &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{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}}, + &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}}, &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{ @@ -18290,6 +19397,24 @@ var structDescs_386 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "msg_control"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "reg_mr_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "reg_mr_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 12}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "reg_mr_resp", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "start", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 8, ArgDir: 2}}, Buf: "start"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "hca_va", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_access_flags", FldName: "access_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "reg_mr_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "reg_mr_resp", TypeSize: 12, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_handle", FldName: "mr_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_lkey", FldName: "lkey", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 1}}, + }}}, {Key: StructKey{Name: "reiserfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "reiserfs_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "tails_on", TypeSize: 8}, Kind: 2, Values: []string{"tails=on"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "tails_off", TypeSize: 9}, Kind: 2, Values: []string{"tails=off"}, NoZ: true}, @@ -18333,6 +19458,13 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "errors_continue", TypeSize: 15}, Kind: 2, Values: []string{"errors=continue"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "errors_ro_remount", TypeSize: 17}, Kind: 2, Values: []string{"errors=ro-remount"}, NoZ: true}, }}}, + {Key: StructKey{Name: "req_notify_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "req_notify_cq_cmd", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 23}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "solicited", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + }}}, {Key: StructKey{Name: "request_sense", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "request_sense", TypeSize: 64, ArgDir: 2}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "valid_err_code", TypeSize: 1, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segment_number", TypeSize: 1, ArgDir: 2}}}, @@ -18346,6 +19478,40 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sks", TypeSize: 3, ArgDir: 2}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "asb", TypeSize: 46, ArgDir: 2}, Kind: 1, RangeBegin: 46, RangeEnd: 46}, }}}, + {Key: StructKey{Name: "rereg_mr_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rereg_mr_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 11}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 14}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rereg_mr_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_handle", FldName: "mr_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_mr_rereg_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 7}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "start", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 8, ArgDir: 2}}, Buf: "start"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "hca_va", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_access_flags", FldName: "access_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "rereg_mr_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rereg_mr_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_lkey", FldName: "lkey", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "resize_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "resize_cq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 19}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "resize_cq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "resize_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "resize_cq_resp", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + }}}, {Key: StructKey{Name: "rfkill_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rfkill_event", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "type", TypeSize: 1}}, Kind: 2, RangeEnd: 9}, @@ -23058,6 +24224,12 @@ var structDescs_386 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "ud", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ud", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ah", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "remote_qpn", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "remote_qkey", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "udmabuf_create"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "udmabuf_create", TypeSize: 24}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_memfd", FldName: "memfd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}, Kind: 2, RangeEnd: 1}, @@ -23211,6 +24383,19 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "step", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "level", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "union_ib_flow_spec", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "union_ib_flow_spec", TypeSize: 88, ArgDir: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "ib_flow_spec_eth", Dir: 2}, FldName: "eth"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_ipv6", Dir: 2}, FldName: "ipv6"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_ipv4", Dir: 2}, FldName: "ipv4"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_tcp_udp", Dir: 2}, FldName: "tcp_udp"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_tunnel", Dir: 2}, FldName: "tunnel"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_gre", Dir: 2}, FldName: "gre"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_esp", Dir: 2}, FldName: "esp"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_mpls", Dir: 2}, FldName: "mpls"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_action_tag", Dir: 2}, FldName: "tag"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_action_drop", Dir: 2}, FldName: "drop"}, + &StructType{Key: StructKey{Name: "ib_uverbs_flow_spec_action_count", Dir: 2}, FldName: "count"}, + }}}, {Key: StructKey{Name: "unipair"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "unipair", TypeSize: 4}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "unicode", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "fontpos", TypeSize: 2}}}, @@ -24288,6 +25473,11 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xpix", TypeSize: 2, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "upix", TypeSize: 2, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "wr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wr", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma", Dir: 2}, FldName: "rdma"}, + &StructType{Key: StructKey{Name: "atomic", Dir: 2}, FldName: "atomic"}, + &StructType{Key: StructKey{Name: "ud", Dir: 2}, FldName: "ud"}, + }}}, {Key: StructKey{Name: "x25_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "x25_address", TypeSize: 16}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "null", TypeSize: 16}, Kind: 2, Values: []string{" \x00"}}, &StructType{Key: StructKey{Name: "x25_address_remote"}, FldName: "remote"}, @@ -24797,6 +25987,9 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"logdev\", stringnoz[filename]]"}, FldName: "logdev"}, &StructType{Key: StructKey{Name: "fs_opt[\"rtdev\", stringnoz[filename]]"}, FldName: "rtdev"}, }}}, + {Key: StructKey{Name: "xrc", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xrc", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "remote_srqn", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "xt_CHECKSUM_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_CHECKSUM_info", TypeSize: 1}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "operation", TypeSize: 1}}, Val: 1}, }}}, @@ -27055,6 +28248,9 @@ var syscalls_386 = []*Syscall{ {NR: 6, Name: "close", CallName: "close", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, }}, + {NR: 6, Name: "close$ibv_device", CallName: "close", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + }}, {NR: 362, Name: "connect", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_storage"}}}, @@ -29618,6 +30814,16 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21280}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cdrom_options", FldName: "arg", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true}, }}, + {NR: 54, Name: "ioctl$CREATE_COUNTERS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222805249}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ib_uverbs_create_counters_cmd", Dir: 2}}}, + }}, + {NR: 54, Name: "ioctl$DESTROY_COUNTERS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222805249}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ib_uverbs_destroy_counters_cmd"}}}, + }}, {NR: 54, Name: "ioctl$DMA_BUF_IOCTL_SYNC", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dma_buf", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074291200}, @@ -31493,6 +32699,11 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074049280}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, }}, + {NR: 54, Name: "ioctl$READ_COUNTERS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222805249}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ib_uverbs_read_counters_cmd", Dir: 2}}}, + }}, {NR: 54, Name: "ioctl$RFKILL_IOCTL_NOINPUT", CallName: "ioctl", MissingArgs: 1, Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 20993}, @@ -39601,6 +40812,11 @@ var syscalls_386 = []*Syscall{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 4}}}, &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}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_floppy", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_open_dev$ibv_device", CallName: "syz_open_dev", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 24}, Kind: 2, Values: []string{"/dev/infiniband/uverbs0\x00"}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_dev_open_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{2, 524288}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_open_dev$ircomm", CallName: "syz_open_dev", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 13}, Kind: 2, Values: []string{"/dev/ircomm#\x00"}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 4}}}, @@ -39884,6 +41100,126 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 4}}, BitSize: 8, Buf: "data"}, }}, + {NR: 4, Name: "write$ALLOC_MW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "alloc_mw_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$ALLOC_PD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "alloc_pd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$ATTACH_MCAST", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "attach_mcast_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CLOSE_XRCD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "close_xrcd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_AH", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_ah_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_COMP_CHANNEL", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_comp_channel_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_CQ_EX", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_cq_ex_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_FLOW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_flow_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_RWQ_IND_TBL", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_rwq_ind_table_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DEALLOC_MW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "dealloc_mw_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DEALLOC_PD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "dealloc_pd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DEREG_MR", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rereg_mr_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_AH", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_ah_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_FLOW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_flow_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_RWQ_IND_TBL", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_rwq_ind_table_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DETACH_MCAST", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "detach_mcast_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, {NR: 4, Name: "write$FUSE_ATTR", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fuse", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fuse_out[fuse_attr_out]"}}}, @@ -39994,6 +41330,61 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fuse_out[fuse_write_out]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "arg"}, }}, + {NR: 4, Name: "write$MLX5_ALLOC_PD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_alloc_pd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_CREATE_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_create_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_CREATE_DV_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_CREATE_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_create_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_CREATE_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_create_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_CREATE_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_create_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_GET_CONTEXT", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_get_context_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_MODIFY_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_modify_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MODIFY_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "modify_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MODIFY_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "modify_srq_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$OPEN_XRCD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "open_xrcd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, {NR: 4, Name: "write$P9_RATTACH", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "wfd9p", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "p9_msg[P9_RATTACH, p9_qid]"}}}, @@ -40169,6 +41560,46 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "p9_msg[P9_RXATTRWALK, int64]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 4}}, BitSize: 8, Buf: "data"}, }}, + {NR: 4, Name: "write$POLL_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "poll_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$POST_RECV", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "post_recv_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$POST_SEND", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "post_send_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$POST_SRQ_RECV", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "post_srq_recv_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$QUERY_DEVICE_EX", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$QUERY_PORT", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "query_port_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$QUERY_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "query_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$QUERY_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "query_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, {NR: 4, Name: "write$RDMA_USER_CM_CMD_ACCEPT", 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: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}}}, @@ -40279,6 +41710,26 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"}, }}, + {NR: 4, Name: "write$REG_MR", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "reg_mr_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$REQ_NOTIFY_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "req_notify_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$REREG_MR", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "dereg_mr_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$RESIZE_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "resize_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, {NR: 4, Name: "write$UHID_CREATE", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uhid", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uhid_create_req"}}}, @@ -41677,6 +43128,8 @@ var consts_386 = []ConstValue{ {Name: "EXT4_SYNC_FL", Value: 8}, {Name: "EXT4_TOPDIR_FL", Value: 131072}, {Name: "EXT4_UNRM_FL", Value: 2}, + {Name: "EX_CREATE_CQ_CMD", Value: 2147483666}, + {Name: "EX_CREATE_QP_CMD", Value: 2147483672}, {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8}, {Name: "FALLOC_FL_INSERT_RANGE", Value: 32}, {Name: "FALLOC_FL_KEEP_SIZE", Value: 1}, @@ -42054,6 +43507,12 @@ var consts_386 = []ConstValue{ {Name: "I2C_SMBUS_QUICK"}, {Name: "I2C_TENBIT", Value: 1796}, {Name: "I2C_TIMEOUT", Value: 1794}, + {Name: "IB_ACCESS_LOCAL_WRITE", Value: 1}, + {Name: "IB_ACCESS_MW_BIND", Value: 16}, + {Name: "IB_ACCESS_ON_DEMAND", Value: 64}, + {Name: "IB_ACCESS_REMOTE_ATOMIC", Value: 8}, + {Name: "IB_ACCESS_REMOTE_READ", Value: 4}, + {Name: "IB_ACCESS_REMOTE_WRITE", Value: 2}, {Name: "IB_EVENT_CLIENT_REREGISTER", Value: 17}, {Name: "IB_EVENT_COMM_EST", Value: 4}, {Name: "IB_EVENT_CQ_ERR"}, @@ -42074,6 +43533,23 @@ var consts_386 = []ConstValue{ {Name: "IB_EVENT_SRQ_ERR", Value: 14}, {Name: "IB_EVENT_SRQ_LIMIT_REACHED", Value: 15}, {Name: "IB_EVENT_WQ_FATAL", Value: 19}, + {Name: "IB_FLOW_ATTR_FLAGS_DONT_TRAP", Value: 2}, + {Name: "IB_FLOW_SPEC_ACTION_COUNT", Value: 4099}, + {Name: "IB_FLOW_SPEC_ACTION_DROP", Value: 4097}, + {Name: "IB_FLOW_SPEC_ACTION_TAG", Value: 4096}, + {Name: "IB_FLOW_SPEC_ESP", Value: 52}, + {Name: "IB_FLOW_SPEC_ETH", Value: 32}, + {Name: "IB_FLOW_SPEC_GRE", Value: 81}, + {Name: "IB_FLOW_SPEC_IPV4", Value: 48}, + {Name: "IB_FLOW_SPEC_IPV6", Value: 49}, + {Name: "IB_FLOW_SPEC_MPLS", Value: 96}, + {Name: "IB_FLOW_SPEC_VXLAN_TUNNEL", Value: 80}, + {Name: "IB_IPV4_DONT_FRAG", Value: 2}, + {Name: "IB_IPV4_MORE_FRAG", Value: 4}, + {Name: "IB_MR_REREG_ACCESS", Value: 4}, + {Name: "IB_MR_REREG_PD", Value: 2}, + {Name: "IB_MR_REREG_SUPPORTED", Value: 7}, + {Name: "IB_MR_REREG_TRANS", Value: 1}, {Name: "IB_PATH_ALTERNATE", Value: 4}, {Name: "IB_PATH_GMP", Value: 1}, {Name: "IB_PATH_INBOUND", Value: 16}, @@ -42081,20 +43557,53 @@ var consts_386 = []ConstValue{ {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_QP_CREATE_BLOCK_MULTICAST_LOOPBACK", Value: 2}, + {Name: "IB_QP_CREATE_CROSS_CHANNEL", Value: 4}, + {Name: "IB_QP_CREATE_IPOIB_UD_LSO", Value: 1}, + {Name: "IB_QP_CREATE_MANAGED_RECV", Value: 16}, + {Name: "IB_QP_CREATE_MANAGED_SEND", Value: 8}, + {Name: "IB_QP_CREATE_NETIF_QP", Value: 32}, + {Name: "IB_QP_CREATE_SCATTER_FCS", Value: 256}, + {Name: "IB_QP_CREATE_SIGNATURE_EN", Value: 64}, + {Name: "IB_SEND_FENCE", Value: 1}, + {Name: "IB_SEND_INLINE", Value: 8}, + {Name: "IB_SEND_IP_CSUM", Value: 16}, + {Name: "IB_SEND_SIGNALED", Value: 2}, + {Name: "IB_SEND_SOLICITED", Value: 4}, + {Name: "IB_SRQT_BASIC"}, + {Name: "IB_SRQT_TM", Value: 2}, + {Name: "IB_SRQT_XRC", Value: 1}, + {Name: "IB_USER_VERBS_CMD_CREATE_CQ", Value: 18}, + {Name: "IB_USER_VERBS_CMD_CREATE_QP", Value: 24}, + {Name: "IB_USER_VERBS_CMD_FLAGS_SHIFT", Value: 24}, + {Name: "IB_USER_VERBS_CMD_FLAG_EXTENDED", Value: 2147483648}, + {Name: "IB_USER_VERBS_CMD_THRESHOLD", Value: 50}, + {Name: "IB_USER_VERBS_EX_CMD_CREATE_FLOW", Value: 2147483698}, + {Name: "IB_USER_VERBS_EX_CMD_DESTROY_FLOW", Value: 2147483699}, + {Name: "IB_USER_VERBS_EX_CMD_QUERY_DEVICE", Value: 2147483649}, {Name: "IB_UVERBS_AH_ATTR_SIZE", Value: 32}, + {Name: "IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN", Value: 2}, + {Name: "IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION", Value: 1}, {Name: "IB_UVERBS_QP_ATTR_SIZE", Value: 144}, + {Name: "IB_UVERBS_READ_COUNTERS_PREFER_CACHED", Value: 1}, + {Name: "IB_WQT_RQ"}, + {Name: "IB_WQ_CUR_STATE", Value: 2}, + {Name: "IB_WQ_FLAGS", Value: 4}, + {Name: "IB_WQ_FLAGS_CVLAN_STRIPPING", Value: 1}, + {Name: "IB_WQ_FLAGS_DELAY_DROP", Value: 4}, + {Name: "IB_WQ_FLAGS_PCI_WRITE_END_PADDING", Value: 8}, + {Name: "IB_WQ_FLAGS_SCATTER_FCS", Value: 2}, + {Name: "IB_WQ_STATE", Value: 1}, + {Name: "IB_ZERO_BASED", Value: 32}, {Name: "ICMPV6_ADDR_UNREACH", Value: 3}, {Name: "ICMPV6_ADM_PROHIBITED", Value: 1}, {Name: "ICMPV6_DEST_UNREACH", Value: 1}, @@ -43479,6 +44988,15 @@ var consts_386 = []ConstValue{ {Name: "MISDN_MAX_IDLEN", Value: 20}, {Name: "MISDN_TIME_STAMP", Value: 1}, {Name: "MLOCK_ONFAULT", Value: 1}, + {Name: "MLX5_CREATE_DCI", Value: 22}, + {Name: "MLX5_CREATE_DCT", Value: 8}, + {Name: "MLX5_IB_CQE_RES_FORMAT_CSUM", Value: 2}, + {Name: "MLX5_IB_CQE_RES_FORMAT_HASH", Value: 1}, + {Name: "MLX5_QP_FLAG_BFREG_INDEX", Value: 8}, + {Name: "MLX5_QP_FLAG_SCATTER_CQE", Value: 2}, + {Name: "MLX5_QP_FLAG_SIGNATURE", Value: 1}, + {Name: "MLX5_QP_FLAG_TUNNEL_OFFLOADS", Value: 4}, + {Name: "MLX5_SRQ_FLAG_SIGNATURE", Value: 1}, {Name: "MMAP_PAGE_ZERO", Value: 1048576}, {Name: "MNT_DETACH", Value: 2}, {Name: "MNT_EXPIRE", Value: 4}, @@ -44341,6 +45859,7 @@ var consts_386 = []ConstValue{ {Name: "P_PGID", Value: 2}, {Name: "P_PID", Value: 1}, {Name: "QMAGIC", Value: 204}, + {Name: "RDMA_DRIVER_MLX5", Value: 1}, {Name: "RDMA_MAX_PRIVATE_DATA", Value: 256}, {Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"}, {Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1}, @@ -44380,6 +45899,7 @@ var consts_386 = []ConstValue{ {Name: "RDMA_USER_CM_QUERY_ADDR"}, {Name: "RDMA_USER_CM_QUERY_GID", Value: 2}, {Name: "RDMA_USER_CM_QUERY_PATH", Value: 1}, + {Name: "RDMA_VERBS_IOCTL", Value: 3222805249}, {Name: "RDS_CANCEL_SENT_TO", Value: 1}, {Name: "RDS_CMSG_ATOMIC_CSWP", Value: 7}, {Name: "RDS_CMSG_ATOMIC_FADD", Value: 6}, @@ -46133,6 +47653,16 @@ var consts_386 = []ConstValue{ {Name: "USERIO_CMD_SET_PORT_TYPE", Value: 1}, {Name: "USER_CLIENT", Value: 1}, {Name: "UUID_SIZE", Value: 16}, + {Name: "UVERBS_ATTR_CREATE_COUNTERS_HANDLE"}, + {Name: "UVERBS_ATTR_DESTROY_COUNTERS_HANDLE"}, + {Name: "UVERBS_ATTR_F_MANDATORY", Value: 1}, + {Name: "UVERBS_ATTR_READ_COUNTERS_BUFF", Value: 1}, + {Name: "UVERBS_ATTR_READ_COUNTERS_FLAGS", Value: 2}, + {Name: "UVERBS_ATTR_READ_COUNTERS_HANDLE"}, + {Name: "UVERBS_METHOD_COUNTERS_CREATE"}, + {Name: "UVERBS_METHOD_COUNTERS_DESTROY", Value: 1}, + {Name: "UVERBS_METHOD_COUNTERS_READ", Value: 2}, + {Name: "UVERBS_OBJECT_COUNTERS", Value: 15}, {Name: "V4L2_AUDCAP_AVL", Value: 2}, {Name: "V4L2_AUDCAP_STEREO", Value: 1}, {Name: "V4L2_AUDMODE_AVL", Value: 1}, @@ -47816,4 +49346,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "3fa5134dfe76f2678f7405288c518e0661f39193" +const revision_386 = "07a706f34916e579028c3b5930f05eab20aaa671" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 8d957b4fc..1d201d2a2 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -11,11 +11,13 @@ func init() { } var resources_amd64 = []*ResourceDesc{ + {Name: "ah_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ah_handle"}, Values: []uint64{0}}, {Name: "assoc_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"assoc_id"}, Values: []uint64{0}}, {Name: "binder_ptr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"binder_ptr"}, Values: []uint64{0}}, {Name: "bpf_btf_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"bpf_btf_id"}, Values: []uint64{0, 18446744073709551615}}, {Name: "bpf_map_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"bpf_map_id"}, Values: []uint64{0, 18446744073709551615}}, {Name: "bpf_prog_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"bpf_prog_id"}, Values: []uint64{0, 18446744073709551615}}, + {Name: "cq_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"cq_handle"}, Values: []uint64{0}}, {Name: "drm_agp_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"drm_agp_handle"}, Values: []uint64{0}}, {Name: "drm_gem_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"drm_gem_handle"}, Values: []uint64{0}}, {Name: "drm_gem_name", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"drm_gem_name"}, Values: []uint64{0}}, @@ -68,6 +70,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "fd_ppp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_ppp"}, 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_rawtp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_rawtp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rdma", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma"}, 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_rfkill", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rfkill"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rtc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rtc"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -106,6 +109,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "fd_vhci", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhci"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_vhost", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_video", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_video"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "flow_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"flow_handle"}, Values: []uint64{0}}, {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, {Name: "genl_nbd_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}}, @@ -118,6 +122,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "ifindex", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex"}, Values: []uint64{0}}, {Name: "ifindex_team", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_team"}, Values: []uint64{0}}, {Name: "ifindex_vcan", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_vcan"}, Values: []uint64{0}}, + {Name: "ind_tbl_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ind_tbl_handle"}, Values: []uint64{0}}, {Name: "inotifydesc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"inotifydesc"}, Values: []uint64{0}}, {Name: "io_ctx", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"io_ctx"}, Values: []uint64{0}}, {Name: "ipc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc"}, Values: []uint64{0, 18446744073709551615}}, @@ -126,8 +131,15 @@ var resources_amd64 = []*ResourceDesc{ {Name: "ipc_shm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc", "ipc_shm"}, Values: []uint64{0, 18446744073709551615}}, {Name: "key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key"}, Values: []uint64{0}}, {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: "mr_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mr_handle"}, Values: []uint64{0}}, + {Name: "mr_lkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mr_lkey"}, Values: []uint64{0}}, + {Name: "mr_rkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mr_rkey"}, Values: []uint64{0}}, + {Name: "mw_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mw_handle"}, Values: []uint64{0}}, + {Name: "pd_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pd_handle"}, Values: []uint64{0}}, {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: "qp_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"qp_handle"}, Values: []uint64{0}}, + {Name: "qp_number", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"qp_number"}, Values: []uint64{0}}, {Name: "rdma_cm_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_id"}, Values: []uint64{18446744073709551615}}, {Name: "rdma_cm_mcast_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_mcast_id"}, Values: []uint64{18446744073709551615}}, {Name: "rfd9p", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "rfd9p"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -193,6 +205,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "sock_vsock_stream", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_vsock", "sock_vsock_stream"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_x25", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_x25"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_xdp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_xdp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "srq_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"srq_handle"}, Values: []uint64{0}}, {Name: "tcp_seq_num", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"tcp_seq_num"}, Values: []uint64{1094861636}}, {Name: "te_session_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"te_session_id"}, Values: []uint64{0}}, {Name: "time_nsec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"time_nsec"}, Values: []uint64{0}}, @@ -202,9 +215,12 @@ var resources_amd64 = []*ResourceDesc{ {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}}, {Name: "user_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "user_key"}, Values: []uint64{0}}, {Name: "v4l2_std_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"v4l2_std_id"}, Values: []uint64{0}}, + {Name: "vcontext_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"vcontext_handle"}, Values: []uint64{0}}, {Name: "vhost_net", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_net"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "vhost_vsock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_vsock"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "wfd9p", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "wfd9p"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "wq_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"wq_handle"}, Values: []uint64{0}}, + {Name: "xrcd_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"xrcd_handle"}, Values: []uint64{0}}, } var structDescs_amd64 = []*KeyedStruct{ @@ -261,6 +277,30 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "alg_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alg_name", TypeSize: 64}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, }}}, + {Key: StructKey{Name: "alloc_mw_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_mw_cmd", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 14}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "alloc_mw_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "mw_type", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "alloc_mw_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_mw_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "mw_handle", FldName: "mw_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "alloc_pd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_pd_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "alloc_pd_cmd_resp", Dir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "alloc_pd_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_pd_cmd_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 1}}, + }}}, {Key: StructKey{Name: "apparmor_current_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "apparmor_current_attr", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "apparmor_current_hat"}, FldName: "hat"}, &StructType{Key: StructKey{Name: "apparmor_current_profile"}, FldName: "profile"}, @@ -457,6 +497,23 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "atomic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atomic", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "compare_add", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "swap", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "attach_mcast_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "attach_mcast_cmd", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4}}, Val: 30}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "gid", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mlid", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}}, {Key: StructKey{Name: "ax25_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, @@ -1633,6 +1690,12 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "val", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "close_xrcd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "close_xrcd_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 38}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "xrcd_handle", FldName: "xrcd_handle", TypeSize: 4, ArgDir: 2}}, + }}}, {Key: StructKey{Name: "cmsghdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Buf: "parent"}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cmsg_levels", FldName: "cmsg_level", TypeSize: 4}}, Vals: []uint64{1, 1, 0, 6, 17, 41, 58, 132, 136, 255, 256, 257, 258, 259, 260, 261, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281}}, @@ -1826,6 +1889,184 @@ 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: "cmtp_conninfo", Dir: 1}}}}, }}}, + {Key: StructKey{Name: "create_ah_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_ah_cmd", TypeSize: 64, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_ah_cmd_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dgid", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flow_label", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sgid_index", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hop_limit", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "reserved1", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dlid", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sl", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "src_path_bits", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "static_rate", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_global", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "port_num", TypeSize: 1, ArgDir: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "reserved2", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "create_ah_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_ah_cmd_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ah_handle", FldName: "ah_handle", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "create_comp_channel_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_comp_channel_cmd", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 17}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_comp_channel_resp", Dir: 1}}}, + }}}, + {Key: StructKey{Name: "create_comp_channel_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_comp_channel_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fd", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_cq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 18}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "reponse", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_cq_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_vector", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_channel", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "create_cq_ex_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_cq_ex_cmd", TypeSize: 56, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483666}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_cq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_vector", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_channel", TypeSize: 4, ArgDir: 2}}, Val: 4294967295}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_cq_ex_mask", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_cq_ex_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "create_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_cq_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_flow_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_flow_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483698}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "flow_ex"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_flow_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "create_flow_cmd_ex", Dir: 2}, FldName: "flow_ex"}, + }}}, + {Key: StructKey{Name: "create_flow_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_flow_cmd_ex", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &StructType{Key: StructKey{Name: "ib_uverbs_flow_attr", Dir: 2}, FldName: "flow_attr"}, + }}}, + {Key: StructKey{Name: "create_flow_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_flow_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "flow_handle", FldName: "flow_handle", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "create_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 24}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_qp_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "send_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "recv_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_srq", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 1, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "create_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_qp_resp", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_number", FldName: "qpn", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_rwq_ind_table_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_rwq_ind_table_cmd", TypeSize: 40, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483703}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_rwq_ind_table_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_ind_tbl_size", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wq_handles", TypeSize: 8, ArgDir: 2}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", TypeSize: 4, ArgDir: 2}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, + }}}, + {Key: StructKey{Name: "create_rwq_ind_table_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_rwq_ind_table_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "response_length", TypeSize: 4, ArgDir: 1}}, BitSize: 32, Buf: "parent"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ind_tbl_handle", FldName: "ind_tbl_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ind_tbl_num", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_srq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 32}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_srq_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "create_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_srq_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srqn", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_wq_cmd", TypeSize: 64, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483700}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_wq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_wq_flags", FldName: "create_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "create_wq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_wq_resp", TypeSize: 24, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqn", TypeSize: 4, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "crypto_user_alg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "crypto_user_alg", TypeSize: 208}, Fields: []Type{ &StructType{Key: StructKey{Name: "alg_name"}, FldName: "cru_name"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "cru_driver_name", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64}, @@ -1853,6 +2094,106 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "dccp_header"}, FldName: "header"}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }}}, + {Key: StructKey{Name: "dealloc_mw_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dealloc_mw_cmd", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mw_handle", FldName: "mw_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "dealloc_pd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dealloc_pd_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "dereg_mr_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dereg_mr_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 13}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_handle", FldName: "mr_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_ah_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_ah_cmd", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 8}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_cq_cmd", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 20}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_cq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_cq_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_events_reported", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "async_events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "destroy_flow_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_flow_cmd", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483699}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "flow_handle", FldName: "flow_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_qp_cmd", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 27}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_qp_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_qp_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "destroy_rwq_ind_table_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_rwq_ind_table_cmd", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ind_tbl_handle", FldName: "ind_tbl_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_srq_cmd", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 35}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_srq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_srq_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "destroy_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_wq_cmd", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483702}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_wq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 15}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_wq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_wq_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "detach_mcast_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "detach_mcast_cmd", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4}}, Val: 31}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "gid", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mlid", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}}, {Key: StructKey{Name: "devconf_ip_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "devconf_ip_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]"}, FldName: "NETCONFA_IFINDEX"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_FORWARDING, int16], int32]"}, FldName: "NETCONFA_FORWARDING"}, @@ -6100,11 +6441,203 @@ var structDescs_amd64 = []*KeyedStruct{ {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_flow_esp_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_esp_filter", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "spi", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_eth_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_eth_filter", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dst_mac", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "src_mac", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ether_type", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "vlan_tag", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_gre_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_gre_filter", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "c_ks_res0_ver", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "protocol", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "key", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_ipv4_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_ipv4_filter", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "src_ip", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dst_ip", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "tos", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "ttl", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_ipv4_flags", FldName: "flags", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{2, 4}, BitMask: true}, + }}}, + {Key: StructKey{Name: "ib_flow_ipv6_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_ipv6_filter", TypeSize: 40, ArgDir: 2}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "src_ip", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dst_ip", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flow_label", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "next_hdr", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hop_limit", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_mpls_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_mpls_filter", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tag", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_action_drop", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_action_drop", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 4097}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_action_tag", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_action_tag", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 4096}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tag_id", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_esp", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_esp", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 52}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_esp_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_esp_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_eth", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_eth", TypeSize: 40, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 32}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_eth_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_eth_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_gre", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_gre", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 81}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_gre_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_gre_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_ipv4", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_ipv4", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 48}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 32}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_ipv4_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_ipv4_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_ipv6", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_ipv6", TypeSize: 88, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 49}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 88}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_ipv6_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_ipv6_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_mpls", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_mpls", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 96}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_mpls_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_mpls_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_tcp_udp", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_tcp_udp", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 64, RangeEnd: 65}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_tcp_udp_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_tcp_udp_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_tunnel", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_tunnel", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 80}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_tunnel_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_tunnel_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_tcp_udp_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_tcp_udp_filter", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dst_port", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "src_port", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_tunnel_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_tunnel_filter", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tunnel_id", TypeSize: 4, ArgDir: 2}}}, + }}}, {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}, BitMask: true}, &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: "ib_uverbs_create_counters_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_create_counters_cmd", TypeSize: 48, ArgDir: 2}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "length", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "ib_uverbs_create_counters_cmd"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "object_id", TypeSize: 2, ArgDir: 2}}, Val: 15}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "method_id", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_attrs", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "driver_id", TypeSize: 4, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "len", TypeSize: 2, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "elem_id", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "vcontext_handle", TypeSize: 4, ArgDir: 2, IsOptional: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ib_uverbs_destroy_counters_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_destroy_counters_cmd", TypeSize: 48}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "length", TypeSize: 2}}, BitSize: 64, Buf: "ib_uverbs_destroy_counters_cmd"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "object_id", TypeSize: 2}}, Val: 15}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "method_id", TypeSize: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_attrs", TypeSize: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "driver_id", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "len", TypeSize: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "elem_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "vcontext_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ib_uverbs_flow_attr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_flow_attr", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 2, ArgDir: 2}}, BitSize: 8, Buf: "flow_specs"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "priority", TypeSize: 2, ArgDir: 2}}, Kind: 2, RangeEnd: 7}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "num_of_specs", TypeSize: 1, ArgDir: 2}}, Buf: "flow_specs"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_flow_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2}, BitMask: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "flow_specs", ArgDir: 2, IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "union_ib_flow_spec", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_uverbs_flow_spec_action_count", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_flow_spec_action_count", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 4099}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_uverbs_read_counters_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_read_counters_cmd", TypeSize: 72, ArgDir: 2}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "length", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "ib_uverbs_read_counters_cmd"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "object_id", TypeSize: 2, ArgDir: 2}}, Val: 15}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "method_id", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_attrs", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "driver_id", TypeSize: 4, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id0", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "len0", TypeSize: 2, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags0", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "vcontext_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data0", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id1", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "len1", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "data"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags1", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 2, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "data", TypeSize: 8, ArgDir: 2}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id2", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "len2", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags2", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved4", TypeSize: 2, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_read_counters_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data1", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "icmp_address_reply_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmp_address_reply_packet", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}}, @@ -8794,6 +9327,38 @@ var structDescs_amd64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "tfd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "toff", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "kern_recv_wr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kern_recv_wr", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "wr_id", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_sge", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "kern_send_wr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kern_send_wr", TypeSize: 64, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "wr_id", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "opcode", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 20}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_send_flags", FldName: "send_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "imm_data", TypeSize: 4, ArgDir: 2}}}, + &UnionType{Key: StructKey{Name: "wr", Dir: 2}, FldName: "wr"}, + &StructType{Key: StructKey{Name: "xrc", Dir: 2}, FldName: "qp_type"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "kern_wc", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kern_wc", TypeSize: 48, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "wr_id", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "status", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "opcode", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vendor_err", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "byte_len", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "imm_data", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_num", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "src_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wc_flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "pkey_index", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "slid", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sl", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dlid_path_bits", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port_num", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 1, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "kexec_segment"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kexec_segment", TypeSize: 32}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "sz", TypeSize: 8}}, Buf: "buf"}, @@ -9971,6 +10536,292 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "mlx5_alloc_pd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_alloc_pd_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_alloc_pd_cmd_resp", Dir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "mlx5_alloc_pd_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_alloc_pd_cmd_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pdn", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_cmd", TypeSize: 80, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483666}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_cq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_vector", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_channel", TypeSize: 4, ArgDir: 2}}, Val: 4294967295}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_cq_ex_mask", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cqe_size", TypeSize: 4, ArgDir: 2}}, Val: 64}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cqe_comp_en", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_comp_cqe_res_format", FldName: "cqe_comp_res_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + }}}, + {Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_dv_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 28}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 9}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_qp_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "send_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "recv_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "qp_type", TypeSize: 1, ArgDir: 2}}, Val: 255}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_srq", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_shift", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uidx", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "access_key", TypeSize: 8, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_qp_cmd", TypeSize: 112, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483672}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_qp_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "send_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "recv_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_srq", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_shift", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_qp_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 8, 22}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uidx", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bfreg_index", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "sq_buf_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + }}}, + {Key: StructKey{Name: "mlx5_create_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_qp_resp", TypeSize: 36, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_number", FldName: "qpn", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uuar_index", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_srq_cmd", TypeSize: 96, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 39}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 22}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_ib_create_srq_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "srq_type", FldName: "srq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_num_tags", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "xrcd_handle", FldName: "xrcd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_srq_ex_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uidx", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_wq_cmd", TypeSize: 112, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483700}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_wq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_wq_flags", FldName: "create_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_shift", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "user_index", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "single_stride_log_num_of_bytes", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "single_wqe_log_num_of_strides", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "two_byte_shift_en", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "mlx5_create_wq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_wq_resp", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response_length", TypeSize: 4, ArgDir: 1}}, Val: 6}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqn", TypeSize: 4, ArgDir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "mlx5_response_length", TypeSize: 4, ArgDir: 1}}, BitSize: 32, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserver", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_get_context_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_get_context_cmd", TypeSize: 48, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 12}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 18}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_get_context_cmd_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "total_num_uuars", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_low_latency_uuars", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cqe_version", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "lib_caps", TypeSize: 8, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "mlx5_get_context_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_get_context_cmd_resp", TypeSize: 80, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "async_fd", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_comp_vectors", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_tab_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bf_reg_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tot_uuars", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cache_line_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_sq_desc_sz", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_rq_desc_sz", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wqebb", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "num_ports", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cqe_version_cmds_supp_uhw", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "hca_core_clock_offset", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_uar_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_uars_per_page", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_dyn_bfregs", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_ib_create_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_ib_create_srq_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srqn", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_modify_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_modify_wq_cmd", TypeSize: 56, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483701}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "modify_wq_attr_flags", FldName: "attr_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4}, BitMask: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wq_state", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "current_wq_state", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "modify_wq_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "modify_wq_flags", FldName: "flags_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "modify_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "modify_qp_cmd", TypeSize: 120, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 26}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 30}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dest_dgid", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_flow_label", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dest_dlid", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dest_reserved", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sgid_index", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_hop_limit", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sl", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_src_path_bits", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_static_rate", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_is_global", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_port_num", TypeSize: 1, ArgDir: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "alt_dest_dgid", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "alt_dest_flow_label", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_dest_dlid", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_dest_reserved", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sgid_index", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_hop_limit", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sl", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_src_path_bits", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_static_rate", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_is_global", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_port_num", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "attr_mask", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_psn", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_psn", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_qp_num", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_access_flags", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "pkey_index", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_pkey_index", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "qp_state", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cur_qp_state", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mtu", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mig_state", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "en_sqd_async_notify", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_rd_atomic", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_dest_rd_atomic", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "min_rnr_timer", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port_num", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "timeout", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_cnt", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_port_num", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_timeout", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "modify_srq_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "modify_srq_cmd", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4}}, Val: 33}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "attr_mask", TypeSize: 4}}, Kind: 2, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}}, {Key: StructKey{Name: "move_extent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "move_extent", TypeSize: 40}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "donor_fd", TypeSize: 4}}, @@ -17370,6 +18221,18 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"nls\", stringnoz[codepages_names]]"}, FldName: "nls"}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "utf8", TypeSize: 4}, Kind: 2, Values: []string{"utf8"}, NoZ: true}, }}}, + {Key: StructKey{Name: "open_xrcd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "open_xrcd_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 37}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "open_xrcd_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fd", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "oflags", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "open_xrcd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "open_xrcd_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "xrcd_handle", FldName: "xrcd_handle", TypeSize: 4, ArgDir: 1}}, + }}}, {Key: StructKey{Name: "optional[int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "optional[int16]", IsVarlen: true}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "val", TypeSize: 2}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "void"}, Kind: 1}, @@ -17886,6 +18749,19 @@ var structDescs_amd64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "rfd", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "wfd", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "poll_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "poll_cq_cmd", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 21}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "poll_cq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ne", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "poll_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "poll_cq_resp", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wc", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_wc", Dir: 1}}}, + }}}, {Key: StructKey{Name: "pollfd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pollfd", TypeSize: 8}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pollfd_events", FldName: "events", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 4096, 8192, 16384, 32768}, BitMask: true}, @@ -17924,6 +18800,48 @@ var structDescs_amd64 = []*KeyedStruct{ {Key: StructKey{Name: "posix_acl_xattr_header"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "posix_acl_xattr_header", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_version", TypeSize: 4}}, Val: 2}, }}}, + {Key: StructKey{Name: "post_recv_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_recv_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 29}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_recv_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wr_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sge_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqe_size", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "recv_wr", ArgDir: 2, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_recv_wr", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "post_recv_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_recv_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bad_wr", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "post_send_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_send_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 28}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_send_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wr_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sge_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqe_size", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "send_wr", ArgDir: 2, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_send_wr", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "post_send_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_send_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bad_wr", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "post_srq_recv_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_srq_recv_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 36}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_srq_recv_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wr_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sge_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqe_size", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "recv_wr", ArgDir: 2, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_recv_wr", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "post_srq_recv_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_srq_recv_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bad_wr", TypeSize: 4, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "pppoe_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pppoe_addr", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "sid", TypeSize: 2}}, Kind: 2, RangeEnd: 4}, &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "remote"}, @@ -18202,10 +19120,184 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_INGRESS_BLOCK, int16], int32]"}, FldName: "TCA_INGRESS_BLOCK"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_EGRESS_BLOCK, int16], int32]"}, FldName: "TCA_EGRESS_BLOCK"}, }}}, + {Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_cmd_ex", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483649}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_device_resp_ex", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "query_device_resp_ex", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_resp_ex", TypeSize: 296, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fw_ver", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "node_guid", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "sys_image_guid", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "max_mr_size", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "page_size_cap", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vendor_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vendor_part_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "hw_ver", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device_cap_flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge_rd", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_cq", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_cqe", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ee_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_res_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp_init_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ee_init_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "atomic_cap", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ee", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rdd", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mw", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_raw_ipv6_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_raw_ethy_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mcast_grp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mcast_qp_attach", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_total_mcast_qp_attach", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ah", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_fmr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_map_per_fmr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_pkeys", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "local_ca_ack_delay", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "phys_port_cnt", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "general_caps", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rc_odp_caps", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uc_odp_caps", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ud_odp_caps", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved_odp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "timestamp_mask", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "hca_core_clock", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "device_cap_flags_ex", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "supported_qpts", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rwq_indirection_tables", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rwq_indirection_table_size", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved_rss", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wq_type_rq", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "raw_packet_caps", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rndv_hdr_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_num_tags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ops", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge_tm", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved_tm", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_cq_moderation_count", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_cq_moderation_period", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved_cq_mod", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "max_dm_size", TypeSize: 8, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "query_port_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_port_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "response", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "port_num", TypeSize: 1, ArgDir: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 7, ArgDir: 2}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "query_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 25}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 32}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_qp_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_create_flags", FldName: "attr_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 256}, BitMask: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "query_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_qp_resp", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dest_dgid", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_flow_label", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dest_dlid", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dest_reserved", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sgid_index", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_hop_limit", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_traffic_class", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sl", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_src_path_bits", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_static_rate", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_is_global", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_port_num", TypeSize: 1, ArgDir: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "alt_dest_dgid", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "alt_dest_flow_label", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_dest_dlid", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "alt_dest_reserved", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sgid_index", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_hop_limit", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_traffic_class", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sl", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_src_path_bits", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_static_rate", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_is_global", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_port_num", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_psn", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_psn", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_qp_num", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_access_flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "pkey_index", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_pkey_index", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "qp_state", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cur_qp_state", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mtu", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mig_state", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_draining", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_rd_atomic", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_dest_rd_atomic", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "min_rnr_timer", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port_num", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "timeout", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_cnt", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_port_num", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_timeout", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + }}}, + {Key: StructKey{Name: "query_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_srq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 34}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_srq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "query_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_srq_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "raw_hdlc_proto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "raw_hdlc_proto", TypeSize: 4}, Fields: []Type{ &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", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 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"}, @@ -18377,7 +19469,7 @@ var structDescs_amd64 = []*KeyedStruct{ &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{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}}, + &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}}, &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{ @@ -18582,6 +19674,23 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "reg_mr_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "reg_mr_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 12}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "reg_mr_resp", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "start", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 8, ArgDir: 2}}, Buf: "start"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "hca_va", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_access_flags", FldName: "access_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}, BitMask: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "reg_mr_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "reg_mr_resp", TypeSize: 12, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_handle", FldName: "mr_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_lkey", FldName: "lkey", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 1}}, + }}}, {Key: StructKey{Name: "reiserfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "reiserfs_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "tails_on", TypeSize: 8}, Kind: 2, Values: []string{"tails=on"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "tails_off", TypeSize: 9}, Kind: 2, Values: []string{"tails=off"}, NoZ: true}, @@ -18625,6 +19734,13 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "errors_continue", TypeSize: 15}, Kind: 2, Values: []string{"errors=continue"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "errors_ro_remount", TypeSize: 17}, Kind: 2, Values: []string{"errors=ro-remount"}, NoZ: true}, }}}, + {Key: StructKey{Name: "req_notify_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "req_notify_cq_cmd", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 23}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "solicited", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + }}}, {Key: StructKey{Name: "request_sense", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "request_sense", TypeSize: 64, ArgDir: 2}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "valid_err_code", TypeSize: 1, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segment_number", TypeSize: 1, ArgDir: 2}}}, @@ -18638,6 +19754,38 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sks", TypeSize: 3, ArgDir: 2}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "asb", TypeSize: 46, ArgDir: 2}, Kind: 1, RangeBegin: 46, RangeEnd: 46}, }}}, + {Key: StructKey{Name: "rereg_mr_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rereg_mr_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 11}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 14}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rereg_mr_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_handle", FldName: "mr_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_mr_rereg_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 7}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "start", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 8, ArgDir: 2}}, Buf: "start"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "hca_va", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_access_flags", FldName: "access_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}, BitMask: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "rereg_mr_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rereg_mr_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_lkey", FldName: "lkey", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "resize_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "resize_cq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 19}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "resize_cq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "resize_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "resize_cq_resp", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + }}}, {Key: StructKey{Name: "rfkill_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rfkill_event", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "type", TypeSize: 1}}, Kind: 2, RangeEnd: 9}, @@ -23428,6 +24576,12 @@ var structDescs_amd64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "ud", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ud", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ah", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "remote_qpn", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "remote_qkey", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "udmabuf_create"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "udmabuf_create", TypeSize: 24}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_memfd", FldName: "memfd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}, Kind: 2, RangeEnd: 1}, @@ -23580,6 +24734,19 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "step", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "level", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "union_ib_flow_spec", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "union_ib_flow_spec", TypeSize: 88, ArgDir: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "ib_flow_spec_eth", Dir: 2}, FldName: "eth"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_ipv6", Dir: 2}, FldName: "ipv6"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_ipv4", Dir: 2}, FldName: "ipv4"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_tcp_udp", Dir: 2}, FldName: "tcp_udp"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_tunnel", Dir: 2}, FldName: "tunnel"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_gre", Dir: 2}, FldName: "gre"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_esp", Dir: 2}, FldName: "esp"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_mpls", Dir: 2}, FldName: "mpls"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_action_tag", Dir: 2}, FldName: "tag"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_action_drop", Dir: 2}, FldName: "drop"}, + &StructType{Key: StructKey{Name: "ib_uverbs_flow_spec_action_count", Dir: 2}, FldName: "count"}, + }}}, {Key: StructKey{Name: "unipair"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "unipair", TypeSize: 4}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "unicode", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "fontpos", TypeSize: 2}}}, @@ -24664,6 +25831,11 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xpix", TypeSize: 2, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "upix", TypeSize: 2, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "wr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wr", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma", Dir: 2}, FldName: "rdma"}, + &StructType{Key: StructKey{Name: "atomic", Dir: 2}, FldName: "atomic"}, + &StructType{Key: StructKey{Name: "ud", Dir: 2}, FldName: "ud"}, + }}}, {Key: StructKey{Name: "x25_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "x25_address", TypeSize: 16}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "null", TypeSize: 16}, Kind: 2, Values: []string{" \x00"}}, &StructType{Key: StructKey{Name: "x25_address_remote"}, FldName: "remote"}, @@ -25174,6 +26346,9 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"logdev\", stringnoz[filename]]"}, FldName: "logdev"}, &StructType{Key: StructKey{Name: "fs_opt[\"rtdev\", stringnoz[filename]]"}, FldName: "rtdev"}, }}}, + {Key: StructKey{Name: "xrc", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xrc", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "remote_srqn", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "xt_CHECKSUM_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_CHECKSUM_info", TypeSize: 1}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "operation", TypeSize: 1}}, Val: 1}, }}}, @@ -27550,6 +28725,9 @@ var syscalls_amd64 = []*Syscall{ {NR: 3, Name: "close", CallName: "close", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, }}, + {NR: 3, Name: "close$ibv_device", CallName: "close", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + }}, {NR: 42, Name: "connect", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_storage"}}}, @@ -30113,6 +31291,16 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21280}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cdrom_options", FldName: "arg", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true}, }}, + {NR: 16, Name: "ioctl$CREATE_COUNTERS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222805249}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ib_uverbs_create_counters_cmd", Dir: 2}}}, + }}, + {NR: 16, Name: "ioctl$DESTROY_COUNTERS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222805249}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ib_uverbs_destroy_counters_cmd"}}}, + }}, {NR: 16, Name: "ioctl$DMA_BUF_IOCTL_SYNC", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dma_buf", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074291200}, @@ -31988,6 +33176,11 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074311424}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, }}, + {NR: 16, Name: "ioctl$READ_COUNTERS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222805249}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ib_uverbs_read_counters_cmd", Dir: 2}}}, + }}, {NR: 16, Name: "ioctl$RFKILL_IOCTL_NOINPUT", CallName: "ioctl", MissingArgs: 1, Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 20993}, @@ -40121,6 +41314,11 @@ var syscalls_amd64 = []*Syscall{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}}, &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}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_floppy", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_open_dev$ibv_device", CallName: "syz_open_dev", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 24}, Kind: 2, Values: []string{"/dev/infiniband/uverbs0\x00"}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_dev_open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2, 524288}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_open_dev$ircomm", CallName: "syz_open_dev", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 13}, Kind: 2, Values: []string{"/dev/ircomm#\x00"}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}}, @@ -40404,6 +41602,126 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Buf: "data"}, }}, + {NR: 1, Name: "write$ALLOC_MW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "alloc_mw_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$ALLOC_PD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "alloc_pd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$ATTACH_MCAST", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "attach_mcast_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$CLOSE_XRCD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "close_xrcd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$CREATE_AH", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_ah_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$CREATE_COMP_CHANNEL", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_comp_channel_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$CREATE_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$CREATE_CQ_EX", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_cq_ex_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$CREATE_FLOW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_flow_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$CREATE_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$CREATE_RWQ_IND_TBL", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_rwq_ind_table_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$CREATE_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$CREATE_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$DEALLOC_MW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "dealloc_mw_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$DEALLOC_PD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "dealloc_pd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$DEREG_MR", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rereg_mr_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$DESTROY_AH", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_ah_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$DESTROY_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$DESTROY_FLOW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_flow_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$DESTROY_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$DESTROY_RWQ_IND_TBL", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_rwq_ind_table_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$DESTROY_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$DESTROY_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$DETACH_MCAST", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "detach_mcast_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, {NR: 1, Name: "write$FUSE_ATTR", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fuse", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_out[fuse_attr_out]"}}}, @@ -40514,6 +41832,61 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_out[fuse_write_out]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "arg"}, }}, + {NR: 1, Name: "write$MLX5_ALLOC_PD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_alloc_pd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$MLX5_CREATE_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$MLX5_CREATE_DV_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$MLX5_CREATE_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$MLX5_CREATE_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$MLX5_CREATE_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$MLX5_GET_CONTEXT", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_get_context_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$MLX5_MODIFY_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_modify_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$MODIFY_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "modify_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$MODIFY_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "modify_srq_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$OPEN_XRCD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "open_xrcd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, {NR: 1, Name: "write$P9_RATTACH", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "wfd9p", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "p9_msg[P9_RATTACH, p9_qid]"}}}, @@ -40689,6 +42062,46 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "p9_msg[P9_RXATTRWALK, int64]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Buf: "data"}, }}, + {NR: 1, Name: "write$POLL_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "poll_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$POST_RECV", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_recv_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$POST_SEND", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_send_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$POST_SRQ_RECV", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_srq_recv_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$QUERY_DEVICE_EX", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$QUERY_PORT", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_port_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$QUERY_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$QUERY_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, {NR: 1, Name: "write$RDMA_USER_CM_CMD_ACCEPT", 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: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}}}, @@ -40799,6 +42212,26 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, }}, + {NR: 1, Name: "write$REG_MR", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "reg_mr_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$REQ_NOTIFY_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "req_notify_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$REREG_MR", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "dereg_mr_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 1, Name: "write$RESIZE_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "resize_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, {NR: 1, Name: "write$UHID_CREATE", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uhid", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uhid_create_req"}}}, @@ -42197,6 +43630,8 @@ var consts_amd64 = []ConstValue{ {Name: "EXT4_SYNC_FL", Value: 8}, {Name: "EXT4_TOPDIR_FL", Value: 131072}, {Name: "EXT4_UNRM_FL", Value: 2}, + {Name: "EX_CREATE_CQ_CMD", Value: 2147483666}, + {Name: "EX_CREATE_QP_CMD", Value: 2147483672}, {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8}, {Name: "FALLOC_FL_INSERT_RANGE", Value: 32}, {Name: "FALLOC_FL_KEEP_SIZE", Value: 1}, @@ -42574,6 +44009,12 @@ var consts_amd64 = []ConstValue{ {Name: "I2C_SMBUS_QUICK"}, {Name: "I2C_TENBIT", Value: 1796}, {Name: "I2C_TIMEOUT", Value: 1794}, + {Name: "IB_ACCESS_LOCAL_WRITE", Value: 1}, + {Name: "IB_ACCESS_MW_BIND", Value: 16}, + {Name: "IB_ACCESS_ON_DEMAND", Value: 64}, + {Name: "IB_ACCESS_REMOTE_ATOMIC", Value: 8}, + {Name: "IB_ACCESS_REMOTE_READ", Value: 4}, + {Name: "IB_ACCESS_REMOTE_WRITE", Value: 2}, {Name: "IB_EVENT_CLIENT_REREGISTER", Value: 17}, {Name: "IB_EVENT_COMM_EST", Value: 4}, {Name: "IB_EVENT_CQ_ERR"}, @@ -42594,6 +44035,23 @@ var consts_amd64 = []ConstValue{ {Name: "IB_EVENT_SRQ_ERR", Value: 14}, {Name: "IB_EVENT_SRQ_LIMIT_REACHED", Value: 15}, {Name: "IB_EVENT_WQ_FATAL", Value: 19}, + {Name: "IB_FLOW_ATTR_FLAGS_DONT_TRAP", Value: 2}, + {Name: "IB_FLOW_SPEC_ACTION_COUNT", Value: 4099}, + {Name: "IB_FLOW_SPEC_ACTION_DROP", Value: 4097}, + {Name: "IB_FLOW_SPEC_ACTION_TAG", Value: 4096}, + {Name: "IB_FLOW_SPEC_ESP", Value: 52}, + {Name: "IB_FLOW_SPEC_ETH", Value: 32}, + {Name: "IB_FLOW_SPEC_GRE", Value: 81}, + {Name: "IB_FLOW_SPEC_IPV4", Value: 48}, + {Name: "IB_FLOW_SPEC_IPV6", Value: 49}, + {Name: "IB_FLOW_SPEC_MPLS", Value: 96}, + {Name: "IB_FLOW_SPEC_VXLAN_TUNNEL", Value: 80}, + {Name: "IB_IPV4_DONT_FRAG", Value: 2}, + {Name: "IB_IPV4_MORE_FRAG", Value: 4}, + {Name: "IB_MR_REREG_ACCESS", Value: 4}, + {Name: "IB_MR_REREG_PD", Value: 2}, + {Name: "IB_MR_REREG_SUPPORTED", Value: 7}, + {Name: "IB_MR_REREG_TRANS", Value: 1}, {Name: "IB_PATH_ALTERNATE", Value: 4}, {Name: "IB_PATH_GMP", Value: 1}, {Name: "IB_PATH_INBOUND", Value: 16}, @@ -42601,20 +44059,53 @@ var consts_amd64 = []ConstValue{ {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_QP_CREATE_BLOCK_MULTICAST_LOOPBACK", Value: 2}, + {Name: "IB_QP_CREATE_CROSS_CHANNEL", Value: 4}, + {Name: "IB_QP_CREATE_IPOIB_UD_LSO", Value: 1}, + {Name: "IB_QP_CREATE_MANAGED_RECV", Value: 16}, + {Name: "IB_QP_CREATE_MANAGED_SEND", Value: 8}, + {Name: "IB_QP_CREATE_NETIF_QP", Value: 32}, + {Name: "IB_QP_CREATE_SCATTER_FCS", Value: 256}, + {Name: "IB_QP_CREATE_SIGNATURE_EN", Value: 64}, + {Name: "IB_SEND_FENCE", Value: 1}, + {Name: "IB_SEND_INLINE", Value: 8}, + {Name: "IB_SEND_IP_CSUM", Value: 16}, + {Name: "IB_SEND_SIGNALED", Value: 2}, + {Name: "IB_SEND_SOLICITED", Value: 4}, + {Name: "IB_SRQT_BASIC"}, + {Name: "IB_SRQT_TM", Value: 2}, + {Name: "IB_SRQT_XRC", Value: 1}, + {Name: "IB_USER_VERBS_CMD_CREATE_CQ", Value: 18}, + {Name: "IB_USER_VERBS_CMD_CREATE_QP", Value: 24}, + {Name: "IB_USER_VERBS_CMD_FLAGS_SHIFT", Value: 24}, + {Name: "IB_USER_VERBS_CMD_FLAG_EXTENDED", Value: 2147483648}, + {Name: "IB_USER_VERBS_CMD_THRESHOLD", Value: 50}, + {Name: "IB_USER_VERBS_EX_CMD_CREATE_FLOW", Value: 2147483698}, + {Name: "IB_USER_VERBS_EX_CMD_DESTROY_FLOW", Value: 2147483699}, + {Name: "IB_USER_VERBS_EX_CMD_QUERY_DEVICE", Value: 2147483649}, {Name: "IB_UVERBS_AH_ATTR_SIZE", Value: 32}, + {Name: "IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN", Value: 2}, + {Name: "IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION", Value: 1}, {Name: "IB_UVERBS_QP_ATTR_SIZE", Value: 144}, + {Name: "IB_UVERBS_READ_COUNTERS_PREFER_CACHED", Value: 1}, + {Name: "IB_WQT_RQ"}, + {Name: "IB_WQ_CUR_STATE", Value: 2}, + {Name: "IB_WQ_FLAGS", Value: 4}, + {Name: "IB_WQ_FLAGS_CVLAN_STRIPPING", Value: 1}, + {Name: "IB_WQ_FLAGS_DELAY_DROP", Value: 4}, + {Name: "IB_WQ_FLAGS_PCI_WRITE_END_PADDING", Value: 8}, + {Name: "IB_WQ_FLAGS_SCATTER_FCS", Value: 2}, + {Name: "IB_WQ_STATE", Value: 1}, + {Name: "IB_ZERO_BASED", Value: 32}, {Name: "ICMPV6_ADDR_UNREACH", Value: 3}, {Name: "ICMPV6_ADM_PROHIBITED", Value: 1}, {Name: "ICMPV6_DEST_UNREACH", Value: 1}, @@ -43999,6 +45490,15 @@ var consts_amd64 = []ConstValue{ {Name: "MISDN_MAX_IDLEN", Value: 20}, {Name: "MISDN_TIME_STAMP", Value: 1}, {Name: "MLOCK_ONFAULT", Value: 1}, + {Name: "MLX5_CREATE_DCI", Value: 22}, + {Name: "MLX5_CREATE_DCT", Value: 8}, + {Name: "MLX5_IB_CQE_RES_FORMAT_CSUM", Value: 2}, + {Name: "MLX5_IB_CQE_RES_FORMAT_HASH", Value: 1}, + {Name: "MLX5_QP_FLAG_BFREG_INDEX", Value: 8}, + {Name: "MLX5_QP_FLAG_SCATTER_CQE", Value: 2}, + {Name: "MLX5_QP_FLAG_SIGNATURE", Value: 1}, + {Name: "MLX5_QP_FLAG_TUNNEL_OFFLOADS", Value: 4}, + {Name: "MLX5_SRQ_FLAG_SIGNATURE", Value: 1}, {Name: "MMAP_PAGE_ZERO", Value: 1048576}, {Name: "MNT_DETACH", Value: 2}, {Name: "MNT_EXPIRE", Value: 4}, @@ -44861,6 +46361,7 @@ var consts_amd64 = []ConstValue{ {Name: "P_PGID", Value: 2}, {Name: "P_PID", Value: 1}, {Name: "QMAGIC", Value: 204}, + {Name: "RDMA_DRIVER_MLX5", Value: 1}, {Name: "RDMA_MAX_PRIVATE_DATA", Value: 256}, {Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"}, {Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1}, @@ -44900,6 +46401,7 @@ var consts_amd64 = []ConstValue{ {Name: "RDMA_USER_CM_QUERY_ADDR"}, {Name: "RDMA_USER_CM_QUERY_GID", Value: 2}, {Name: "RDMA_USER_CM_QUERY_PATH", Value: 1}, + {Name: "RDMA_VERBS_IOCTL", Value: 3222805249}, {Name: "RDS_CANCEL_SENT_TO", Value: 1}, {Name: "RDS_CMSG_ATOMIC_CSWP", Value: 7}, {Name: "RDS_CMSG_ATOMIC_FADD", Value: 6}, @@ -46667,6 +48169,16 @@ var consts_amd64 = []ConstValue{ {Name: "USERIO_CMD_SET_PORT_TYPE", Value: 1}, {Name: "USER_CLIENT", Value: 1}, {Name: "UUID_SIZE", Value: 16}, + {Name: "UVERBS_ATTR_CREATE_COUNTERS_HANDLE"}, + {Name: "UVERBS_ATTR_DESTROY_COUNTERS_HANDLE"}, + {Name: "UVERBS_ATTR_F_MANDATORY", Value: 1}, + {Name: "UVERBS_ATTR_READ_COUNTERS_BUFF", Value: 1}, + {Name: "UVERBS_ATTR_READ_COUNTERS_FLAGS", Value: 2}, + {Name: "UVERBS_ATTR_READ_COUNTERS_HANDLE"}, + {Name: "UVERBS_METHOD_COUNTERS_CREATE"}, + {Name: "UVERBS_METHOD_COUNTERS_DESTROY", Value: 1}, + {Name: "UVERBS_METHOD_COUNTERS_READ", Value: 2}, + {Name: "UVERBS_OBJECT_COUNTERS", Value: 15}, {Name: "V4L2_AUDCAP_AVL", Value: 2}, {Name: "V4L2_AUDCAP_STEREO", Value: 1}, {Name: "V4L2_AUDMODE_AVL", Value: 1}, @@ -48351,4 +49863,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "0e7c17047648b42ff0d38b7e9b6561e6b17fdfd0" +const revision_amd64 = "a209771bec315f9e71a9b5957a5359b90a040b8c" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 06ab858c6..2bd5b6632 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -11,11 +11,13 @@ func init() { } var resources_arm = []*ResourceDesc{ + {Name: "ah_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ah_handle"}, Values: []uint64{0}}, {Name: "assoc_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"assoc_id"}, Values: []uint64{0}}, {Name: "binder_ptr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"binder_ptr"}, Values: []uint64{0}}, {Name: "bpf_btf_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"bpf_btf_id"}, Values: []uint64{0, 18446744073709551615}}, {Name: "bpf_map_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"bpf_map_id"}, Values: []uint64{0, 18446744073709551615}}, {Name: "bpf_prog_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"bpf_prog_id"}, Values: []uint64{0, 18446744073709551615}}, + {Name: "cq_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"cq_handle"}, Values: []uint64{0}}, {Name: "drm_agp_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"drm_agp_handle"}, Values: []uint64{0}}, {Name: "drm_gem_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"drm_gem_handle"}, Values: []uint64{0}}, {Name: "drm_gem_name", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"drm_gem_name"}, Values: []uint64{0}}, @@ -68,6 +70,7 @@ var resources_arm = []*ResourceDesc{ {Name: "fd_ppp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_ppp"}, 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_rawtp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_rawtp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rdma", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma"}, 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_rfkill", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rfkill"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rtc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rtc"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -106,6 +109,7 @@ var resources_arm = []*ResourceDesc{ {Name: "fd_vhci", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhci"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_vhost", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_video", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_video"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "flow_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"flow_handle"}, Values: []uint64{0}}, {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, {Name: "genl_nbd_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}}, @@ -118,6 +122,7 @@ var resources_arm = []*ResourceDesc{ {Name: "ifindex", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex"}, Values: []uint64{0}}, {Name: "ifindex_team", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_team"}, Values: []uint64{0}}, {Name: "ifindex_vcan", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_vcan"}, Values: []uint64{0}}, + {Name: "ind_tbl_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ind_tbl_handle"}, Values: []uint64{0}}, {Name: "inotifydesc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"inotifydesc"}, Values: []uint64{0}}, {Name: "io_ctx", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"io_ctx"}, Values: []uint64{0}}, {Name: "ipc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc"}, Values: []uint64{0, 18446744073709551615}}, @@ -126,8 +131,15 @@ var resources_arm = []*ResourceDesc{ {Name: "ipc_shm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc", "ipc_shm"}, Values: []uint64{0, 18446744073709551615}}, {Name: "key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key"}, Values: []uint64{0}}, {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: "mr_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mr_handle"}, Values: []uint64{0}}, + {Name: "mr_lkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mr_lkey"}, Values: []uint64{0}}, + {Name: "mr_rkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mr_rkey"}, Values: []uint64{0}}, + {Name: "mw_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mw_handle"}, Values: []uint64{0}}, + {Name: "pd_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pd_handle"}, Values: []uint64{0}}, {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: "qp_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"qp_handle"}, Values: []uint64{0}}, + {Name: "qp_number", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"qp_number"}, Values: []uint64{0}}, {Name: "rdma_cm_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_id"}, Values: []uint64{18446744073709551615}}, {Name: "rdma_cm_mcast_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_mcast_id"}, Values: []uint64{18446744073709551615}}, {Name: "rfd9p", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "rfd9p"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -193,6 +205,7 @@ var resources_arm = []*ResourceDesc{ {Name: "sock_vsock_stream", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_vsock", "sock_vsock_stream"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_x25", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_x25"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_xdp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_xdp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "srq_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"srq_handle"}, Values: []uint64{0}}, {Name: "tcp_seq_num", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"tcp_seq_num"}, Values: []uint64{1094861636}}, {Name: "time_nsec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"time_nsec"}, Values: []uint64{0}}, {Name: "time_sec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 4}}}, Kind: []string{"time_sec"}, Values: []uint64{0}}, @@ -201,9 +214,12 @@ var resources_arm = []*ResourceDesc{ {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}}, {Name: "user_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "user_key"}, Values: []uint64{0}}, {Name: "v4l2_std_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"v4l2_std_id"}, Values: []uint64{0}}, + {Name: "vcontext_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"vcontext_handle"}, Values: []uint64{0}}, {Name: "vhost_net", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_net"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "vhost_vsock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_vsock"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "wfd9p", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "wfd9p"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "wq_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"wq_handle"}, Values: []uint64{0}}, + {Name: "xrcd_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"xrcd_handle"}, Values: []uint64{0}}, } var structDescs_arm = []*KeyedStruct{ @@ -260,6 +276,31 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "alg_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alg_name", TypeSize: 64}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, }}}, + {Key: StructKey{Name: "alloc_mw_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_mw_cmd", TypeSize: 20, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 14}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "alloc_mw_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "mw_type", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "alloc_mw_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_mw_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "mw_handle", FldName: "mw_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "alloc_pd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_pd_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "alloc_pd_cmd_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "alloc_pd_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_pd_cmd_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 1}}, + }}}, {Key: StructKey{Name: "apparmor_current_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "apparmor_current_attr", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "apparmor_current_hat"}, FldName: "hat"}, &StructType{Key: StructKey{Name: "apparmor_current_profile"}, FldName: "profile"}, @@ -456,6 +497,23 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "atomic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atomic", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "compare_add", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "swap", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "attach_mcast_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "attach_mcast_cmd", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4}}, Val: 30}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "gid", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mlid", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}}, {Key: StructKey{Name: "ax25_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, @@ -1627,6 +1685,12 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "val", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "close_xrcd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "close_xrcd_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 38}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "xrcd_handle", FldName: "xrcd_handle", TypeSize: 4, ArgDir: 2}}, + }}}, {Key: StructKey{Name: "cmsghdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 4}}, Buf: "parent"}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cmsg_levels", FldName: "cmsg_level", TypeSize: 4}}, Vals: []uint64{1, 1, 0, 6, 17, 41, 58, 132, 136, 255, 256, 257, 258, 259, 260, 261, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281}}, @@ -1821,6 +1885,190 @@ 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: "cmtp_conninfo", Dir: 1}}}}, }}}, + {Key: StructKey{Name: "create_ah_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_ah_cmd", TypeSize: 64, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_ah_cmd_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dgid", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flow_label", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sgid_index", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hop_limit", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "reserved1", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dlid", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sl", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "src_path_bits", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "static_rate", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_global", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "port_num", TypeSize: 1, ArgDir: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "reserved2", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "create_ah_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_ah_cmd_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ah_handle", FldName: "ah_handle", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "create_comp_channel_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_comp_channel_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 17}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_comp_channel_resp", Dir: 1}}}, + }}}, + {Key: StructKey{Name: "create_comp_channel_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_comp_channel_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fd", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_cq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 18}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "reponse", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_cq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_vector", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_channel", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "create_cq_ex_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_cq_ex_cmd", TypeSize: 56, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483666}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_cq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_vector", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_channel", TypeSize: 4, ArgDir: 2}}, Val: 4294967295}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_cq_ex_mask", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_cq_ex_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "create_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_cq_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_flow_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_flow_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483698}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "flow_ex"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_flow_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "create_flow_cmd_ex", Dir: 2}, FldName: "flow_ex"}, + }}}, + {Key: StructKey{Name: "create_flow_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_flow_cmd_ex", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &StructType{Key: StructKey{Name: "ib_uverbs_flow_attr", Dir: 2}, FldName: "flow_attr"}, + }}}, + {Key: StructKey{Name: "create_flow_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_flow_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "flow_handle", FldName: "flow_handle", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "create_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 24}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_qp_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "send_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "recv_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_srq", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 1, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "create_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_qp_resp", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_number", FldName: "qpn", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_rwq_ind_table_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_rwq_ind_table_cmd", TypeSize: 36, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483703}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_rwq_ind_table_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_ind_tbl_size", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wq_handles", TypeSize: 8, ArgDir: 2}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", TypeSize: 4, ArgDir: 2}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, + }}}, + {Key: StructKey{Name: "create_rwq_ind_table_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_rwq_ind_table_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "response_length", TypeSize: 4, ArgDir: 1}}, BitSize: 32, Buf: "parent"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ind_tbl_handle", FldName: "ind_tbl_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ind_tbl_num", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_srq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 32}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_srq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "create_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_srq_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srqn", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_wq_cmd", TypeSize: 64, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483700}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_wq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_wq_flags", FldName: "create_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "create_wq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_wq_resp", TypeSize: 24, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqn", TypeSize: 4, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "crypto_user_alg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "crypto_user_alg", TypeSize: 208}, Fields: []Type{ &StructType{Key: StructKey{Name: "alg_name"}, FldName: "cru_name"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "cru_driver_name", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64}, @@ -1848,6 +2096,106 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "dccp_header"}, FldName: "header"}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }}}, + {Key: StructKey{Name: "dealloc_mw_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dealloc_mw_cmd", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mw_handle", FldName: "mw_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "dealloc_pd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dealloc_pd_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "dereg_mr_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dereg_mr_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 13}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_handle", FldName: "mr_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_ah_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_ah_cmd", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 8}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_cq_cmd", TypeSize: 20, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 20}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_cq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_cq_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_events_reported", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "async_events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "destroy_flow_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_flow_cmd", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483699}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "flow_handle", FldName: "flow_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_qp_cmd", TypeSize: 20, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 27}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_qp_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_qp_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "destroy_rwq_ind_table_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_rwq_ind_table_cmd", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ind_tbl_handle", FldName: "ind_tbl_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_srq_cmd", TypeSize: 20, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 35}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_srq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_srq_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "destroy_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_wq_cmd", TypeSize: 28, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483702}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_wq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 15}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_wq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_wq_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "detach_mcast_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "detach_mcast_cmd", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4}}, Val: 31}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "gid", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mlid", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}}, {Key: StructKey{Name: "devconf_ip_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "devconf_ip_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]"}, FldName: "NETCONFA_IFINDEX"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_FORWARDING, int16], int32]"}, FldName: "NETCONFA_FORWARDING"}, @@ -5999,11 +6347,204 @@ var structDescs_arm = []*KeyedStruct{ {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_flow_esp_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_esp_filter", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "spi", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_eth_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_eth_filter", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dst_mac", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "src_mac", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ether_type", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "vlan_tag", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_gre_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_gre_filter", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "c_ks_res0_ver", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "protocol", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "key", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_ipv4_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_ipv4_filter", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "src_ip", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dst_ip", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "tos", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "ttl", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_ipv4_flags", FldName: "flags", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{2, 4}, BitMask: true}, + }}}, + {Key: StructKey{Name: "ib_flow_ipv6_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_ipv6_filter", TypeSize: 40, ArgDir: 2}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "src_ip", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dst_ip", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flow_label", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "next_hdr", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hop_limit", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_mpls_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_mpls_filter", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tag", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_action_drop", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_action_drop", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 4097}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_action_tag", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_action_tag", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 4096}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tag_id", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_esp", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_esp", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 52}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_esp_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_esp_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_eth", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_eth", TypeSize: 40, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 32}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_eth_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_eth_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_gre", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_gre", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 81}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_gre_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_gre_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_ipv4", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_ipv4", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 48}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 32}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_ipv4_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_ipv4_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_ipv6", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_ipv6", TypeSize: 88, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 49}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 88}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_ipv6_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_ipv6_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_mpls", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_mpls", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 96}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_mpls_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_mpls_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_tcp_udp", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_tcp_udp", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 64, RangeEnd: 65}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_tcp_udp_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_tcp_udp_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_tunnel", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_tunnel", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 80}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_tunnel_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_tunnel_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_tcp_udp_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_tcp_udp_filter", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dst_port", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "src_port", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_tunnel_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_tunnel_filter", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tunnel_id", TypeSize: 4, ArgDir: 2}}}, + }}}, {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}, BitMask: true}, &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: "ib_uverbs_create_counters_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_create_counters_cmd", TypeSize: 48, ArgDir: 2}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "length", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "ib_uverbs_create_counters_cmd"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "object_id", TypeSize: 2, ArgDir: 2}}, Val: 15}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "method_id", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_attrs", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "driver_id", TypeSize: 4, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "len", TypeSize: 2, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "elem_id", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "vcontext_handle", TypeSize: 4, ArgDir: 2, IsOptional: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ib_uverbs_destroy_counters_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_destroy_counters_cmd", TypeSize: 48}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "length", TypeSize: 2}}, BitSize: 64, Buf: "ib_uverbs_destroy_counters_cmd"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "object_id", TypeSize: 2}}, Val: 15}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "method_id", TypeSize: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_attrs", TypeSize: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "driver_id", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "len", TypeSize: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "elem_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "vcontext_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ib_uverbs_flow_attr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_flow_attr", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 2, ArgDir: 2}}, BitSize: 8, Buf: "flow_specs"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "priority", TypeSize: 2, ArgDir: 2}}, Kind: 2, RangeEnd: 7}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "num_of_specs", TypeSize: 1, ArgDir: 2}}, Buf: "flow_specs"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_flow_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2}, BitMask: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "flow_specs", ArgDir: 2, IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "union_ib_flow_spec", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_uverbs_flow_spec_action_count", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_flow_spec_action_count", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 4099}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_uverbs_read_counters_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_read_counters_cmd", TypeSize: 72, ArgDir: 2}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "length", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "ib_uverbs_read_counters_cmd"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "object_id", TypeSize: 2, ArgDir: 2}}, Val: 15}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "method_id", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_attrs", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "driver_id", TypeSize: 4, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id0", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "len0", TypeSize: 2, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags0", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "vcontext_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data0", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id1", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "len1", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "data"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags1", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 2, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "data", TypeSize: 4, ArgDir: 2}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id2", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "len2", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags2", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved4", TypeSize: 2, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_read_counters_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "icmp_address_reply_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmp_address_reply_packet", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}}, @@ -8687,6 +9228,38 @@ var structDescs_arm = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "tfd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "toff", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "kern_recv_wr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kern_recv_wr", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "wr_id", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_sge", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "kern_send_wr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kern_send_wr", TypeSize: 64, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "wr_id", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "opcode", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 20}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_send_flags", FldName: "send_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "imm_data", TypeSize: 4, ArgDir: 2}}}, + &UnionType{Key: StructKey{Name: "wr", Dir: 2}, FldName: "wr"}, + &StructType{Key: StructKey{Name: "xrc", Dir: 2}, FldName: "qp_type"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "kern_wc", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kern_wc", TypeSize: 48, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "wr_id", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "status", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "opcode", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vendor_err", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "byte_len", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "imm_data", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_num", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "src_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wc_flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "pkey_index", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "slid", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sl", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dlid_path_bits", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port_num", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 1, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "kexec_segment"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kexec_segment", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "sz", TypeSize: 4}}, Buf: "buf"}, @@ -9679,6 +10252,295 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "mlx5_alloc_pd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_alloc_pd_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_alloc_pd_cmd_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "mlx5_alloc_pd_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_alloc_pd_cmd_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pdn", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_cmd", TypeSize: 72, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483666}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_cq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_vector", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_channel", TypeSize: 4, ArgDir: 2}}, Val: 4294967295}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_cq_ex_mask", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cqe_size", TypeSize: 4, ArgDir: 2}}, Val: 64}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cqe_comp_en", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_comp_cqe_res_format", FldName: "cqe_comp_res_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_dv_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 28}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 9}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_create_qp_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "send_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "recv_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "qp_type", TypeSize: 1, ArgDir: 2}}, Val: 255}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_srq", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_shift", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uidx", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "access_key", TypeSize: 8, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_qp_cmd", TypeSize: 96, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483672}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_qp_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "send_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "recv_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_srq", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_shift", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_qp_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 8, 22}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uidx", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bfreg_index", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "sq_buf_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + }}}, + {Key: StructKey{Name: "mlx5_create_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_qp_resp", TypeSize: 36, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_number", FldName: "qpn", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uuar_index", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_srq_cmd", TypeSize: 80, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 39}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 22}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_ib_create_srq_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "srq_type", FldName: "srq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_num_tags", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "xrcd_handle", FldName: "xrcd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_srq_ex_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uidx", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_wq_cmd", TypeSize: 104, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483700}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_create_wq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_wq_flags", FldName: "create_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_shift", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "user_index", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "single_stride_log_num_of_bytes", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "single_wqe_log_num_of_strides", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "two_byte_shift_en", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "mlx5_create_wq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_wq_resp", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response_length", TypeSize: 4, ArgDir: 1}}, Val: 6}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqn", TypeSize: 4, ArgDir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "mlx5_response_length", TypeSize: 4, ArgDir: 1}}, BitSize: 32, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserver", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_get_context_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_get_context_cmd", TypeSize: 48, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 12}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 18}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_get_context_cmd_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "total_num_uuars", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_low_latency_uuars", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cqe_version", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "lib_caps", TypeSize: 8, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "mlx5_get_context_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_get_context_cmd_resp", TypeSize: 80, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "async_fd", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_comp_vectors", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_tab_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bf_reg_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tot_uuars", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cache_line_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_sq_desc_sz", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_rq_desc_sz", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wqebb", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "num_ports", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cqe_version_cmds_supp_uhw", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "hca_core_clock_offset", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_uar_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_uars_per_page", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_dyn_bfregs", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_ib_create_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_ib_create_srq_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srqn", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_modify_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_modify_wq_cmd", TypeSize: 56, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483701}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "modify_wq_attr_flags", FldName: "attr_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4}, BitMask: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wq_state", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "current_wq_state", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "modify_wq_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "modify_wq_flags", FldName: "flags_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "modify_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "modify_qp_cmd", TypeSize: 120, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 26}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 30}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dest_dgid", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_flow_label", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dest_dlid", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dest_reserved", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sgid_index", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_hop_limit", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sl", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_src_path_bits", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_static_rate", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_is_global", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_port_num", TypeSize: 1, ArgDir: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "alt_dest_dgid", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "alt_dest_flow_label", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_dest_dlid", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_dest_reserved", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sgid_index", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_hop_limit", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sl", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_src_path_bits", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_static_rate", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_is_global", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_port_num", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "attr_mask", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_psn", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_psn", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_qp_num", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_access_flags", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "pkey_index", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_pkey_index", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "qp_state", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cur_qp_state", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mtu", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mig_state", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "en_sqd_async_notify", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_rd_atomic", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_dest_rd_atomic", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "min_rnr_timer", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port_num", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "timeout", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_cnt", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_port_num", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_timeout", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "modify_srq_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "modify_srq_cmd", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4}}, Val: 33}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "attr_mask", TypeSize: 4}}, Kind: 2, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}}, {Key: StructKey{Name: "move_extent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "move_extent", TypeSize: 40}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "donor_fd", TypeSize: 4}}, @@ -16898,6 +17760,19 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"nls\", stringnoz[codepages_names]]"}, FldName: "nls"}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "utf8", TypeSize: 4}, Kind: 2, Values: []string{"utf8"}, NoZ: true}, }}}, + {Key: StructKey{Name: "open_xrcd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "open_xrcd_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 37}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "open_xrcd_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fd", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "oflags", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "open_xrcd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "open_xrcd_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "xrcd_handle", FldName: "xrcd_handle", TypeSize: 4, ArgDir: 1}}, + }}}, {Key: StructKey{Name: "optional[int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "optional[int16]", IsVarlen: true}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "val", TypeSize: 2}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "void"}, Kind: 1}, @@ -17414,6 +18289,19 @@ var structDescs_arm = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "rfd", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "wfd", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "poll_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "poll_cq_cmd", TypeSize: 20, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 21}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "poll_cq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ne", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "poll_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "poll_cq_resp", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wc", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_wc", Dir: 1}}}, + }}}, {Key: StructKey{Name: "pollfd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pollfd", TypeSize: 8}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pollfd_events", FldName: "events", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 4096, 8192, 16384, 32768}, BitMask: true}, @@ -17452,6 +18340,49 @@ var structDescs_arm = []*KeyedStruct{ {Key: StructKey{Name: "posix_acl_xattr_header"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "posix_acl_xattr_header", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_version", TypeSize: 4}}, Val: 2}, }}}, + {Key: StructKey{Name: "post_recv_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_recv_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 29}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "post_recv_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wr_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sge_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqe_size", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "recv_wr", ArgDir: 2, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_recv_wr", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "post_recv_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_recv_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bad_wr", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "post_send_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_send_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 28}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "post_send_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wr_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sge_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqe_size", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "send_wr", ArgDir: 2, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_send_wr", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "post_send_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_send_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bad_wr", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "post_srq_recv_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_srq_recv_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 36}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "post_srq_recv_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wr_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sge_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqe_size", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "recv_wr", ArgDir: 2, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_recv_wr", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "post_srq_recv_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_srq_recv_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bad_wr", TypeSize: 4, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "pppoe_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pppoe_addr", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "sid", TypeSize: 2}}, Kind: 2, RangeEnd: 4}, &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "remote"}, @@ -17731,10 +18662,186 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_INGRESS_BLOCK, int16], int32]"}, FldName: "TCA_INGRESS_BLOCK"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_EGRESS_BLOCK, int16], int32]"}, FldName: "TCA_EGRESS_BLOCK"}, }}}, + {Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_cmd_ex", TypeSize: 28, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483649}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "query_device_resp_ex", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "query_device_resp_ex", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_resp_ex", TypeSize: 296, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fw_ver", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "node_guid", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "sys_image_guid", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "max_mr_size", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "page_size_cap", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vendor_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vendor_part_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "hw_ver", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device_cap_flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge_rd", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_cq", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_cqe", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ee_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_res_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp_init_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ee_init_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "atomic_cap", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ee", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rdd", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mw", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_raw_ipv6_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_raw_ethy_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mcast_grp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mcast_qp_attach", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_total_mcast_qp_attach", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ah", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_fmr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_map_per_fmr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_pkeys", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "local_ca_ack_delay", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "phys_port_cnt", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "general_caps", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rc_odp_caps", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uc_odp_caps", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ud_odp_caps", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved_odp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "timestamp_mask", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "hca_core_clock", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "device_cap_flags_ex", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "supported_qpts", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rwq_indirection_tables", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rwq_indirection_table_size", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved_rss", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wq_type_rq", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "raw_packet_caps", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rndv_hdr_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_num_tags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ops", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge_tm", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved_tm", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_cq_moderation_count", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_cq_moderation_period", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved_cq_mod", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "max_dm_size", TypeSize: 8, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "query_port_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_port_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "response", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "port_num", TypeSize: 1, ArgDir: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 7, ArgDir: 2}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "query_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 25}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 32}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "query_qp_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_create_flags", FldName: "attr_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 256}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "query_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_qp_resp", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dest_dgid", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_flow_label", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dest_dlid", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dest_reserved", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sgid_index", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_hop_limit", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_traffic_class", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sl", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_src_path_bits", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_static_rate", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_is_global", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_port_num", TypeSize: 1, ArgDir: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "alt_dest_dgid", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "alt_dest_flow_label", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_dest_dlid", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "alt_dest_reserved", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sgid_index", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_hop_limit", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_traffic_class", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sl", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_src_path_bits", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_static_rate", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_is_global", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_port_num", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_psn", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_psn", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_qp_num", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_access_flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "pkey_index", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_pkey_index", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "qp_state", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cur_qp_state", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mtu", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mig_state", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_draining", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_rd_atomic", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_dest_rd_atomic", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "min_rnr_timer", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port_num", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "timeout", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_cnt", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_port_num", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_timeout", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + }}}, + {Key: StructKey{Name: "query_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_srq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 34}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "query_srq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "query_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_srq_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "raw_hdlc_proto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "raw_hdlc_proto", TypeSize: 4}, Fields: []Type{ &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", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 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"}, @@ -17906,7 +19013,7 @@ var structDescs_arm = []*KeyedStruct{ &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{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}}, + &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}}, &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{ @@ -18107,6 +19214,24 @@ var structDescs_arm = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "msg_controllen", TypeSize: 4, ArgDir: 2}}, BitSize: 8, Buf: "msg_control"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "reg_mr_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "reg_mr_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 12}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "reg_mr_resp", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "start", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 8, ArgDir: 2}}, Buf: "start"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "hca_va", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_access_flags", FldName: "access_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "reg_mr_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "reg_mr_resp", TypeSize: 12, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_handle", FldName: "mr_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_lkey", FldName: "lkey", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 1}}, + }}}, {Key: StructKey{Name: "reiserfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "reiserfs_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "tails_on", TypeSize: 8}, Kind: 2, Values: []string{"tails=on"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "tails_off", TypeSize: 9}, Kind: 2, Values: []string{"tails=off"}, NoZ: true}, @@ -18150,6 +19275,13 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "errors_continue", TypeSize: 15}, Kind: 2, Values: []string{"errors=continue"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "errors_ro_remount", TypeSize: 17}, Kind: 2, Values: []string{"errors=ro-remount"}, NoZ: true}, }}}, + {Key: StructKey{Name: "req_notify_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "req_notify_cq_cmd", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 23}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "solicited", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + }}}, {Key: StructKey{Name: "request_sense", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "request_sense", TypeSize: 64, ArgDir: 2}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "valid_err_code", TypeSize: 1, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segment_number", TypeSize: 1, ArgDir: 2}}}, @@ -18163,6 +19295,40 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sks", TypeSize: 3, ArgDir: 2}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "asb", TypeSize: 46, ArgDir: 2}, Kind: 1, RangeBegin: 46, RangeEnd: 46}, }}}, + {Key: StructKey{Name: "rereg_mr_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rereg_mr_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 11}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 14}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rereg_mr_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_handle", FldName: "mr_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_mr_rereg_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 7}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "start", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 8, ArgDir: 2}}, Buf: "start"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "hca_va", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_access_flags", FldName: "access_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "rereg_mr_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rereg_mr_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_lkey", FldName: "lkey", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "resize_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "resize_cq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 19}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "resize_cq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "resize_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "resize_cq_resp", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + }}}, {Key: StructKey{Name: "rfkill_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rfkill_event", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "type", TypeSize: 1}}, Kind: 2, RangeEnd: 9}, @@ -22880,6 +24046,12 @@ var structDescs_arm = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "ud", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ud", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ah", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "remote_qpn", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "remote_qkey", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "udmabuf_create"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "udmabuf_create", TypeSize: 24}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_memfd", FldName: "memfd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}, Kind: 2, RangeEnd: 1}, @@ -23033,6 +24205,19 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "step", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "level", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "union_ib_flow_spec", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "union_ib_flow_spec", TypeSize: 88, ArgDir: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "ib_flow_spec_eth", Dir: 2}, FldName: "eth"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_ipv6", Dir: 2}, FldName: "ipv6"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_ipv4", Dir: 2}, FldName: "ipv4"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_tcp_udp", Dir: 2}, FldName: "tcp_udp"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_tunnel", Dir: 2}, FldName: "tunnel"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_gre", Dir: 2}, FldName: "gre"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_esp", Dir: 2}, FldName: "esp"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_mpls", Dir: 2}, FldName: "mpls"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_action_tag", Dir: 2}, FldName: "tag"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_action_drop", Dir: 2}, FldName: "drop"}, + &StructType{Key: StructKey{Name: "ib_uverbs_flow_spec_action_count", Dir: 2}, FldName: "count"}, + }}}, {Key: StructKey{Name: "unipair"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "unipair", TypeSize: 4}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "unicode", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "fontpos", TypeSize: 2}}}, @@ -24094,6 +25279,11 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xpix", TypeSize: 2, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "upix", TypeSize: 2, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "wr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wr", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma", Dir: 2}, FldName: "rdma"}, + &StructType{Key: StructKey{Name: "atomic", Dir: 2}, FldName: "atomic"}, + &StructType{Key: StructKey{Name: "ud", Dir: 2}, FldName: "ud"}, + }}}, {Key: StructKey{Name: "x25_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "x25_address", TypeSize: 16}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "null", TypeSize: 16}, Kind: 2, Values: []string{" \x00"}}, &StructType{Key: StructKey{Name: "x25_address_remote"}, FldName: "remote"}, @@ -24603,6 +25793,9 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"logdev\", stringnoz[filename]]"}, FldName: "logdev"}, &StructType{Key: StructKey{Name: "fs_opt[\"rtdev\", stringnoz[filename]]"}, FldName: "rtdev"}, }}}, + {Key: StructKey{Name: "xrc", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xrc", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "remote_srqn", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "xt_CHECKSUM_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_CHECKSUM_info", TypeSize: 1}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "operation", TypeSize: 1}}, Val: 1}, }}}, @@ -26877,6 +28070,9 @@ var syscalls_arm = []*Syscall{ {NR: 6, Name: "close", CallName: "close", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, }}, + {NR: 6, Name: "close$ibv_device", CallName: "close", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + }}, {NR: 283, Name: "connect", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_storage"}}}, @@ -29427,6 +30623,16 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 21280}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cdrom_options", FldName: "arg", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true}, }}, + {NR: 54, Name: "ioctl$CREATE_COUNTERS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222805249}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ib_uverbs_create_counters_cmd", Dir: 2}}}, + }}, + {NR: 54, Name: "ioctl$DESTROY_COUNTERS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222805249}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ib_uverbs_destroy_counters_cmd"}}}, + }}, {NR: 54, Name: "ioctl$DMA_BUF_IOCTL_SYNC", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dma_buf", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074291200}, @@ -31182,6 +32388,11 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 1074049280}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, }}, + {NR: 54, Name: "ioctl$READ_COUNTERS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 3222805249}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ib_uverbs_read_counters_cmd", Dir: 2}}}, + }}, {NR: 54, Name: "ioctl$RFKILL_IOCTL_NOINPUT", CallName: "ioctl", MissingArgs: 1, Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 20993}, @@ -39257,6 +40468,11 @@ var syscalls_arm = []*Syscall{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 4}}}, &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}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_floppy", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_open_dev$ibv_device", CallName: "syz_open_dev", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 24}, Kind: 2, Values: []string{"/dev/infiniband/uverbs0\x00"}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_dev_open_flags", FldName: "flags", TypeSize: 4}}, Vals: []uint64{2, 524288}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_open_dev$ircomm", CallName: "syz_open_dev", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 13}, Kind: 2, Values: []string{"/dev/ircomm#\x00"}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 4}}}, @@ -39533,6 +40749,126 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 4}}, BitSize: 8, Buf: "data"}, }}, + {NR: 4, Name: "write$ALLOC_MW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "alloc_mw_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$ALLOC_PD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "alloc_pd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$ATTACH_MCAST", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "attach_mcast_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CLOSE_XRCD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "close_xrcd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_AH", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_ah_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_COMP_CHANNEL", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_comp_channel_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_CQ_EX", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_cq_ex_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_FLOW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_flow_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_RWQ_IND_TBL", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_rwq_ind_table_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "create_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DEALLOC_MW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "dealloc_mw_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DEALLOC_PD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "dealloc_pd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DEREG_MR", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rereg_mr_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_AH", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_ah_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_FLOW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_flow_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_RWQ_IND_TBL", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_rwq_ind_table_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "destroy_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DETACH_MCAST", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "detach_mcast_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, {NR: 4, Name: "write$FUSE_ATTR", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fuse", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fuse_out[fuse_attr_out]"}}}, @@ -39643,6 +40979,61 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "fuse_out[fuse_write_out]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "arg"}, }}, + {NR: 4, Name: "write$MLX5_ALLOC_PD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_alloc_pd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_CREATE_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_create_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_CREATE_DV_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_CREATE_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_create_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_CREATE_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_create_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_CREATE_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_create_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_GET_CONTEXT", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_get_context_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_MODIFY_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "mlx5_modify_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MODIFY_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "modify_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MODIFY_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "modify_srq_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$OPEN_XRCD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "open_xrcd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, {NR: 4, Name: "write$P9_RATTACH", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "wfd9p", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "p9_msg[P9_RATTACH, p9_qid]"}}}, @@ -39818,6 +41209,46 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "p9_msg[P9_RXATTRWALK, int64]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 4}}, BitSize: 8, Buf: "data"}, }}, + {NR: 4, Name: "write$POLL_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "poll_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$POST_RECV", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "post_recv_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$POST_SEND", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "post_send_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$POST_SRQ_RECV", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "post_srq_recv_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$QUERY_DEVICE_EX", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$QUERY_PORT", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "query_port_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$QUERY_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "query_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$QUERY_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "query_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, {NR: 4, Name: "write$RDMA_USER_CM_CMD_ACCEPT", 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: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}}}, @@ -39928,6 +41359,26 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Buf: "data"}, }}, + {NR: 4, Name: "write$REG_MR", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "reg_mr_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$REQ_NOTIFY_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "req_notify_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$REREG_MR", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "dereg_mr_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$RESIZE_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "resize_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "buf"}, + }}, {NR: 4, Name: "write$UHID_CREATE", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uhid", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "uhid_create_req"}}}, @@ -41317,6 +42768,8 @@ var consts_arm = []ConstValue{ {Name: "EXT4_SYNC_FL", Value: 8}, {Name: "EXT4_TOPDIR_FL", Value: 131072}, {Name: "EXT4_UNRM_FL", Value: 2}, + {Name: "EX_CREATE_CQ_CMD", Value: 2147483666}, + {Name: "EX_CREATE_QP_CMD", Value: 2147483672}, {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8}, {Name: "FALLOC_FL_INSERT_RANGE", Value: 32}, {Name: "FALLOC_FL_KEEP_SIZE", Value: 1}, @@ -41694,6 +43147,12 @@ var consts_arm = []ConstValue{ {Name: "I2C_SMBUS_QUICK"}, {Name: "I2C_TENBIT", Value: 1796}, {Name: "I2C_TIMEOUT", Value: 1794}, + {Name: "IB_ACCESS_LOCAL_WRITE", Value: 1}, + {Name: "IB_ACCESS_MW_BIND", Value: 16}, + {Name: "IB_ACCESS_ON_DEMAND", Value: 64}, + {Name: "IB_ACCESS_REMOTE_ATOMIC", Value: 8}, + {Name: "IB_ACCESS_REMOTE_READ", Value: 4}, + {Name: "IB_ACCESS_REMOTE_WRITE", Value: 2}, {Name: "IB_EVENT_CLIENT_REREGISTER", Value: 17}, {Name: "IB_EVENT_COMM_EST", Value: 4}, {Name: "IB_EVENT_CQ_ERR"}, @@ -41714,6 +43173,23 @@ var consts_arm = []ConstValue{ {Name: "IB_EVENT_SRQ_ERR", Value: 14}, {Name: "IB_EVENT_SRQ_LIMIT_REACHED", Value: 15}, {Name: "IB_EVENT_WQ_FATAL", Value: 19}, + {Name: "IB_FLOW_ATTR_FLAGS_DONT_TRAP", Value: 2}, + {Name: "IB_FLOW_SPEC_ACTION_COUNT", Value: 4099}, + {Name: "IB_FLOW_SPEC_ACTION_DROP", Value: 4097}, + {Name: "IB_FLOW_SPEC_ACTION_TAG", Value: 4096}, + {Name: "IB_FLOW_SPEC_ESP", Value: 52}, + {Name: "IB_FLOW_SPEC_ETH", Value: 32}, + {Name: "IB_FLOW_SPEC_GRE", Value: 81}, + {Name: "IB_FLOW_SPEC_IPV4", Value: 48}, + {Name: "IB_FLOW_SPEC_IPV6", Value: 49}, + {Name: "IB_FLOW_SPEC_MPLS", Value: 96}, + {Name: "IB_FLOW_SPEC_VXLAN_TUNNEL", Value: 80}, + {Name: "IB_IPV4_DONT_FRAG", Value: 2}, + {Name: "IB_IPV4_MORE_FRAG", Value: 4}, + {Name: "IB_MR_REREG_ACCESS", Value: 4}, + {Name: "IB_MR_REREG_PD", Value: 2}, + {Name: "IB_MR_REREG_SUPPORTED", Value: 7}, + {Name: "IB_MR_REREG_TRANS", Value: 1}, {Name: "IB_PATH_ALTERNATE", Value: 4}, {Name: "IB_PATH_GMP", Value: 1}, {Name: "IB_PATH_INBOUND", Value: 16}, @@ -41721,20 +43197,53 @@ var consts_arm = []ConstValue{ {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_QP_CREATE_BLOCK_MULTICAST_LOOPBACK", Value: 2}, + {Name: "IB_QP_CREATE_CROSS_CHANNEL", Value: 4}, + {Name: "IB_QP_CREATE_IPOIB_UD_LSO", Value: 1}, + {Name: "IB_QP_CREATE_MANAGED_RECV", Value: 16}, + {Name: "IB_QP_CREATE_MANAGED_SEND", Value: 8}, + {Name: "IB_QP_CREATE_NETIF_QP", Value: 32}, + {Name: "IB_QP_CREATE_SCATTER_FCS", Value: 256}, + {Name: "IB_QP_CREATE_SIGNATURE_EN", Value: 64}, + {Name: "IB_SEND_FENCE", Value: 1}, + {Name: "IB_SEND_INLINE", Value: 8}, + {Name: "IB_SEND_IP_CSUM", Value: 16}, + {Name: "IB_SEND_SIGNALED", Value: 2}, + {Name: "IB_SEND_SOLICITED", Value: 4}, + {Name: "IB_SRQT_BASIC"}, + {Name: "IB_SRQT_TM", Value: 2}, + {Name: "IB_SRQT_XRC", Value: 1}, + {Name: "IB_USER_VERBS_CMD_CREATE_CQ", Value: 18}, + {Name: "IB_USER_VERBS_CMD_CREATE_QP", Value: 24}, + {Name: "IB_USER_VERBS_CMD_FLAGS_SHIFT", Value: 24}, + {Name: "IB_USER_VERBS_CMD_FLAG_EXTENDED", Value: 2147483648}, + {Name: "IB_USER_VERBS_CMD_THRESHOLD", Value: 50}, + {Name: "IB_USER_VERBS_EX_CMD_CREATE_FLOW", Value: 2147483698}, + {Name: "IB_USER_VERBS_EX_CMD_DESTROY_FLOW", Value: 2147483699}, + {Name: "IB_USER_VERBS_EX_CMD_QUERY_DEVICE", Value: 2147483649}, {Name: "IB_UVERBS_AH_ATTR_SIZE", Value: 32}, + {Name: "IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN", Value: 2}, + {Name: "IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION", Value: 1}, {Name: "IB_UVERBS_QP_ATTR_SIZE", Value: 144}, + {Name: "IB_UVERBS_READ_COUNTERS_PREFER_CACHED", Value: 1}, + {Name: "IB_WQT_RQ"}, + {Name: "IB_WQ_CUR_STATE", Value: 2}, + {Name: "IB_WQ_FLAGS", Value: 4}, + {Name: "IB_WQ_FLAGS_CVLAN_STRIPPING", Value: 1}, + {Name: "IB_WQ_FLAGS_DELAY_DROP", Value: 4}, + {Name: "IB_WQ_FLAGS_PCI_WRITE_END_PADDING", Value: 8}, + {Name: "IB_WQ_FLAGS_SCATTER_FCS", Value: 2}, + {Name: "IB_WQ_STATE", Value: 1}, + {Name: "IB_ZERO_BASED", Value: 32}, {Name: "ICMPV6_ADDR_UNREACH", Value: 3}, {Name: "ICMPV6_ADM_PROHIBITED", Value: 1}, {Name: "ICMPV6_DEST_UNREACH", Value: 1}, @@ -43068,6 +44577,15 @@ var consts_arm = []ConstValue{ {Name: "MISDN_MAX_IDLEN", Value: 20}, {Name: "MISDN_TIME_STAMP", Value: 1}, {Name: "MLOCK_ONFAULT", Value: 1}, + {Name: "MLX5_CREATE_DCI", Value: 22}, + {Name: "MLX5_CREATE_DCT", Value: 8}, + {Name: "MLX5_IB_CQE_RES_FORMAT_CSUM", Value: 2}, + {Name: "MLX5_IB_CQE_RES_FORMAT_HASH", Value: 1}, + {Name: "MLX5_QP_FLAG_BFREG_INDEX", Value: 8}, + {Name: "MLX5_QP_FLAG_SCATTER_CQE", Value: 2}, + {Name: "MLX5_QP_FLAG_SIGNATURE", Value: 1}, + {Name: "MLX5_QP_FLAG_TUNNEL_OFFLOADS", Value: 4}, + {Name: "MLX5_SRQ_FLAG_SIGNATURE", Value: 1}, {Name: "MMAP_PAGE_ZERO", Value: 1048576}, {Name: "MNT_DETACH", Value: 2}, {Name: "MNT_EXPIRE", Value: 4}, @@ -43928,6 +45446,7 @@ var consts_arm = []ConstValue{ {Name: "P_PGID", Value: 2}, {Name: "P_PID", Value: 1}, {Name: "QMAGIC", Value: 204}, + {Name: "RDMA_DRIVER_MLX5", Value: 1}, {Name: "RDMA_MAX_PRIVATE_DATA", Value: 256}, {Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"}, {Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1}, @@ -43967,6 +45486,7 @@ var consts_arm = []ConstValue{ {Name: "RDMA_USER_CM_QUERY_ADDR"}, {Name: "RDMA_USER_CM_QUERY_GID", Value: 2}, {Name: "RDMA_USER_CM_QUERY_PATH", Value: 1}, + {Name: "RDMA_VERBS_IOCTL", Value: 3222805249}, {Name: "RDS_CANCEL_SENT_TO", Value: 1}, {Name: "RDS_CMSG_ATOMIC_CSWP", Value: 7}, {Name: "RDS_CMSG_ATOMIC_FADD", Value: 6}, @@ -45720,6 +47240,16 @@ var consts_arm = []ConstValue{ {Name: "USERIO_CMD_SET_PORT_TYPE", Value: 1}, {Name: "USER_CLIENT", Value: 1}, {Name: "UUID_SIZE", Value: 16}, + {Name: "UVERBS_ATTR_CREATE_COUNTERS_HANDLE"}, + {Name: "UVERBS_ATTR_DESTROY_COUNTERS_HANDLE"}, + {Name: "UVERBS_ATTR_F_MANDATORY", Value: 1}, + {Name: "UVERBS_ATTR_READ_COUNTERS_BUFF", Value: 1}, + {Name: "UVERBS_ATTR_READ_COUNTERS_FLAGS", Value: 2}, + {Name: "UVERBS_ATTR_READ_COUNTERS_HANDLE"}, + {Name: "UVERBS_METHOD_COUNTERS_CREATE"}, + {Name: "UVERBS_METHOD_COUNTERS_DESTROY", Value: 1}, + {Name: "UVERBS_METHOD_COUNTERS_READ", Value: 2}, + {Name: "UVERBS_OBJECT_COUNTERS", Value: 15}, {Name: "V4L2_AUDCAP_AVL", Value: 2}, {Name: "V4L2_AUDCAP_STEREO", Value: 1}, {Name: "V4L2_AUDMODE_AVL", Value: 1}, @@ -47393,4 +48923,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "6d809019176b7517a1fabf341dc41fa2d56af080" +const revision_arm = "5ed17d88ce7725299f20537ebc47c832c029096b" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index 57d5d014f..ec2e73a29 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -11,11 +11,13 @@ func init() { } var resources_arm64 = []*ResourceDesc{ + {Name: "ah_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ah_handle"}, Values: []uint64{0}}, {Name: "assoc_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"assoc_id"}, Values: []uint64{0}}, {Name: "binder_ptr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"binder_ptr"}, Values: []uint64{0}}, {Name: "bpf_btf_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"bpf_btf_id"}, Values: []uint64{0, 18446744073709551615}}, {Name: "bpf_map_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"bpf_map_id"}, Values: []uint64{0, 18446744073709551615}}, {Name: "bpf_prog_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"bpf_prog_id"}, Values: []uint64{0, 18446744073709551615}}, + {Name: "cq_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"cq_handle"}, Values: []uint64{0}}, {Name: "drm_agp_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"drm_agp_handle"}, Values: []uint64{0}}, {Name: "drm_gem_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"drm_gem_handle"}, Values: []uint64{0}}, {Name: "drm_gem_name", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"drm_gem_name"}, Values: []uint64{0}}, @@ -68,6 +70,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "fd_ppp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_ppp"}, 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_rawtp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_rawtp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rdma", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma"}, 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_rfkill", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rfkill"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rtc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rtc"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -106,6 +109,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "fd_vhci", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhci"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_vhost", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_video", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_video"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "flow_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"flow_handle"}, Values: []uint64{0}}, {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, {Name: "genl_nbd_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}}, @@ -118,6 +122,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "ifindex", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex"}, Values: []uint64{0}}, {Name: "ifindex_team", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_team"}, Values: []uint64{0}}, {Name: "ifindex_vcan", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_vcan"}, Values: []uint64{0}}, + {Name: "ind_tbl_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ind_tbl_handle"}, Values: []uint64{0}}, {Name: "inotifydesc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"inotifydesc"}, Values: []uint64{0}}, {Name: "io_ctx", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"io_ctx"}, Values: []uint64{0}}, {Name: "ipc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc"}, Values: []uint64{0, 18446744073709551615}}, @@ -126,8 +131,15 @@ var resources_arm64 = []*ResourceDesc{ {Name: "ipc_shm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc", "ipc_shm"}, Values: []uint64{0, 18446744073709551615}}, {Name: "key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key"}, Values: []uint64{0}}, {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: "mr_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mr_handle"}, Values: []uint64{0}}, + {Name: "mr_lkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mr_lkey"}, Values: []uint64{0}}, + {Name: "mr_rkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mr_rkey"}, Values: []uint64{0}}, + {Name: "mw_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mw_handle"}, Values: []uint64{0}}, + {Name: "pd_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pd_handle"}, Values: []uint64{0}}, {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: "qp_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"qp_handle"}, Values: []uint64{0}}, + {Name: "qp_number", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"qp_number"}, Values: []uint64{0}}, {Name: "rdma_cm_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_id"}, Values: []uint64{18446744073709551615}}, {Name: "rdma_cm_mcast_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_mcast_id"}, Values: []uint64{18446744073709551615}}, {Name: "rfd9p", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "rfd9p"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -193,6 +205,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "sock_vsock_stream", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_vsock", "sock_vsock_stream"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_x25", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_x25"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_xdp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_xdp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "srq_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"srq_handle"}, Values: []uint64{0}}, {Name: "tcp_seq_num", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"tcp_seq_num"}, Values: []uint64{1094861636}}, {Name: "te_session_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"te_session_id"}, Values: []uint64{0}}, {Name: "time_nsec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"time_nsec"}, Values: []uint64{0}}, @@ -202,9 +215,12 @@ var resources_arm64 = []*ResourceDesc{ {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}}, {Name: "user_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "user_key"}, Values: []uint64{0}}, {Name: "v4l2_std_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"v4l2_std_id"}, Values: []uint64{0}}, + {Name: "vcontext_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"vcontext_handle"}, Values: []uint64{0}}, {Name: "vhost_net", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_net"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "vhost_vsock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_vsock"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "wfd9p", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "wfd9p"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "wq_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"wq_handle"}, Values: []uint64{0}}, + {Name: "xrcd_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"xrcd_handle"}, Values: []uint64{0}}, } var structDescs_arm64 = []*KeyedStruct{ @@ -261,6 +277,30 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "alg_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alg_name", TypeSize: 64}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, }}}, + {Key: StructKey{Name: "alloc_mw_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_mw_cmd", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 14}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "alloc_mw_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "mw_type", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "alloc_mw_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_mw_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "mw_handle", FldName: "mw_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "alloc_pd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_pd_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "alloc_pd_cmd_resp", Dir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "alloc_pd_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_pd_cmd_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 1}}, + }}}, {Key: StructKey{Name: "apparmor_current_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "apparmor_current_attr", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "apparmor_current_hat"}, FldName: "hat"}, &StructType{Key: StructKey{Name: "apparmor_current_profile"}, FldName: "profile"}, @@ -457,6 +497,23 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "atomic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atomic", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "compare_add", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "swap", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "attach_mcast_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "attach_mcast_cmd", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4}}, Val: 30}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "gid", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mlid", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}}, {Key: StructKey{Name: "ax25_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, @@ -1633,6 +1690,12 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "val", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "close_xrcd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "close_xrcd_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 38}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "xrcd_handle", FldName: "xrcd_handle", TypeSize: 4, ArgDir: 2}}, + }}}, {Key: StructKey{Name: "cmsghdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Buf: "parent"}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cmsg_levels", FldName: "cmsg_level", TypeSize: 4}}, Vals: []uint64{1, 1, 0, 6, 17, 41, 58, 132, 136, 255, 256, 257, 258, 259, 260, 261, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281}}, @@ -1826,6 +1889,184 @@ 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: "cmtp_conninfo", Dir: 1}}}}, }}}, + {Key: StructKey{Name: "create_ah_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_ah_cmd", TypeSize: 64, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_ah_cmd_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dgid", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flow_label", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sgid_index", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hop_limit", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "reserved1", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dlid", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sl", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "src_path_bits", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "static_rate", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_global", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "port_num", TypeSize: 1, ArgDir: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "reserved2", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "create_ah_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_ah_cmd_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ah_handle", FldName: "ah_handle", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "create_comp_channel_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_comp_channel_cmd", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 17}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_comp_channel_resp", Dir: 1}}}, + }}}, + {Key: StructKey{Name: "create_comp_channel_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_comp_channel_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fd", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_cq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 18}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "reponse", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_cq_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_vector", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_channel", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "create_cq_ex_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_cq_ex_cmd", TypeSize: 56, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483666}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_cq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_vector", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_channel", TypeSize: 4, ArgDir: 2}}, Val: 4294967295}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_cq_ex_mask", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_cq_ex_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "create_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_cq_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_flow_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_flow_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483698}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "flow_ex"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_flow_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "create_flow_cmd_ex", Dir: 2}, FldName: "flow_ex"}, + }}}, + {Key: StructKey{Name: "create_flow_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_flow_cmd_ex", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &StructType{Key: StructKey{Name: "ib_uverbs_flow_attr", Dir: 2}, FldName: "flow_attr"}, + }}}, + {Key: StructKey{Name: "create_flow_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_flow_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "flow_handle", FldName: "flow_handle", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "create_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 24}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_qp_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "send_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "recv_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_srq", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 1, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "create_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_qp_resp", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_number", FldName: "qpn", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_rwq_ind_table_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_rwq_ind_table_cmd", TypeSize: 40, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483703}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_rwq_ind_table_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_ind_tbl_size", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wq_handles", TypeSize: 8, ArgDir: 2}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", TypeSize: 4, ArgDir: 2}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, + }}}, + {Key: StructKey{Name: "create_rwq_ind_table_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_rwq_ind_table_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "response_length", TypeSize: 4, ArgDir: 1}}, BitSize: 32, Buf: "parent"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ind_tbl_handle", FldName: "ind_tbl_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ind_tbl_num", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_srq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 32}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_srq_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "create_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_srq_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srqn", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_wq_cmd", TypeSize: 64, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483700}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_wq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_wq_flags", FldName: "create_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "create_wq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_wq_resp", TypeSize: 24, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqn", TypeSize: 4, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "crypto_user_alg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "crypto_user_alg", TypeSize: 208}, Fields: []Type{ &StructType{Key: StructKey{Name: "alg_name"}, FldName: "cru_name"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "cru_driver_name", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64}, @@ -1853,6 +2094,106 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "dccp_header"}, FldName: "header"}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }}}, + {Key: StructKey{Name: "dealloc_mw_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dealloc_mw_cmd", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mw_handle", FldName: "mw_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "dealloc_pd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dealloc_pd_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "dereg_mr_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dereg_mr_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 13}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_handle", FldName: "mr_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_ah_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_ah_cmd", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 8}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_cq_cmd", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 20}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_cq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_cq_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_events_reported", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "async_events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "destroy_flow_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_flow_cmd", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483699}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "flow_handle", FldName: "flow_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_qp_cmd", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 27}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_qp_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_qp_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "destroy_rwq_ind_table_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_rwq_ind_table_cmd", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ind_tbl_handle", FldName: "ind_tbl_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_srq_cmd", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 35}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_srq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_srq_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "destroy_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_wq_cmd", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483702}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_wq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 15}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_wq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_wq_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "detach_mcast_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "detach_mcast_cmd", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4}}, Val: 31}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "gid", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mlid", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}}, {Key: StructKey{Name: "devconf_ip_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "devconf_ip_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]"}, FldName: "NETCONFA_IFINDEX"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_FORWARDING, int16], int32]"}, FldName: "NETCONFA_FORWARDING"}, @@ -6100,11 +6441,203 @@ var structDescs_arm64 = []*KeyedStruct{ {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_flow_esp_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_esp_filter", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "spi", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_eth_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_eth_filter", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dst_mac", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "src_mac", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ether_type", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "vlan_tag", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_gre_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_gre_filter", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "c_ks_res0_ver", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "protocol", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "key", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_ipv4_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_ipv4_filter", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "src_ip", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dst_ip", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "tos", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "ttl", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_ipv4_flags", FldName: "flags", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{2, 4}, BitMask: true}, + }}}, + {Key: StructKey{Name: "ib_flow_ipv6_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_ipv6_filter", TypeSize: 40, ArgDir: 2}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "src_ip", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dst_ip", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flow_label", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "next_hdr", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hop_limit", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_mpls_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_mpls_filter", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tag", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_action_drop", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_action_drop", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 4097}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_action_tag", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_action_tag", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 4096}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tag_id", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_esp", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_esp", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 52}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_esp_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_esp_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_eth", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_eth", TypeSize: 40, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 32}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_eth_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_eth_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_gre", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_gre", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 81}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_gre_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_gre_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_ipv4", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_ipv4", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 48}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 32}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_ipv4_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_ipv4_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_ipv6", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_ipv6", TypeSize: 88, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 49}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 88}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_ipv6_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_ipv6_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_mpls", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_mpls", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 96}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_mpls_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_mpls_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_tcp_udp", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_tcp_udp", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 64, RangeEnd: 65}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_tcp_udp_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_tcp_udp_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_tunnel", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_tunnel", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 80}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_tunnel_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_tunnel_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_tcp_udp_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_tcp_udp_filter", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dst_port", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "src_port", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_tunnel_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_tunnel_filter", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tunnel_id", TypeSize: 4, ArgDir: 2}}}, + }}}, {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}, BitMask: true}, &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: "ib_uverbs_create_counters_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_create_counters_cmd", TypeSize: 48, ArgDir: 2}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "length", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "ib_uverbs_create_counters_cmd"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "object_id", TypeSize: 2, ArgDir: 2}}, Val: 15}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "method_id", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_attrs", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "driver_id", TypeSize: 4, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "len", TypeSize: 2, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "elem_id", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "vcontext_handle", TypeSize: 4, ArgDir: 2, IsOptional: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ib_uverbs_destroy_counters_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_destroy_counters_cmd", TypeSize: 48}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "length", TypeSize: 2}}, BitSize: 64, Buf: "ib_uverbs_destroy_counters_cmd"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "object_id", TypeSize: 2}}, Val: 15}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "method_id", TypeSize: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_attrs", TypeSize: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "driver_id", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "len", TypeSize: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "elem_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "vcontext_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ib_uverbs_flow_attr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_flow_attr", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 2, ArgDir: 2}}, BitSize: 8, Buf: "flow_specs"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "priority", TypeSize: 2, ArgDir: 2}}, Kind: 2, RangeEnd: 7}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "num_of_specs", TypeSize: 1, ArgDir: 2}}, Buf: "flow_specs"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_flow_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2}, BitMask: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "flow_specs", ArgDir: 2, IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "union_ib_flow_spec", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_uverbs_flow_spec_action_count", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_flow_spec_action_count", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 4099}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_uverbs_read_counters_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_read_counters_cmd", TypeSize: 72, ArgDir: 2}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "length", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "ib_uverbs_read_counters_cmd"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "object_id", TypeSize: 2, ArgDir: 2}}, Val: 15}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "method_id", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_attrs", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "driver_id", TypeSize: 4, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id0", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "len0", TypeSize: 2, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags0", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "vcontext_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data0", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id1", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "len1", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "data"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags1", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 2, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "data", TypeSize: 8, ArgDir: 2}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id2", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "len2", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags2", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved4", TypeSize: 2, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_read_counters_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data1", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "icmp_address_reply_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmp_address_reply_packet", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}}, @@ -8794,6 +9327,38 @@ var structDescs_arm64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "tfd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "toff", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "kern_recv_wr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kern_recv_wr", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "wr_id", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_sge", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "kern_send_wr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kern_send_wr", TypeSize: 64, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "wr_id", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "opcode", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 20}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_send_flags", FldName: "send_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "imm_data", TypeSize: 4, ArgDir: 2}}}, + &UnionType{Key: StructKey{Name: "wr", Dir: 2}, FldName: "wr"}, + &StructType{Key: StructKey{Name: "xrc", Dir: 2}, FldName: "qp_type"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "kern_wc", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kern_wc", TypeSize: 48, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "wr_id", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "status", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "opcode", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vendor_err", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "byte_len", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "imm_data", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_num", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "src_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wc_flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "pkey_index", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "slid", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sl", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dlid_path_bits", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port_num", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 1, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "kexec_segment"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kexec_segment", TypeSize: 32}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "sz", TypeSize: 8}}, Buf: "buf"}, @@ -9788,6 +10353,292 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "mlx5_alloc_pd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_alloc_pd_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_alloc_pd_cmd_resp", Dir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "mlx5_alloc_pd_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_alloc_pd_cmd_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pdn", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_cmd", TypeSize: 80, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483666}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_cq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_vector", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_channel", TypeSize: 4, ArgDir: 2}}, Val: 4294967295}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_cq_ex_mask", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cqe_size", TypeSize: 4, ArgDir: 2}}, Val: 64}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cqe_comp_en", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_comp_cqe_res_format", FldName: "cqe_comp_res_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + }}}, + {Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_dv_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 28}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 9}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_qp_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "send_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "recv_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "qp_type", TypeSize: 1, ArgDir: 2}}, Val: 255}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_srq", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_shift", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uidx", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "access_key", TypeSize: 8, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_qp_cmd", TypeSize: 112, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483672}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_qp_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "send_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "recv_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_srq", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_shift", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_qp_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 8, 22}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uidx", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bfreg_index", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "sq_buf_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + }}}, + {Key: StructKey{Name: "mlx5_create_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_qp_resp", TypeSize: 36, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_number", FldName: "qpn", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uuar_index", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_srq_cmd", TypeSize: 96, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 39}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 22}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_ib_create_srq_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "srq_type", FldName: "srq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_num_tags", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "xrcd_handle", FldName: "xrcd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_srq_ex_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uidx", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_wq_cmd", TypeSize: 112, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483700}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_wq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_wq_flags", FldName: "create_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_shift", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "user_index", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "single_stride_log_num_of_bytes", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "single_wqe_log_num_of_strides", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "two_byte_shift_en", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "mlx5_create_wq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_wq_resp", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response_length", TypeSize: 4, ArgDir: 1}}, Val: 6}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqn", TypeSize: 4, ArgDir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "mlx5_response_length", TypeSize: 4, ArgDir: 1}}, BitSize: 32, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserver", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_get_context_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_get_context_cmd", TypeSize: 48, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 12}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 18}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_get_context_cmd_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "total_num_uuars", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_low_latency_uuars", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cqe_version", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "lib_caps", TypeSize: 8, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "mlx5_get_context_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_get_context_cmd_resp", TypeSize: 80, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "async_fd", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_comp_vectors", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_tab_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bf_reg_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tot_uuars", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cache_line_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_sq_desc_sz", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_rq_desc_sz", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wqebb", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "num_ports", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cqe_version_cmds_supp_uhw", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "hca_core_clock_offset", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_uar_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_uars_per_page", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_dyn_bfregs", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_ib_create_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_ib_create_srq_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srqn", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_modify_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_modify_wq_cmd", TypeSize: 56, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483701}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "modify_wq_attr_flags", FldName: "attr_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4}, BitMask: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wq_state", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "current_wq_state", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "modify_wq_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "modify_wq_flags", FldName: "flags_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "modify_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "modify_qp_cmd", TypeSize: 120, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 26}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 30}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dest_dgid", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_flow_label", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dest_dlid", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dest_reserved", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sgid_index", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_hop_limit", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sl", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_src_path_bits", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_static_rate", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_is_global", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_port_num", TypeSize: 1, ArgDir: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "alt_dest_dgid", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "alt_dest_flow_label", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_dest_dlid", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_dest_reserved", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sgid_index", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_hop_limit", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sl", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_src_path_bits", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_static_rate", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_is_global", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_port_num", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "attr_mask", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_psn", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_psn", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_qp_num", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_access_flags", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "pkey_index", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_pkey_index", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "qp_state", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cur_qp_state", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mtu", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mig_state", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "en_sqd_async_notify", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_rd_atomic", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_dest_rd_atomic", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "min_rnr_timer", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port_num", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "timeout", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_cnt", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_port_num", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_timeout", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "modify_srq_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "modify_srq_cmd", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4}}, Val: 33}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "attr_mask", TypeSize: 4}}, Kind: 2, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}}, {Key: StructKey{Name: "move_extent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "move_extent", TypeSize: 40}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "donor_fd", TypeSize: 4}}, @@ -17187,6 +18038,18 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"nls\", stringnoz[codepages_names]]"}, FldName: "nls"}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "utf8", TypeSize: 4}, Kind: 2, Values: []string{"utf8"}, NoZ: true}, }}}, + {Key: StructKey{Name: "open_xrcd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "open_xrcd_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 37}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "open_xrcd_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fd", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "oflags", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "open_xrcd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "open_xrcd_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "xrcd_handle", FldName: "xrcd_handle", TypeSize: 4, ArgDir: 1}}, + }}}, {Key: StructKey{Name: "optional[int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "optional[int16]", IsVarlen: true}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "val", TypeSize: 2}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "void"}, Kind: 1}, @@ -17703,6 +18566,19 @@ var structDescs_arm64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "rfd", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "wfd", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "poll_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "poll_cq_cmd", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 21}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "poll_cq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ne", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "poll_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "poll_cq_resp", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wc", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_wc", Dir: 1}}}, + }}}, {Key: StructKey{Name: "pollfd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pollfd", TypeSize: 8}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pollfd_events", FldName: "events", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 4096, 8192, 16384, 32768}, BitMask: true}, @@ -17741,6 +18617,48 @@ var structDescs_arm64 = []*KeyedStruct{ {Key: StructKey{Name: "posix_acl_xattr_header"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "posix_acl_xattr_header", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_version", TypeSize: 4}}, Val: 2}, }}}, + {Key: StructKey{Name: "post_recv_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_recv_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 29}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_recv_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wr_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sge_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqe_size", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "recv_wr", ArgDir: 2, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_recv_wr", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "post_recv_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_recv_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bad_wr", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "post_send_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_send_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 28}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_send_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wr_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sge_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqe_size", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "send_wr", ArgDir: 2, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_send_wr", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "post_send_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_send_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bad_wr", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "post_srq_recv_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_srq_recv_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 36}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_srq_recv_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wr_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sge_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqe_size", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "recv_wr", ArgDir: 2, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_recv_wr", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "post_srq_recv_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_srq_recv_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bad_wr", TypeSize: 4, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "pppoe_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pppoe_addr", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "sid", TypeSize: 2}}, Kind: 2, RangeEnd: 4}, &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "remote"}, @@ -18019,10 +18937,184 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_INGRESS_BLOCK, int16], int32]"}, FldName: "TCA_INGRESS_BLOCK"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_EGRESS_BLOCK, int16], int32]"}, FldName: "TCA_EGRESS_BLOCK"}, }}}, + {Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_cmd_ex", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483649}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_device_resp_ex", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "query_device_resp_ex", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_resp_ex", TypeSize: 296, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fw_ver", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "node_guid", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "sys_image_guid", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "max_mr_size", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "page_size_cap", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vendor_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vendor_part_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "hw_ver", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device_cap_flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge_rd", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_cq", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_cqe", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ee_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_res_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp_init_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ee_init_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "atomic_cap", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ee", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rdd", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mw", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_raw_ipv6_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_raw_ethy_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mcast_grp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mcast_qp_attach", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_total_mcast_qp_attach", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ah", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_fmr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_map_per_fmr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_pkeys", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "local_ca_ack_delay", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "phys_port_cnt", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "general_caps", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rc_odp_caps", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uc_odp_caps", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ud_odp_caps", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved_odp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "timestamp_mask", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "hca_core_clock", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "device_cap_flags_ex", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "supported_qpts", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rwq_indirection_tables", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rwq_indirection_table_size", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved_rss", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wq_type_rq", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "raw_packet_caps", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rndv_hdr_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_num_tags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ops", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge_tm", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved_tm", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_cq_moderation_count", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_cq_moderation_period", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved_cq_mod", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "max_dm_size", TypeSize: 8, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "query_port_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_port_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "response", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "port_num", TypeSize: 1, ArgDir: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 7, ArgDir: 2}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "query_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 25}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 32}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_qp_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_create_flags", FldName: "attr_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 256}, BitMask: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "query_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_qp_resp", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dest_dgid", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_flow_label", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dest_dlid", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dest_reserved", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sgid_index", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_hop_limit", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_traffic_class", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sl", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_src_path_bits", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_static_rate", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_is_global", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_port_num", TypeSize: 1, ArgDir: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "alt_dest_dgid", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "alt_dest_flow_label", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_dest_dlid", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "alt_dest_reserved", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sgid_index", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_hop_limit", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_traffic_class", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sl", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_src_path_bits", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_static_rate", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_is_global", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_port_num", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_psn", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_psn", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_qp_num", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_access_flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "pkey_index", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_pkey_index", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "qp_state", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cur_qp_state", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mtu", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mig_state", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_draining", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_rd_atomic", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_dest_rd_atomic", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "min_rnr_timer", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port_num", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "timeout", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_cnt", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_port_num", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_timeout", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + }}}, + {Key: StructKey{Name: "query_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_srq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 34}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_srq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "query_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_srq_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "raw_hdlc_proto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "raw_hdlc_proto", TypeSize: 4}, Fields: []Type{ &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", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 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"}, @@ -18194,7 +19286,7 @@ var structDescs_arm64 = []*KeyedStruct{ &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{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}}, + &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}}, &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{ @@ -18399,6 +19491,23 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "reg_mr_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "reg_mr_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 12}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "reg_mr_resp", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "start", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 8, ArgDir: 2}}, Buf: "start"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "hca_va", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_access_flags", FldName: "access_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}, BitMask: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "reg_mr_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "reg_mr_resp", TypeSize: 12, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_handle", FldName: "mr_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_lkey", FldName: "lkey", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 1}}, + }}}, {Key: StructKey{Name: "reiserfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "reiserfs_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "tails_on", TypeSize: 8}, Kind: 2, Values: []string{"tails=on"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "tails_off", TypeSize: 9}, Kind: 2, Values: []string{"tails=off"}, NoZ: true}, @@ -18442,6 +19551,13 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "errors_continue", TypeSize: 15}, Kind: 2, Values: []string{"errors=continue"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "errors_ro_remount", TypeSize: 17}, Kind: 2, Values: []string{"errors=ro-remount"}, NoZ: true}, }}}, + {Key: StructKey{Name: "req_notify_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "req_notify_cq_cmd", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 23}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "solicited", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + }}}, {Key: StructKey{Name: "request_sense", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "request_sense", TypeSize: 64, ArgDir: 2}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "valid_err_code", TypeSize: 1, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segment_number", TypeSize: 1, ArgDir: 2}}}, @@ -18455,6 +19571,38 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sks", TypeSize: 3, ArgDir: 2}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "asb", TypeSize: 46, ArgDir: 2}, Kind: 1, RangeBegin: 46, RangeEnd: 46}, }}}, + {Key: StructKey{Name: "rereg_mr_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rereg_mr_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 11}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 14}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rereg_mr_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_handle", FldName: "mr_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_mr_rereg_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 7}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "start", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 8, ArgDir: 2}}, Buf: "start"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "hca_va", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_access_flags", FldName: "access_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}, BitMask: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "rereg_mr_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rereg_mr_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_lkey", FldName: "lkey", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "resize_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "resize_cq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 19}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "resize_cq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "resize_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "resize_cq_resp", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + }}}, {Key: StructKey{Name: "rfkill_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rfkill_event", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "type", TypeSize: 1}}, Kind: 2, RangeEnd: 9}, @@ -23245,6 +24393,12 @@ var structDescs_arm64 = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "ud", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ud", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ah", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "remote_qpn", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "remote_qkey", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "udmabuf_create"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "udmabuf_create", TypeSize: 24}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_memfd", FldName: "memfd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}, Kind: 2, RangeEnd: 1}, @@ -23397,6 +24551,19 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "step", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "level", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "union_ib_flow_spec", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "union_ib_flow_spec", TypeSize: 88, ArgDir: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "ib_flow_spec_eth", Dir: 2}, FldName: "eth"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_ipv6", Dir: 2}, FldName: "ipv6"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_ipv4", Dir: 2}, FldName: "ipv4"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_tcp_udp", Dir: 2}, FldName: "tcp_udp"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_tunnel", Dir: 2}, FldName: "tunnel"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_gre", Dir: 2}, FldName: "gre"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_esp", Dir: 2}, FldName: "esp"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_mpls", Dir: 2}, FldName: "mpls"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_action_tag", Dir: 2}, FldName: "tag"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_action_drop", Dir: 2}, FldName: "drop"}, + &StructType{Key: StructKey{Name: "ib_uverbs_flow_spec_action_count", Dir: 2}, FldName: "count"}, + }}}, {Key: StructKey{Name: "unipair"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "unipair", TypeSize: 4}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "unicode", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "fontpos", TypeSize: 2}}}, @@ -24456,6 +25623,11 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "xpix", TypeSize: 2, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "upix", TypeSize: 2, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "wr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wr", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma", Dir: 2}, FldName: "rdma"}, + &StructType{Key: StructKey{Name: "atomic", Dir: 2}, FldName: "atomic"}, + &StructType{Key: StructKey{Name: "ud", Dir: 2}, FldName: "ud"}, + }}}, {Key: StructKey{Name: "x25_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "x25_address", TypeSize: 16}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "null", TypeSize: 16}, Kind: 2, Values: []string{" \x00"}}, &StructType{Key: StructKey{Name: "x25_address_remote"}, FldName: "remote"}, @@ -24966,6 +26138,9 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"logdev\", stringnoz[filename]]"}, FldName: "logdev"}, &StructType{Key: StructKey{Name: "fs_opt[\"rtdev\", stringnoz[filename]]"}, FldName: "rtdev"}, }}}, + {Key: StructKey{Name: "xrc", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xrc", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "remote_srqn", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "xt_CHECKSUM_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_CHECKSUM_info", TypeSize: 1}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "operation", TypeSize: 1}}, Val: 1}, }}}, @@ -27299,6 +28474,9 @@ var syscalls_arm64 = []*Syscall{ {NR: 57, Name: "close", CallName: "close", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, }}, + {NR: 57, Name: "close$ibv_device", CallName: "close", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + }}, {NR: 203, Name: "connect", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_storage"}}}, @@ -29825,6 +31003,16 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21280}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cdrom_options", FldName: "arg", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true}, }}, + {NR: 29, Name: "ioctl$CREATE_COUNTERS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222805249}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ib_uverbs_create_counters_cmd", Dir: 2}}}, + }}, + {NR: 29, Name: "ioctl$DESTROY_COUNTERS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222805249}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ib_uverbs_destroy_counters_cmd"}}}, + }}, {NR: 29, Name: "ioctl$DMA_BUF_IOCTL_SYNC", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dma_buf", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074291200}, @@ -31585,6 +32773,11 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1074311424}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, }}, + {NR: 29, Name: "ioctl$READ_COUNTERS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222805249}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ib_uverbs_read_counters_cmd", Dir: 2}}}, + }}, {NR: 29, Name: "ioctl$RFKILL_IOCTL_NOINPUT", CallName: "ioctl", MissingArgs: 1, Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 20993}, @@ -39597,6 +40790,11 @@ var syscalls_arm64 = []*Syscall{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}}, &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}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_floppy", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_open_dev$ibv_device", CallName: "syz_open_dev", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 24}, Kind: 2, Values: []string{"/dev/infiniband/uverbs0\x00"}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_dev_open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2, 524288}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_open_dev$ircomm", CallName: "syz_open_dev", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 13}, Kind: 2, Values: []string{"/dev/ircomm#\x00"}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}}, @@ -39859,6 +41057,126 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Buf: "data"}, }}, + {NR: 64, Name: "write$ALLOC_MW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "alloc_mw_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$ALLOC_PD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "alloc_pd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$ATTACH_MCAST", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "attach_mcast_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$CLOSE_XRCD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "close_xrcd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$CREATE_AH", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_ah_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$CREATE_COMP_CHANNEL", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_comp_channel_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$CREATE_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$CREATE_CQ_EX", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_cq_ex_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$CREATE_FLOW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_flow_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$CREATE_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$CREATE_RWQ_IND_TBL", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_rwq_ind_table_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$CREATE_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$CREATE_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$DEALLOC_MW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "dealloc_mw_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$DEALLOC_PD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "dealloc_pd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$DEREG_MR", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rereg_mr_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$DESTROY_AH", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_ah_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$DESTROY_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$DESTROY_FLOW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_flow_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$DESTROY_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$DESTROY_RWQ_IND_TBL", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_rwq_ind_table_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$DESTROY_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$DESTROY_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$DETACH_MCAST", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "detach_mcast_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, {NR: 64, Name: "write$FUSE_ATTR", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fuse", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_out[fuse_attr_out]"}}}, @@ -39969,6 +41287,61 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_out[fuse_write_out]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "arg"}, }}, + {NR: 64, Name: "write$MLX5_ALLOC_PD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_alloc_pd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$MLX5_CREATE_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$MLX5_CREATE_DV_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$MLX5_CREATE_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$MLX5_CREATE_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$MLX5_CREATE_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$MLX5_GET_CONTEXT", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_get_context_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$MLX5_MODIFY_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_modify_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$MODIFY_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "modify_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$MODIFY_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "modify_srq_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$OPEN_XRCD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "open_xrcd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, {NR: 64, Name: "write$P9_RATTACH", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "wfd9p", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "p9_msg[P9_RATTACH, p9_qid]"}}}, @@ -40144,6 +41517,46 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "p9_msg[P9_RXATTRWALK, int64]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Buf: "data"}, }}, + {NR: 64, Name: "write$POLL_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "poll_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$POST_RECV", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_recv_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$POST_SEND", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_send_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$POST_SRQ_RECV", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_srq_recv_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$QUERY_DEVICE_EX", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$QUERY_PORT", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_port_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$QUERY_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$QUERY_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, {NR: 64, Name: "write$RDMA_USER_CM_CMD_ACCEPT", 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: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}}}, @@ -40254,6 +41667,26 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, }}, + {NR: 64, Name: "write$REG_MR", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "reg_mr_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$REQ_NOTIFY_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "req_notify_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$REREG_MR", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "dereg_mr_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 64, Name: "write$RESIZE_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "resize_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, {NR: 64, Name: "write$UHID_CREATE", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uhid", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uhid_create_req"}}}, @@ -41643,6 +43076,8 @@ var consts_arm64 = []ConstValue{ {Name: "EXT4_SYNC_FL", Value: 8}, {Name: "EXT4_TOPDIR_FL", Value: 131072}, {Name: "EXT4_UNRM_FL", Value: 2}, + {Name: "EX_CREATE_CQ_CMD", Value: 2147483666}, + {Name: "EX_CREATE_QP_CMD", Value: 2147483672}, {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8}, {Name: "FALLOC_FL_INSERT_RANGE", Value: 32}, {Name: "FALLOC_FL_KEEP_SIZE", Value: 1}, @@ -42020,6 +43455,12 @@ var consts_arm64 = []ConstValue{ {Name: "I2C_SMBUS_QUICK"}, {Name: "I2C_TENBIT", Value: 1796}, {Name: "I2C_TIMEOUT", Value: 1794}, + {Name: "IB_ACCESS_LOCAL_WRITE", Value: 1}, + {Name: "IB_ACCESS_MW_BIND", Value: 16}, + {Name: "IB_ACCESS_ON_DEMAND", Value: 64}, + {Name: "IB_ACCESS_REMOTE_ATOMIC", Value: 8}, + {Name: "IB_ACCESS_REMOTE_READ", Value: 4}, + {Name: "IB_ACCESS_REMOTE_WRITE", Value: 2}, {Name: "IB_EVENT_CLIENT_REREGISTER", Value: 17}, {Name: "IB_EVENT_COMM_EST", Value: 4}, {Name: "IB_EVENT_CQ_ERR"}, @@ -42040,6 +43481,23 @@ var consts_arm64 = []ConstValue{ {Name: "IB_EVENT_SRQ_ERR", Value: 14}, {Name: "IB_EVENT_SRQ_LIMIT_REACHED", Value: 15}, {Name: "IB_EVENT_WQ_FATAL", Value: 19}, + {Name: "IB_FLOW_ATTR_FLAGS_DONT_TRAP", Value: 2}, + {Name: "IB_FLOW_SPEC_ACTION_COUNT", Value: 4099}, + {Name: "IB_FLOW_SPEC_ACTION_DROP", Value: 4097}, + {Name: "IB_FLOW_SPEC_ACTION_TAG", Value: 4096}, + {Name: "IB_FLOW_SPEC_ESP", Value: 52}, + {Name: "IB_FLOW_SPEC_ETH", Value: 32}, + {Name: "IB_FLOW_SPEC_GRE", Value: 81}, + {Name: "IB_FLOW_SPEC_IPV4", Value: 48}, + {Name: "IB_FLOW_SPEC_IPV6", Value: 49}, + {Name: "IB_FLOW_SPEC_MPLS", Value: 96}, + {Name: "IB_FLOW_SPEC_VXLAN_TUNNEL", Value: 80}, + {Name: "IB_IPV4_DONT_FRAG", Value: 2}, + {Name: "IB_IPV4_MORE_FRAG", Value: 4}, + {Name: "IB_MR_REREG_ACCESS", Value: 4}, + {Name: "IB_MR_REREG_PD", Value: 2}, + {Name: "IB_MR_REREG_SUPPORTED", Value: 7}, + {Name: "IB_MR_REREG_TRANS", Value: 1}, {Name: "IB_PATH_ALTERNATE", Value: 4}, {Name: "IB_PATH_GMP", Value: 1}, {Name: "IB_PATH_INBOUND", Value: 16}, @@ -42047,20 +43505,53 @@ var consts_arm64 = []ConstValue{ {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_QP_CREATE_BLOCK_MULTICAST_LOOPBACK", Value: 2}, + {Name: "IB_QP_CREATE_CROSS_CHANNEL", Value: 4}, + {Name: "IB_QP_CREATE_IPOIB_UD_LSO", Value: 1}, + {Name: "IB_QP_CREATE_MANAGED_RECV", Value: 16}, + {Name: "IB_QP_CREATE_MANAGED_SEND", Value: 8}, + {Name: "IB_QP_CREATE_NETIF_QP", Value: 32}, + {Name: "IB_QP_CREATE_SCATTER_FCS", Value: 256}, + {Name: "IB_QP_CREATE_SIGNATURE_EN", Value: 64}, + {Name: "IB_SEND_FENCE", Value: 1}, + {Name: "IB_SEND_INLINE", Value: 8}, + {Name: "IB_SEND_IP_CSUM", Value: 16}, + {Name: "IB_SEND_SIGNALED", Value: 2}, + {Name: "IB_SEND_SOLICITED", Value: 4}, + {Name: "IB_SRQT_BASIC"}, + {Name: "IB_SRQT_TM", Value: 2}, + {Name: "IB_SRQT_XRC", Value: 1}, + {Name: "IB_USER_VERBS_CMD_CREATE_CQ", Value: 18}, + {Name: "IB_USER_VERBS_CMD_CREATE_QP", Value: 24}, + {Name: "IB_USER_VERBS_CMD_FLAGS_SHIFT", Value: 24}, + {Name: "IB_USER_VERBS_CMD_FLAG_EXTENDED", Value: 2147483648}, + {Name: "IB_USER_VERBS_CMD_THRESHOLD", Value: 50}, + {Name: "IB_USER_VERBS_EX_CMD_CREATE_FLOW", Value: 2147483698}, + {Name: "IB_USER_VERBS_EX_CMD_DESTROY_FLOW", Value: 2147483699}, + {Name: "IB_USER_VERBS_EX_CMD_QUERY_DEVICE", Value: 2147483649}, {Name: "IB_UVERBS_AH_ATTR_SIZE", Value: 32}, + {Name: "IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN", Value: 2}, + {Name: "IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION", Value: 1}, {Name: "IB_UVERBS_QP_ATTR_SIZE", Value: 144}, + {Name: "IB_UVERBS_READ_COUNTERS_PREFER_CACHED", Value: 1}, + {Name: "IB_WQT_RQ"}, + {Name: "IB_WQ_CUR_STATE", Value: 2}, + {Name: "IB_WQ_FLAGS", Value: 4}, + {Name: "IB_WQ_FLAGS_CVLAN_STRIPPING", Value: 1}, + {Name: "IB_WQ_FLAGS_DELAY_DROP", Value: 4}, + {Name: "IB_WQ_FLAGS_PCI_WRITE_END_PADDING", Value: 8}, + {Name: "IB_WQ_FLAGS_SCATTER_FCS", Value: 2}, + {Name: "IB_WQ_STATE", Value: 1}, + {Name: "IB_ZERO_BASED", Value: 32}, {Name: "ICMPV6_ADDR_UNREACH", Value: 3}, {Name: "ICMPV6_ADM_PROHIBITED", Value: 1}, {Name: "ICMPV6_DEST_UNREACH", Value: 1}, @@ -43404,6 +44895,15 @@ var consts_arm64 = []ConstValue{ {Name: "MISDN_MAX_IDLEN", Value: 20}, {Name: "MISDN_TIME_STAMP", Value: 1}, {Name: "MLOCK_ONFAULT", Value: 1}, + {Name: "MLX5_CREATE_DCI", Value: 22}, + {Name: "MLX5_CREATE_DCT", Value: 8}, + {Name: "MLX5_IB_CQE_RES_FORMAT_CSUM", Value: 2}, + {Name: "MLX5_IB_CQE_RES_FORMAT_HASH", Value: 1}, + {Name: "MLX5_QP_FLAG_BFREG_INDEX", Value: 8}, + {Name: "MLX5_QP_FLAG_SCATTER_CQE", Value: 2}, + {Name: "MLX5_QP_FLAG_SIGNATURE", Value: 1}, + {Name: "MLX5_QP_FLAG_TUNNEL_OFFLOADS", Value: 4}, + {Name: "MLX5_SRQ_FLAG_SIGNATURE", Value: 1}, {Name: "MMAP_PAGE_ZERO", Value: 1048576}, {Name: "MNT_DETACH", Value: 2}, {Name: "MNT_EXPIRE", Value: 4}, @@ -44252,6 +45752,7 @@ var consts_arm64 = []ConstValue{ {Name: "P_PGID", Value: 2}, {Name: "P_PID", Value: 1}, {Name: "QMAGIC", Value: 204}, + {Name: "RDMA_DRIVER_MLX5", Value: 1}, {Name: "RDMA_MAX_PRIVATE_DATA", Value: 256}, {Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"}, {Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1}, @@ -44291,6 +45792,7 @@ var consts_arm64 = []ConstValue{ {Name: "RDMA_USER_CM_QUERY_ADDR"}, {Name: "RDMA_USER_CM_QUERY_GID", Value: 2}, {Name: "RDMA_USER_CM_QUERY_PATH", Value: 1}, + {Name: "RDMA_VERBS_IOCTL", Value: 3222805249}, {Name: "RDS_CANCEL_SENT_TO", Value: 1}, {Name: "RDS_CMSG_ATOMIC_CSWP", Value: 7}, {Name: "RDS_CMSG_ATOMIC_FADD", Value: 6}, @@ -46058,6 +47560,16 @@ var consts_arm64 = []ConstValue{ {Name: "USERIO_CMD_SET_PORT_TYPE", Value: 1}, {Name: "USER_CLIENT", Value: 1}, {Name: "UUID_SIZE", Value: 16}, + {Name: "UVERBS_ATTR_CREATE_COUNTERS_HANDLE"}, + {Name: "UVERBS_ATTR_DESTROY_COUNTERS_HANDLE"}, + {Name: "UVERBS_ATTR_F_MANDATORY", Value: 1}, + {Name: "UVERBS_ATTR_READ_COUNTERS_BUFF", Value: 1}, + {Name: "UVERBS_ATTR_READ_COUNTERS_FLAGS", Value: 2}, + {Name: "UVERBS_ATTR_READ_COUNTERS_HANDLE"}, + {Name: "UVERBS_METHOD_COUNTERS_CREATE"}, + {Name: "UVERBS_METHOD_COUNTERS_DESTROY", Value: 1}, + {Name: "UVERBS_METHOD_COUNTERS_READ", Value: 2}, + {Name: "UVERBS_OBJECT_COUNTERS", Value: 15}, {Name: "V4L2_AUDCAP_AVL", Value: 2}, {Name: "V4L2_AUDCAP_STEREO", Value: 1}, {Name: "V4L2_AUDMODE_AVL", Value: 1}, @@ -47701,4 +49213,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "303e1348051e279c46d965f113d391cded14b113" +const revision_arm64 = "075d035566e90160990e4623818e1277e08f05c1" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index 5524be746..8504f3068 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -11,11 +11,13 @@ func init() { } var resources_ppc64le = []*ResourceDesc{ + {Name: "ah_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ah_handle"}, Values: []uint64{0}}, {Name: "assoc_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"assoc_id"}, Values: []uint64{0}}, {Name: "binder_ptr", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"binder_ptr"}, Values: []uint64{0}}, {Name: "bpf_btf_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"bpf_btf_id"}, Values: []uint64{0, 18446744073709551615}}, {Name: "bpf_map_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"bpf_map_id"}, Values: []uint64{0, 18446744073709551615}}, {Name: "bpf_prog_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"bpf_prog_id"}, Values: []uint64{0, 18446744073709551615}}, + {Name: "cq_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"cq_handle"}, Values: []uint64{0}}, {Name: "drm_agp_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"drm_agp_handle"}, Values: []uint64{0}}, {Name: "drm_gem_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"drm_gem_handle"}, Values: []uint64{0}}, {Name: "drm_gem_name", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"drm_gem_name"}, Values: []uint64{0}}, @@ -68,6 +70,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "fd_ppp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_ppp"}, 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_rawtp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_perf_base", "fd_rawtp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "fd_rdma", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rdma"}, 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_rfkill", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rfkill"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_rtc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_rtc"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -106,6 +109,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "fd_vhci", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhci"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_vhost", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "fd_video", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_video"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "flow_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"flow_handle"}, Values: []uint64{0}}, {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, {Name: "genl_nbd_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}}, @@ -118,6 +122,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "ifindex", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex"}, Values: []uint64{0}}, {Name: "ifindex_team", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_team"}, Values: []uint64{0}}, {Name: "ifindex_vcan", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ifindex", "ifindex_vcan"}, Values: []uint64{0}}, + {Name: "ind_tbl_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ind_tbl_handle"}, Values: []uint64{0}}, {Name: "inotifydesc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"inotifydesc"}, Values: []uint64{0}}, {Name: "io_ctx", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"io_ctx"}, Values: []uint64{0}}, {Name: "ipc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc"}, Values: []uint64{0, 18446744073709551615}}, @@ -126,8 +131,15 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "ipc_shm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"ipc", "ipc_shm"}, Values: []uint64{0, 18446744073709551615}}, {Name: "key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key"}, Values: []uint64{0}}, {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: "mr_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mr_handle"}, Values: []uint64{0}}, + {Name: "mr_lkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mr_lkey"}, Values: []uint64{0}}, + {Name: "mr_rkey", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mr_rkey"}, Values: []uint64{0}}, + {Name: "mw_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"mw_handle"}, Values: []uint64{0}}, + {Name: "pd_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"pd_handle"}, Values: []uint64{0}}, {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: "qp_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"qp_handle"}, Values: []uint64{0}}, + {Name: "qp_number", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"qp_number"}, Values: []uint64{0}}, {Name: "rdma_cm_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_id"}, Values: []uint64{18446744073709551615}}, {Name: "rdma_cm_mcast_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"rdma_cm_mcast_id"}, Values: []uint64{18446744073709551615}}, {Name: "rfd9p", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "rfd9p"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, @@ -193,6 +205,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "sock_vsock_stream", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_vsock", "sock_vsock_stream"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_x25", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_x25"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "sock_xdp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_xdp"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "srq_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"srq_handle"}, Values: []uint64{0}}, {Name: "tcp_seq_num", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"tcp_seq_num"}, Values: []uint64{1094861636}}, {Name: "time_nsec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"time_nsec"}, Values: []uint64{0}}, {Name: "time_sec", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", TypeSize: 8}}}, Kind: []string{"time_sec"}, Values: []uint64{0}}, @@ -201,9 +214,12 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"uid"}, Values: []uint64{0, 18446744073709551615, 60928, 60929}}, {Name: "user_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"key", "user_key"}, Values: []uint64{0}}, {Name: "v4l2_std_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}, Kind: []string{"v4l2_std_id"}, Values: []uint64{0}}, + {Name: "vcontext_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"vcontext_handle"}, Values: []uint64{0}}, {Name: "vhost_net", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_net"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "vhost_vsock", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "fd_vhost", "vhost_vsock"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, {Name: "wfd9p", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "wfd9p"}, Values: []uint64{18446744073709551615, 18446744073709551516}}, + {Name: "wq_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"wq_handle"}, Values: []uint64{0}}, + {Name: "xrcd_handle", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"xrcd_handle"}, Values: []uint64{0}}, } var structDescs_ppc64le = []*KeyedStruct{ @@ -260,6 +276,30 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "alg_name"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alg_name", TypeSize: 64}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "name", TypeSize: 64}, Kind: 2, Values: []string{"filled later\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"}}, }}}, + {Key: StructKey{Name: "alloc_mw_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_mw_cmd", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 14}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "alloc_mw_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "mw_type", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "alloc_mw_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_mw_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "mw_handle", FldName: "mw_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "alloc_pd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_pd_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "alloc_pd_cmd_resp", Dir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "alloc_pd_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "alloc_pd_cmd_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 1}}, + }}}, {Key: StructKey{Name: "apparmor_current_attr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "apparmor_current_attr", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "apparmor_current_hat"}, FldName: "hat"}, &StructType{Key: StructKey{Name: "apparmor_current_profile"}, FldName: "profile"}, @@ -456,6 +496,23 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "atomic", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "atomic", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "compare_add", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "swap", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "attach_mcast_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "attach_mcast_cmd", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4}}, Val: 30}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "gid", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mlid", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}}, {Key: StructKey{Name: "ax25_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ax25_address", TypeSize: 7}, Fields: []Type{ &StructType{Key: StructKey{Name: "ax25_address_remote"}, FldName: "remote"}, &StructType{Key: StructKey{Name: "ax25_address_bcast"}, FldName: "bcast"}, @@ -1632,6 +1689,12 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "val", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "timeout", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "close_xrcd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "close_xrcd_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 38}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "xrcd_handle", FldName: "xrcd_handle", TypeSize: 4, ArgDir: 2}}, + }}}, {Key: StructKey{Name: "cmsghdr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "cmsg_len", TypeSize: 8}}, Buf: "parent"}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cmsg_levels", FldName: "cmsg_level", TypeSize: 4}}, Vals: []uint64{1, 1, 0, 6, 17, 41, 58, 132, 136, 255, 256, 257, 258, 259, 260, 261, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281}}, @@ -1825,6 +1888,184 @@ 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: "cmtp_conninfo", Dir: 1}}}}, }}}, + {Key: StructKey{Name: "create_ah_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_ah_cmd", TypeSize: 64, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_ah_cmd_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dgid", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flow_label", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sgid_index", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hop_limit", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "reserved1", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dlid", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sl", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "src_path_bits", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "static_rate", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_global", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "port_num", TypeSize: 1, ArgDir: 2}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "reserved2", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "create_ah_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_ah_cmd_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "ah_handle", FldName: "ah_handle", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "create_comp_channel_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_comp_channel_cmd", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 17}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_comp_channel_resp", Dir: 1}}}, + }}}, + {Key: StructKey{Name: "create_comp_channel_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_comp_channel_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fd", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_cq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 18}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "reponse", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_cq_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_vector", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_channel", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "create_cq_ex_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_cq_ex_cmd", TypeSize: 56, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483666}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_cq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_vector", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_channel", TypeSize: 4, ArgDir: 2}}, Val: 4294967295}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_cq_ex_mask", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_cq_ex_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "create_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_cq_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_flow_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_flow_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483698}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "flow_ex"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_flow_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "create_flow_cmd_ex", Dir: 2}, FldName: "flow_ex"}, + }}}, + {Key: StructKey{Name: "create_flow_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_flow_cmd_ex", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &StructType{Key: StructKey{Name: "ib_uverbs_flow_attr", Dir: 2}, FldName: "flow_attr"}, + }}}, + {Key: StructKey{Name: "create_flow_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_flow_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "flow_handle", FldName: "flow_handle", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "create_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 24}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_qp_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "send_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "recv_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_srq", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 1, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "create_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_qp_resp", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_number", FldName: "qpn", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_rwq_ind_table_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_rwq_ind_table_cmd", TypeSize: 40, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483703}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_rwq_ind_table_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_ind_tbl_size", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 1, RangeEnd: 1}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wq_handles", TypeSize: 8, ArgDir: 2}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", TypeSize: 4, ArgDir: 2}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}, + }}}, + {Key: StructKey{Name: "create_rwq_ind_table_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_rwq_ind_table_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "response_length", TypeSize: 4, ArgDir: 1}}, BitSize: 32, Buf: "parent"}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ind_tbl_handle", FldName: "ind_tbl_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ind_tbl_num", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_srq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 32}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_srq_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "create_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_srq_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srqn", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "create_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_wq_cmd", TypeSize: 64, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483700}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_wq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_wq_flags", FldName: "create_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "create_wq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "create_wq_resp", TypeSize: 24, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqn", TypeSize: 4, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "crypto_user_alg"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "crypto_user_alg", TypeSize: 208}, Fields: []Type{ &StructType{Key: StructKey{Name: "alg_name"}, FldName: "cru_name"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "cru_driver_name", TypeSize: 64}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 64, RangeEnd: 64}, @@ -1852,6 +2093,106 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "dccp_header"}, FldName: "header"}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}}, }}}, + {Key: StructKey{Name: "dealloc_mw_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dealloc_mw_cmd", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mw_handle", FldName: "mw_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "dealloc_pd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dealloc_pd_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "dereg_mr_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "dereg_mr_cmd", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 13}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_handle", FldName: "mr_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_ah_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_ah_cmd", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 8}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_cq_cmd", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 20}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_cq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_cq_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_events_reported", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "async_events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "destroy_flow_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_flow_cmd", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483699}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "flow_handle", FldName: "flow_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_qp_cmd", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 27}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_qp_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_qp_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "destroy_rwq_ind_table_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_rwq_ind_table_cmd", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ind_tbl_handle", FldName: "ind_tbl_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_srq_cmd", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 35}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_srq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "destroy_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_srq_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "destroy_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_wq_cmd", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483702}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_wq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 15}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 2}}, + }}}, + {Key: StructKey{Name: "destroy_wq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "destroy_wq_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "events_reported", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "detach_mcast_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "detach_mcast_cmd", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4}}, Val: 31}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "gid", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "mlid", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}}, {Key: StructKey{Name: "devconf_ip_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "devconf_ip_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_IFINDEX, int16], ifindex]"}, FldName: "NETCONFA_IFINDEX"}, &StructType{Key: StructKey{Name: "nlattr_t[const[NETCONFA_FORWARDING, int16], int32]"}, FldName: "NETCONFA_FORWARDING"}, @@ -6099,11 +6440,203 @@ var structDescs_ppc64le = []*KeyedStruct{ {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_flow_esp_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_esp_filter", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "spi", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_eth_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_eth_filter", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dst_mac", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "src_mac", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ether_type", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "vlan_tag", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_gre_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_gre_filter", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "c_ks_res0_ver", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "protocol", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "key", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_ipv4_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_ipv4_filter", TypeSize: 12, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "src_ip", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dst_ip", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "tos", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "ttl", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_ipv4_flags", FldName: "flags", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{2, 4}, BitMask: true}, + }}}, + {Key: StructKey{Name: "ib_flow_ipv6_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_ipv6_filter", TypeSize: 40, ArgDir: 2}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "src_ip", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dst_ip", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flow_label", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "next_hdr", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "hop_limit", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 1, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_mpls_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_mpls_filter", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tag", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_action_drop", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_action_drop", TypeSize: 8, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 4097}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_action_tag", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_action_tag", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 4096}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tag_id", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_esp", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_esp", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 52}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_esp_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_esp_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_eth", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_eth", TypeSize: 40, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 32}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_eth_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_eth_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_gre", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_gre", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 81}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_gre_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_gre_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_ipv4", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_ipv4", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 48}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 32}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_ipv4_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_ipv4_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_ipv6", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_ipv6", TypeSize: 88, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 49}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 88}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_ipv6_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_ipv6_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_mpls", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_mpls", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 96}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_mpls_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_mpls_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_tcp_udp", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_tcp_udp", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeBegin: 64, RangeEnd: 65}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_tcp_udp_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_tcp_udp_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_spec_tunnel", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_spec_tunnel", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 80}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + &StructType{Key: StructKey{Name: "ib_flow_tunnel_filter", Dir: 2}, FldName: "val"}, + &StructType{Key: StructKey{Name: "ib_flow_tunnel_filter", Dir: 2}, FldName: "mask"}, + }}}, + {Key: StructKey{Name: "ib_flow_tcp_udp_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_tcp_udp_filter", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dst_port", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "src_port", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_flow_tunnel_filter", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_flow_tunnel_filter", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tunnel_id", TypeSize: 4, ArgDir: 2}}}, + }}}, {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}, BitMask: true}, &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: "ib_uverbs_create_counters_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_create_counters_cmd", TypeSize: 48, ArgDir: 2}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "length", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "ib_uverbs_create_counters_cmd"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "object_id", TypeSize: 2, ArgDir: 2}}, Val: 15}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "method_id", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_attrs", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "driver_id", TypeSize: 4, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "len", TypeSize: 2, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "elem_id", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "vcontext_handle", TypeSize: 4, ArgDir: 2, IsOptional: true}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ib_uverbs_destroy_counters_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_destroy_counters_cmd", TypeSize: 48}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "length", TypeSize: 2}}, BitSize: 64, Buf: "ib_uverbs_destroy_counters_cmd"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "object_id", TypeSize: 2}}, Val: 15}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "method_id", TypeSize: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_attrs", TypeSize: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "driver_id", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "len", TypeSize: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "elem_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "vcontext_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "ib_uverbs_flow_attr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_flow_attr", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 2, ArgDir: 2}}, BitSize: 8, Buf: "flow_specs"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "priority", TypeSize: 2, ArgDir: 2}}, Kind: 2, RangeEnd: 7}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "num_of_specs", TypeSize: 1, ArgDir: 2}}, Buf: "flow_specs"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_flow_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{2}, BitMask: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "flow_specs", ArgDir: 2, IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "union_ib_flow_spec", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_uverbs_flow_spec_action_count", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_flow_spec_action_count", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4, ArgDir: 2}}, Val: 4099}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "size", TypeSize: 2, ArgDir: 2}}, Val: 16}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "ib_uverbs_read_counters_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ib_uverbs_read_counters_cmd", TypeSize: 72, ArgDir: 2}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "length", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "ib_uverbs_read_counters_cmd"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "object_id", TypeSize: 2, ArgDir: 2}}, Val: 15}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "method_id", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "num_attrs", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "driver_id", TypeSize: 4, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id0", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "len0", TypeSize: 2, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags0", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "vcontext_handle", FldName: "vcontext_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data0", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id1", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize8", FldName: "len1", TypeSize: 2, ArgDir: 2}}, BitSize: 64, Buf: "data"}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags1", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 2, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "data", TypeSize: 8, ArgDir: 2}, Type: &BufferType{TypeCommon: TypeCommon{ArgDir: 1, IsVarlen: true}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "attr_id2", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "len2", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_uverbs_attr_flags", FldName: "flags2", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved4", TypeSize: 2, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_read_counters_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "more_data1", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "icmp_address_reply_packet"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "icmp_address_reply_packet", TypeSize: 8}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "code", TypeSize: 1}}}, @@ -8793,6 +9326,38 @@ var structDescs_ppc64le = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "tfd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "toff", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "kern_recv_wr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kern_recv_wr", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "wr_id", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_sge", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "kern_send_wr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kern_send_wr", TypeSize: 64, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "wr_id", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "opcode", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 20}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_send_flags", FldName: "send_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "imm_data", TypeSize: 4, ArgDir: 2}}}, + &UnionType{Key: StructKey{Name: "wr", Dir: 2}, FldName: "wr"}, + &StructType{Key: StructKey{Name: "xrc", Dir: 2}, FldName: "qp_type"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "kern_wc", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kern_wc", TypeSize: 48, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "wr_id", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "status", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "opcode", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vendor_err", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "byte_len", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "imm_data", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_num", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "src_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wc_flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "pkey_index", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "slid", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sl", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dlid_path_bits", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port_num", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 1, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "kexec_segment"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "kexec_segment", TypeSize: 32}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "sz", TypeSize: 8}}, Buf: "buf"}, @@ -9740,6 +10305,292 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vifc_rate_limit", TypeSize: 4}}}, }}}, + {Key: StructKey{Name: "mlx5_alloc_pd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_alloc_pd_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_alloc_pd_cmd_resp", Dir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "mlx5_alloc_pd_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_alloc_pd_cmd_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pdn", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_cmd", TypeSize: 80, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483666}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_cq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_vector", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_channel", TypeSize: 4, ArgDir: 2}}, Val: 4294967295}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_cq_ex_mask", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cqe_size", TypeSize: 4, ArgDir: 2}}, Val: 64}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cqe_comp_en", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_comp_cqe_res_format", FldName: "cqe_comp_res_format", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{1, 2}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_cq_flags", FldName: "flags", TypeSize: 2, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + }}}, + {Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_dv_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 28}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 9}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_qp_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "send_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "recv_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "qp_type", TypeSize: 1, ArgDir: 2}}, Val: 255}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_srq", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_shift", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uidx", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "access_key", TypeSize: 8, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_qp_cmd", TypeSize: 112, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483672}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "parent"}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_qp_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "send_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "recv_cq_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_type", FldName: "qp_type", TypeSize: 1, ArgDir: 2}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 8, 9, 10}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "is_srq", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_shift", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "mlx5_create_qp_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 8, 22}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uidx", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bfreg_index", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "sq_buf_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + }}}, + {Key: StructKey{Name: "mlx5_create_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_qp_resp", TypeSize: 36, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_number", FldName: "qpn", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uuar_index", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_srq_cmd", TypeSize: 96, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 39}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 22}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_ib_create_srq_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "srq_type", FldName: "srq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0, 1, 2}, BitMask: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_num_tags", TypeSize: 4, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "xrcd_handle", FldName: "xrcd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_srq_ex_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uidx", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "mlx5_create_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_wq_cmd", TypeSize: 112, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483700}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 5}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_wq_resp", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "wq_type", FldName: "wq_type", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{0}, BitMask: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "user_handle", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "create_wq_flags", FldName: "create_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "db_addr", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 4096}, Kind: 1, RangeBegin: 4096, RangeEnd: 4096}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_wqe_shift", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "user_index", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "single_stride_log_num_of_bytes", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "single_wqe_log_num_of_strides", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "two_byte_shift_en", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + }}}, + {Key: StructKey{Name: "mlx5_create_wq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_create_wq_resp", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response_length", TypeSize: 4, ArgDir: 1}}, Val: 6}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqn", TypeSize: 4, ArgDir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "mlx5_response_length", TypeSize: 4, ArgDir: 1}}, BitSize: 32, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserver", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_get_context_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_get_context_cmd", TypeSize: 48, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 12}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 18}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_get_context_cmd_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "total_num_uuars", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_low_latency_uuars", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cqe_version", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "lib_caps", TypeSize: 8, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "mlx5_get_context_cmd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_get_context_cmd_resp", TypeSize: 80, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "async_fd", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_comp_vectors", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_tab_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bf_reg_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tot_uuars", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cache_line_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_sq_desc_sz", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_rq_desc_sz", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wqebb", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "num_ports", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}, Kind: 2, RangeEnd: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cqe_version_cmds_supp_uhw", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved2", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "hca_core_clock_offset", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "log_uar_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_uars_per_page", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "num_dyn_bfregs", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved3", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_ib_create_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_ib_create_srq_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srqn", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "mlx5_modify_wq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mlx5_modify_wq_cmd", TypeSize: 56, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483701}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "response", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd_hdr_reserved", TypeSize: 4, ArgDir: 2}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "modify_wq_attr_flags", FldName: "attr_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4}, BitMask: true}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "wq_handle", FldName: "wq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wq_state", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "current_wq_state", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "modify_wq_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "modify_wq_flags", FldName: "flags_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "modify_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "modify_qp_cmd", TypeSize: 120, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 26}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 30}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dest_dgid", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_flow_label", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dest_dlid", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dest_reserved", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sgid_index", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_hop_limit", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sl", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_src_path_bits", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_static_rate", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_is_global", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_port_num", TypeSize: 1, ArgDir: 2}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "alt_dest_dgid", TypeSize: 16, ArgDir: 2}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "alt_dest_flow_label", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_dest_dlid", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_dest_reserved", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sgid_index", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_hop_limit", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_traffic_class", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sl", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_src_path_bits", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_static_rate", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_is_global", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_port_num", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "attr_mask", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_psn", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_psn", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_qp_num", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_access_flags", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "pkey_index", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_pkey_index", TypeSize: 2, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "qp_state", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cur_qp_state", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mtu", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mig_state", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "en_sqd_async_notify", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_rd_atomic", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_dest_rd_atomic", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "min_rnr_timer", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port_num", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "timeout", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_cnt", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_port_num", TypeSize: 1, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_timeout", TypeSize: 1, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "modify_srq_cmd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "modify_srq_cmd", IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4}}, Val: 33}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "attr_mask", TypeSize: 4}}, Kind: 2, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + }}}, {Key: StructKey{Name: "move_extent"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "move_extent", TypeSize: 40}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4}}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "donor_fd", TypeSize: 4}}, @@ -17139,6 +17990,18 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"nls\", stringnoz[codepages_names]]"}, FldName: "nls"}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "utf8", TypeSize: 4}, Kind: 2, Values: []string{"utf8"}, NoZ: true}, }}}, + {Key: StructKey{Name: "open_xrcd_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "open_xrcd_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 37}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "open_xrcd_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fd", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "oflags", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "open_xrcd_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "open_xrcd_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "xrcd_handle", FldName: "xrcd_handle", TypeSize: 4, ArgDir: 1}}, + }}}, {Key: StructKey{Name: "optional[int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "optional[int16]", IsVarlen: true}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "val", TypeSize: 2}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "void"}, Kind: 1}, @@ -17655,6 +18518,19 @@ var structDescs_ppc64le = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "rfd", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "wfd", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "poll_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "poll_cq_cmd", TypeSize: 24, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 21}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "poll_cq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ne", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "poll_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "poll_cq_resp", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "count", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "wc", ArgDir: 1, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_wc", Dir: 1}}}, + }}}, {Key: StructKey{Name: "pollfd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pollfd", TypeSize: 8}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pollfd_events", FldName: "events", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 4096, 8192, 16384, 32768}, BitMask: true}, @@ -17693,6 +18569,48 @@ var structDescs_ppc64le = []*KeyedStruct{ {Key: StructKey{Name: "posix_acl_xattr_header"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "posix_acl_xattr_header", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a_version", TypeSize: 4}}, Val: 2}, }}}, + {Key: StructKey{Name: "post_recv_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_recv_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 29}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_recv_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wr_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sge_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqe_size", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "recv_wr", ArgDir: 2, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_recv_wr", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "post_recv_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_recv_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bad_wr", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "post_send_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_send_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 28}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_send_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wr_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sge_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqe_size", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "send_wr", ArgDir: 2, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_send_wr", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "post_send_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_send_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bad_wr", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "post_srq_recv_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_srq_recv_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 36}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_srq_recv_resp", Dir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wr_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sge_count", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "wqe_size", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "recv_wr", ArgDir: 2, IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "kern_recv_wr", Dir: 2}}}, + }}}, + {Key: StructKey{Name: "post_srq_recv_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "post_srq_recv_resp", TypeSize: 4, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "bad_wr", TypeSize: 4, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "pppoe_addr"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "pppoe_addr", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "sid", TypeSize: 2}}, Kind: 2, RangeEnd: 4}, &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "remote"}, @@ -17971,10 +18889,184 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_INGRESS_BLOCK, int16], int32]"}, FldName: "TCA_INGRESS_BLOCK"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_EGRESS_BLOCK, int16], int32]"}, FldName: "TCA_EGRESS_BLOCK"}, }}}, + {Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_cmd_ex", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2147483649}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize4", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, BitSize: 32, Buf: "response"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_device_resp_ex", Dir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_in_words", TypeSize: 2, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "provider_out_words", TypeSize: 2, ArgDir: 2}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "query_device_resp_ex", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_device_resp_ex", TypeSize: 296, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "fw_ver", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "node_guid", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "sys_image_guid", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "max_mr_size", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "page_size_cap", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vendor_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vendor_part_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "hw_ver", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "device_cap_flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge_rd", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_cq", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_cqe", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ee_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_res_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_qp_init_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ee_init_rd_atom", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "atomic_cap", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ee", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rdd", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mw", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_raw_ipv6_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_raw_ethy_qp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mcast_grp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_mcast_qp_attach", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_total_mcast_qp_attach", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ah", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_fmr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_map_per_fmr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_srq_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_pkeys", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "local_ca_ack_delay", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "phys_port_cnt", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "comp_mask", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "response_length", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "general_caps", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rc_odp_caps", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "uc_odp_caps", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ud_odp_caps", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved_odp", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "timestamp_mask", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "hca_core_clock", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "device_cap_flags_ex", TypeSize: 8, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "supported_qpts", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rwq_indirection_tables", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rwq_indirection_table_size", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved_rss", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wq_type_rq", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "raw_packet_caps", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_rndv_hdr_size", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_num_tags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_ops", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge_tm", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved_tm", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_cq_moderation_count", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "max_cq_moderation_period", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "reserved_cq_mod", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "max_dm_size", TypeSize: 8, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "query_port_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_port_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "response", TypeSize: 8, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "port_num", TypeSize: 1, ArgDir: 2}}, Val: 1}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "reserved", TypeSize: 7, ArgDir: 2}, Kind: 1, RangeBegin: 7, RangeEnd: 7}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "query_qp_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_qp_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 25}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 32}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_qp_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "qp_handle", FldName: "qp_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_qp_create_flags", FldName: "attr_mask", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64, 256}, BitMask: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "query_qp_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_qp_resp", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "dest_dgid", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_flow_label", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "dest_dlid", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "dest_reserved", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sgid_index", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_hop_limit", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_traffic_class", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_sl", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_src_path_bits", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_static_rate", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_is_global", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "dest_port_num", TypeSize: 1, ArgDir: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "alt_dest_dgid", TypeSize: 16, ArgDir: 1}, Kind: 1, RangeBegin: 16, RangeEnd: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "alt_dest_flow_label", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_dest_dlid", TypeSize: 2, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "alt_dest_reserved", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sgid_index", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_hop_limit", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_traffic_class", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_sl", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_src_path_bits", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_static_rate", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_is_global", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_dest_port_num", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_send_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_recv_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_inline_data", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qkey", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rq_psn", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "sq_psn", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "dest_qp_num", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qp_access_flags", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "pkey_index", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "alt_pkey_index", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "qp_state", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "cur_qp_state", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mtu", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "path_mig_state", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_draining", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_rd_atomic", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_dest_rd_atomic", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "min_rnr_timer", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "port_num", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "timeout", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "retry_cnt", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "rnr_retry", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_port_num", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "alt_timeout", TypeSize: 1, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sq_sig_all", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved0", TypeSize: 1, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved1", TypeSize: 4, ArgDir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + }}}, + {Key: StructKey{Name: "query_srq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_srq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 34}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_srq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "srq_handle", FldName: "srq_handle", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "query_srq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "query_srq_resp", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_wr", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_sge", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "srq_limit", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + }}}, {Key: StructKey{Name: "raw_hdlc_proto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "raw_hdlc_proto", TypeSize: 4}, Fields: []Type{ &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", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rdma", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "remote_addr", TypeSize: 8, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 2}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 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"}, @@ -18146,7 +19238,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &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{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}}, + &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}}, &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{ @@ -18351,6 +19443,23 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "msg_flags", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "reg_mr_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "reg_mr_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 12}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 3}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "reg_mr_resp", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "start", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 8, ArgDir: 2}}, Buf: "start"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "hca_va", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_access_flags", FldName: "access_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}, BitMask: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "reg_mr_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "reg_mr_resp", TypeSize: 12, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_handle", FldName: "mr_handle", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_lkey", FldName: "lkey", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 1}}, + }}}, {Key: StructKey{Name: "reiserfs_options"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "reiserfs_options", IsVarlen: true}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "tails_on", TypeSize: 8}, Kind: 2, Values: []string{"tails=on"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "tails_off", TypeSize: 9}, Kind: 2, Values: []string{"tails=off"}, NoZ: true}, @@ -18394,6 +19503,13 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "errors_continue", TypeSize: 15}, Kind: 2, Values: []string{"errors=continue"}, NoZ: true}, &BufferType{TypeCommon: TypeCommon{TypeName: "stringnoz", FldName: "errors_ro_remount", TypeSize: 17}, Kind: 2, Values: []string{"errors=ro-remount"}, NoZ: true}, }}}, + {Key: StructKey{Name: "req_notify_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "req_notify_cq_cmd", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 23}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "solicited", TypeSize: 4, ArgDir: 2}}, Kind: 2, RangeEnd: 1}, + }}}, {Key: StructKey{Name: "request_sense", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "request_sense", TypeSize: 64, ArgDir: 2}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "valid_err_code", TypeSize: 1, ArgDir: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "segment_number", TypeSize: 1, ArgDir: 2}}}, @@ -18407,6 +19523,38 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "sks", TypeSize: 3, ArgDir: 2}, Kind: 1, RangeBegin: 3, RangeEnd: 3}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "asb", TypeSize: 46, ArgDir: 2}, Kind: 1, RangeBegin: 46, RangeEnd: 46}, }}}, + {Key: StructKey{Name: "rereg_mr_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rereg_mr_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 11}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 14}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rereg_mr_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_handle", FldName: "mr_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_mr_rereg_flags", FldName: "flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 7}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "start", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8}}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 8, ArgDir: 2}}, Buf: "start"}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "hca_va", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "pd_handle", FldName: "pd_handle", TypeSize: 4, ArgDir: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ib_access_flags", FldName: "access_flags", TypeSize: 4, ArgDir: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 64}, BitMask: true}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "rereg_mr_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rereg_mr_resp", TypeSize: 8, ArgDir: 1}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_lkey", FldName: "lkey", TypeSize: 4, ArgDir: 1}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "mr_rkey", FldName: "rkey", TypeSize: 4, ArgDir: 1}}, + }}}, + {Key: StructKey{Name: "resize_cq_cmd", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "resize_cq_cmd", ArgDir: 2, IsVarlen: true}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "command", TypeSize: 4, ArgDir: 2}}, Val: 19}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "in_words", TypeSize: 2, ArgDir: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "out_words", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "response", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "resize_cq_resp", Dir: 1}}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "cq_handle", FldName: "cq_handle", TypeSize: 4, ArgDir: 2}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 2}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 2, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 2}}}}, + }}}, + {Key: StructKey{Name: "resize_cq_resp", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "resize_cq_resp", ArgDir: 1, IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "cqe", TypeSize: 4, ArgDir: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 1}}}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "driver_data", ArgDir: 1, IsVarlen: true}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}}, + }}}, {Key: StructKey{Name: "rfkill_event"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "rfkill_event", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "idx", TypeSize: 4}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "type", TypeSize: 1}}, Kind: 2, RangeEnd: 9}, @@ -23121,6 +24269,12 @@ var structDescs_ppc64le = []*KeyedStruct{ &ResourceType{TypeCommon: TypeCommon{TypeName: "uid", FldName: "uid", TypeSize: 4, ArgDir: 1}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "gid", FldName: "gid", TypeSize: 4, ArgDir: 1}}, }}}, + {Key: StructKey{Name: "ud", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ud", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "ah", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "remote_qpn", TypeSize: 4, ArgDir: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "remote_qkey", TypeSize: 4, ArgDir: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "udmabuf_create"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "udmabuf_create", TypeSize: 24}, Fields: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_memfd", FldName: "memfd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "flags", TypeSize: 4}}, Kind: 2, RangeEnd: 1}, @@ -23273,6 +24427,19 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "step", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "level", TypeSize: 2}}}, }}}, + {Key: StructKey{Name: "union_ib_flow_spec", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "union_ib_flow_spec", TypeSize: 88, ArgDir: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "ib_flow_spec_eth", Dir: 2}, FldName: "eth"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_ipv6", Dir: 2}, FldName: "ipv6"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_ipv4", Dir: 2}, FldName: "ipv4"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_tcp_udp", Dir: 2}, FldName: "tcp_udp"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_tunnel", Dir: 2}, FldName: "tunnel"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_gre", Dir: 2}, FldName: "gre"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_esp", Dir: 2}, FldName: "esp"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_mpls", Dir: 2}, FldName: "mpls"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_action_tag", Dir: 2}, FldName: "tag"}, + &StructType{Key: StructKey{Name: "ib_flow_spec_action_drop", Dir: 2}, FldName: "drop"}, + &StructType{Key: StructKey{Name: "ib_uverbs_flow_spec_action_count", Dir: 2}, FldName: "count"}, + }}}, {Key: StructKey{Name: "unipair"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "unipair", TypeSize: 4}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "unicode", TypeSize: 2}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "fontpos", TypeSize: 2}}}, @@ -24345,6 +25512,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VTI_REMOTE, int16], ipv4_addr]"}, FldName: "IFLA_VTI_REMOTE"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "vti_common_policy", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "vti_common_policy"}}}, }}}, + {Key: StructKey{Name: "wr", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "wr", TypeSize: 32, ArgDir: 2}, Fields: []Type{ + &StructType{Key: StructKey{Name: "rdma", Dir: 2}, FldName: "rdma"}, + &StructType{Key: StructKey{Name: "atomic", Dir: 2}, FldName: "atomic"}, + &StructType{Key: StructKey{Name: "ud", Dir: 2}, FldName: "ud"}, + }}}, {Key: StructKey{Name: "x25_address"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "x25_address", TypeSize: 16}, Fields: []Type{ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "null", TypeSize: 16}, Kind: 2, Values: []string{" \x00"}}, &StructType{Key: StructKey{Name: "x25_address_remote"}, FldName: "remote"}, @@ -24855,6 +26027,9 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "fs_opt[\"logdev\", stringnoz[filename]]"}, FldName: "logdev"}, &StructType{Key: StructKey{Name: "fs_opt[\"rtdev\", stringnoz[filename]]"}, FldName: "rtdev"}, }}}, + {Key: StructKey{Name: "xrc", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xrc", TypeSize: 4, ArgDir: 2}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "remote_srqn", TypeSize: 4, ArgDir: 2}}}, + }}}, {Key: StructKey{Name: "xt_CHECKSUM_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "xt_CHECKSUM_info", TypeSize: 1}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "operation", TypeSize: 1}}, Val: 1}, }}}, @@ -27200,6 +28375,9 @@ var syscalls_ppc64le = []*Syscall{ {NR: 6, Name: "close", CallName: "close", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fd", TypeSize: 4}}, }}, + {NR: 6, Name: "close$ibv_device", CallName: "close", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + }}, {NR: 328, Name: "connect", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_storage"}}}, @@ -29760,6 +30938,16 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 21280}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "cdrom_options", FldName: "arg", TypeSize: 8}}, Vals: []uint64{1, 2, 4, 8, 16}, BitMask: true}, }}, + {NR: 54, Name: "ioctl$CREATE_COUNTERS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222805249}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ib_uverbs_create_counters_cmd", Dir: 2}}}, + }}, + {NR: 54, Name: "ioctl$DESTROY_COUNTERS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222805249}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ib_uverbs_destroy_counters_cmd"}}}, + }}, {NR: 54, Name: "ioctl$DMA_BUF_IOCTL_SYNC", CallName: "ioctl", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_dma_buf", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148033024}, @@ -31500,6 +32688,11 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2148053248}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, }}, + {NR: 54, Name: "ioctl$READ_COUNTERS", CallName: "ioctl", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 3222805249}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ib_uverbs_read_counters_cmd", Dir: 2}}}, + }}, {NR: 54, Name: "ioctl$RFKILL_IOCTL_NOINPUT", CallName: "ioctl", MissingArgs: 1, Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rfkill", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 536891905}, @@ -39544,6 +40737,11 @@ var syscalls_ppc64le = []*Syscall{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}}, &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}, BitMask: true}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_floppy", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_open_dev$ibv_device", CallName: "syz_open_dev", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 24}, Kind: 2, Values: []string{"/dev/infiniband/uverbs0\x00"}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "rdma_dev_open_flags", FldName: "flags", TypeSize: 8}}, Vals: []uint64{2, 524288}, BitMask: true}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_open_dev$ircomm", CallName: "syz_open_dev", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 13}, Kind: 2, Values: []string{"/dev/ircomm#\x00"}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "id", TypeSize: 8}}}, @@ -39827,6 +41025,126 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Buf: "data"}, }}, + {NR: 4, Name: "write$ALLOC_MW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "alloc_mw_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$ALLOC_PD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "alloc_pd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$ATTACH_MCAST", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "attach_mcast_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CLOSE_XRCD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "close_xrcd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_AH", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_ah_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_COMP_CHANNEL", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_comp_channel_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_CQ_EX", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_cq_ex_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_FLOW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_flow_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_RWQ_IND_TBL", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_rwq_ind_table_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$CREATE_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "create_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DEALLOC_MW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "dealloc_mw_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DEALLOC_PD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "dealloc_pd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DEREG_MR", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rereg_mr_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_AH", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_ah_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_FLOW", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_flow_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_RWQ_IND_TBL", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_rwq_ind_table_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DESTROY_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "destroy_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$DETACH_MCAST", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "detach_mcast_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, {NR: 4, Name: "write$FUSE_ATTR", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_fuse", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_out[fuse_attr_out]"}}}, @@ -39937,6 +41255,61 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "fuse_out[fuse_write_out]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "arg"}, }}, + {NR: 4, Name: "write$MLX5_ALLOC_PD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_alloc_pd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_CREATE_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_CREATE_DV_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_dv_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_CREATE_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_CREATE_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_CREATE_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_create_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_GET_CONTEXT", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_get_context_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MLX5_MODIFY_WQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "mlx5_modify_wq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MODIFY_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "modify_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$MODIFY_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "modify_srq_cmd"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$OPEN_XRCD", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "open_xrcd_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, {NR: 4, Name: "write$P9_RATTACH", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "wfd9p", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "p9_msg[P9_RATTACH, p9_qid]"}}}, @@ -40112,6 +41485,46 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "p9_msg[P9_RXATTRWALK, int64]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "size", TypeSize: 8}}, BitSize: 8, Buf: "data"}, }}, + {NR: 4, Name: "write$POLL_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "poll_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$POST_RECV", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_recv_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$POST_SEND", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_send_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$POST_SRQ_RECV", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "post_srq_recv_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$QUERY_DEVICE_EX", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_device_cmd_ex", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$QUERY_PORT", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_port_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$QUERY_QP", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_qp_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$QUERY_SRQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "query_srq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, {NR: 4, Name: "write$RDMA_USER_CM_CMD_ACCEPT", 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: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_ACCEPT, rdma_ucm_accept]"}}}, @@ -40222,6 +41635,26 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "rdma_ucm_cmd_t[RDMA_USER_CM_CMD_SET_OPTION, rdma_ucm_set_option]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Buf: "data"}, }}, + {NR: 4, Name: "write$REG_MR", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "reg_mr_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$REQ_NOTIFY_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "req_notify_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$REREG_MR", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "dereg_mr_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, + {NR: 4, Name: "write$RESIZE_CQ", CallName: "write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_rdma", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "resize_cq_cmd", Dir: 2}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Buf: "buf"}, + }}, {NR: 4, Name: "write$UHID_CREATE", CallName: "write", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_uhid", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "uhid_create_req"}}}, @@ -41611,6 +43044,8 @@ var consts_ppc64le = []ConstValue{ {Name: "EXT4_SYNC_FL", Value: 8}, {Name: "EXT4_TOPDIR_FL", Value: 131072}, {Name: "EXT4_UNRM_FL", Value: 2}, + {Name: "EX_CREATE_CQ_CMD", Value: 2147483666}, + {Name: "EX_CREATE_QP_CMD", Value: 2147483672}, {Name: "FALLOC_FL_COLLAPSE_RANGE", Value: 8}, {Name: "FALLOC_FL_INSERT_RANGE", Value: 32}, {Name: "FALLOC_FL_KEEP_SIZE", Value: 1}, @@ -41988,6 +43423,12 @@ var consts_ppc64le = []ConstValue{ {Name: "I2C_SMBUS_QUICK"}, {Name: "I2C_TENBIT", Value: 1796}, {Name: "I2C_TIMEOUT", Value: 1794}, + {Name: "IB_ACCESS_LOCAL_WRITE", Value: 1}, + {Name: "IB_ACCESS_MW_BIND", Value: 16}, + {Name: "IB_ACCESS_ON_DEMAND", Value: 64}, + {Name: "IB_ACCESS_REMOTE_ATOMIC", Value: 8}, + {Name: "IB_ACCESS_REMOTE_READ", Value: 4}, + {Name: "IB_ACCESS_REMOTE_WRITE", Value: 2}, {Name: "IB_EVENT_CLIENT_REREGISTER", Value: 17}, {Name: "IB_EVENT_COMM_EST", Value: 4}, {Name: "IB_EVENT_CQ_ERR"}, @@ -42008,6 +43449,23 @@ var consts_ppc64le = []ConstValue{ {Name: "IB_EVENT_SRQ_ERR", Value: 14}, {Name: "IB_EVENT_SRQ_LIMIT_REACHED", Value: 15}, {Name: "IB_EVENT_WQ_FATAL", Value: 19}, + {Name: "IB_FLOW_ATTR_FLAGS_DONT_TRAP", Value: 2}, + {Name: "IB_FLOW_SPEC_ACTION_COUNT", Value: 4099}, + {Name: "IB_FLOW_SPEC_ACTION_DROP", Value: 4097}, + {Name: "IB_FLOW_SPEC_ACTION_TAG", Value: 4096}, + {Name: "IB_FLOW_SPEC_ESP", Value: 52}, + {Name: "IB_FLOW_SPEC_ETH", Value: 32}, + {Name: "IB_FLOW_SPEC_GRE", Value: 81}, + {Name: "IB_FLOW_SPEC_IPV4", Value: 48}, + {Name: "IB_FLOW_SPEC_IPV6", Value: 49}, + {Name: "IB_FLOW_SPEC_MPLS", Value: 96}, + {Name: "IB_FLOW_SPEC_VXLAN_TUNNEL", Value: 80}, + {Name: "IB_IPV4_DONT_FRAG", Value: 2}, + {Name: "IB_IPV4_MORE_FRAG", Value: 4}, + {Name: "IB_MR_REREG_ACCESS", Value: 4}, + {Name: "IB_MR_REREG_PD", Value: 2}, + {Name: "IB_MR_REREG_SUPPORTED", Value: 7}, + {Name: "IB_MR_REREG_TRANS", Value: 1}, {Name: "IB_PATH_ALTERNATE", Value: 4}, {Name: "IB_PATH_GMP", Value: 1}, {Name: "IB_PATH_INBOUND", Value: 16}, @@ -42015,20 +43473,53 @@ var consts_ppc64le = []ConstValue{ {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_QP_CREATE_BLOCK_MULTICAST_LOOPBACK", Value: 2}, + {Name: "IB_QP_CREATE_CROSS_CHANNEL", Value: 4}, + {Name: "IB_QP_CREATE_IPOIB_UD_LSO", Value: 1}, + {Name: "IB_QP_CREATE_MANAGED_RECV", Value: 16}, + {Name: "IB_QP_CREATE_MANAGED_SEND", Value: 8}, + {Name: "IB_QP_CREATE_NETIF_QP", Value: 32}, + {Name: "IB_QP_CREATE_SCATTER_FCS", Value: 256}, + {Name: "IB_QP_CREATE_SIGNATURE_EN", Value: 64}, + {Name: "IB_SEND_FENCE", Value: 1}, + {Name: "IB_SEND_INLINE", Value: 8}, + {Name: "IB_SEND_IP_CSUM", Value: 16}, + {Name: "IB_SEND_SIGNALED", Value: 2}, + {Name: "IB_SEND_SOLICITED", Value: 4}, + {Name: "IB_SRQT_BASIC"}, + {Name: "IB_SRQT_TM", Value: 2}, + {Name: "IB_SRQT_XRC", Value: 1}, + {Name: "IB_USER_VERBS_CMD_CREATE_CQ", Value: 18}, + {Name: "IB_USER_VERBS_CMD_CREATE_QP", Value: 24}, + {Name: "IB_USER_VERBS_CMD_FLAGS_SHIFT", Value: 24}, + {Name: "IB_USER_VERBS_CMD_FLAG_EXTENDED", Value: 2147483648}, + {Name: "IB_USER_VERBS_CMD_THRESHOLD", Value: 50}, + {Name: "IB_USER_VERBS_EX_CMD_CREATE_FLOW", Value: 2147483698}, + {Name: "IB_USER_VERBS_EX_CMD_DESTROY_FLOW", Value: 2147483699}, + {Name: "IB_USER_VERBS_EX_CMD_QUERY_DEVICE", Value: 2147483649}, {Name: "IB_UVERBS_AH_ATTR_SIZE", Value: 32}, + {Name: "IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN", Value: 2}, + {Name: "IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION", Value: 1}, {Name: "IB_UVERBS_QP_ATTR_SIZE", Value: 144}, + {Name: "IB_UVERBS_READ_COUNTERS_PREFER_CACHED", Value: 1}, + {Name: "IB_WQT_RQ"}, + {Name: "IB_WQ_CUR_STATE", Value: 2}, + {Name: "IB_WQ_FLAGS", Value: 4}, + {Name: "IB_WQ_FLAGS_CVLAN_STRIPPING", Value: 1}, + {Name: "IB_WQ_FLAGS_DELAY_DROP", Value: 4}, + {Name: "IB_WQ_FLAGS_PCI_WRITE_END_PADDING", Value: 8}, + {Name: "IB_WQ_FLAGS_SCATTER_FCS", Value: 2}, + {Name: "IB_WQ_STATE", Value: 1}, + {Name: "IB_ZERO_BASED", Value: 32}, {Name: "ICMPV6_ADDR_UNREACH", Value: 3}, {Name: "ICMPV6_ADM_PROHIBITED", Value: 1}, {Name: "ICMPV6_DEST_UNREACH", Value: 1}, @@ -43359,6 +44850,15 @@ var consts_ppc64le = []ConstValue{ {Name: "MISDN_MAX_IDLEN", Value: 20}, {Name: "MISDN_TIME_STAMP", Value: 1}, {Name: "MLOCK_ONFAULT", Value: 1}, + {Name: "MLX5_CREATE_DCI", Value: 22}, + {Name: "MLX5_CREATE_DCT", Value: 8}, + {Name: "MLX5_IB_CQE_RES_FORMAT_CSUM", Value: 2}, + {Name: "MLX5_IB_CQE_RES_FORMAT_HASH", Value: 1}, + {Name: "MLX5_QP_FLAG_BFREG_INDEX", Value: 8}, + {Name: "MLX5_QP_FLAG_SCATTER_CQE", Value: 2}, + {Name: "MLX5_QP_FLAG_SIGNATURE", Value: 1}, + {Name: "MLX5_QP_FLAG_TUNNEL_OFFLOADS", Value: 4}, + {Name: "MLX5_SRQ_FLAG_SIGNATURE", Value: 1}, {Name: "MMAP_PAGE_ZERO", Value: 1048576}, {Name: "MNT_DETACH", Value: 2}, {Name: "MNT_EXPIRE", Value: 4}, @@ -44221,6 +45721,7 @@ var consts_ppc64le = []ConstValue{ {Name: "P_PGID", Value: 2}, {Name: "P_PID", Value: 1}, {Name: "QMAGIC", Value: 204}, + {Name: "RDMA_DRIVER_MLX5", Value: 1}, {Name: "RDMA_MAX_PRIVATE_DATA", Value: 256}, {Name: "RDMA_MC_JOIN_FLAG_FULLMEMBER"}, {Name: "RDMA_MC_JOIN_FLAG_SENDONLY_FULLMEMBER", Value: 1}, @@ -44260,6 +45761,7 @@ var consts_ppc64le = []ConstValue{ {Name: "RDMA_USER_CM_QUERY_ADDR"}, {Name: "RDMA_USER_CM_QUERY_GID", Value: 2}, {Name: "RDMA_USER_CM_QUERY_PATH", Value: 1}, + {Name: "RDMA_VERBS_IOCTL", Value: 3222805249}, {Name: "RDS_CANCEL_SENT_TO", Value: 1}, {Name: "RDS_CMSG_ATOMIC_CSWP", Value: 7}, {Name: "RDS_CMSG_ATOMIC_FADD", Value: 6}, @@ -46003,6 +47505,16 @@ var consts_ppc64le = []ConstValue{ {Name: "USERIO_CMD_SET_PORT_TYPE", Value: 1}, {Name: "USER_CLIENT", Value: 1}, {Name: "UUID_SIZE", Value: 16}, + {Name: "UVERBS_ATTR_CREATE_COUNTERS_HANDLE"}, + {Name: "UVERBS_ATTR_DESTROY_COUNTERS_HANDLE"}, + {Name: "UVERBS_ATTR_F_MANDATORY", Value: 1}, + {Name: "UVERBS_ATTR_READ_COUNTERS_BUFF", Value: 1}, + {Name: "UVERBS_ATTR_READ_COUNTERS_FLAGS", Value: 2}, + {Name: "UVERBS_ATTR_READ_COUNTERS_HANDLE"}, + {Name: "UVERBS_METHOD_COUNTERS_CREATE"}, + {Name: "UVERBS_METHOD_COUNTERS_DESTROY", Value: 1}, + {Name: "UVERBS_METHOD_COUNTERS_READ", Value: 2}, + {Name: "UVERBS_OBJECT_COUNTERS", Value: 15}, {Name: "V4L2_AUDCAP_AVL", Value: 2}, {Name: "V4L2_AUDCAP_STEREO", Value: 1}, {Name: "V4L2_AUDMODE_AVL", Value: 1}, @@ -47638,4 +49150,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "c17071d00bd35841a128c3b4a807f02c4d0aebf1" +const revision_ppc64le = "3a82f74533ed5185ce73209a8c128a9c0ece3128" diff --git a/sys/linux/rdma_386.const b/sys/linux/rdma_386.const new file mode 100644 index 000000000..75ebb6252 --- /dev/null +++ b/sys/linux/rdma_386.const @@ -0,0 +1,98 @@ +# AUTOGENERATED FILE +EX_CREATE_CQ_CMD = 2147483666 +EX_CREATE_QP_CMD = 2147483672 +IB_ACCESS_LOCAL_WRITE = 1 +IB_ACCESS_MW_BIND = 16 +IB_ACCESS_ON_DEMAND = 64 +IB_ACCESS_REMOTE_ATOMIC = 8 +IB_ACCESS_REMOTE_READ = 4 +IB_ACCESS_REMOTE_WRITE = 2 +IB_FLOW_ATTR_FLAGS_DONT_TRAP = 2 +IB_FLOW_SPEC_ACTION_COUNT = 4099 +IB_FLOW_SPEC_ACTION_DROP = 4097 +IB_FLOW_SPEC_ACTION_TAG = 4096 +IB_FLOW_SPEC_ESP = 52 +IB_FLOW_SPEC_ETH = 32 +IB_FLOW_SPEC_GRE = 81 +IB_FLOW_SPEC_IPV4 = 48 +IB_FLOW_SPEC_IPV6 = 49 +IB_FLOW_SPEC_MPLS = 96 +IB_FLOW_SPEC_VXLAN_TUNNEL = 80 +IB_IPV4_DONT_FRAG = 2 +IB_IPV4_MORE_FRAG = 4 +IB_MR_REREG_ACCESS = 4 +IB_MR_REREG_PD = 2 +IB_MR_REREG_SUPPORTED = 7 +IB_MR_REREG_TRANS = 1 +IB_QPT_GSI = 1 +IB_QPT_RAW_ETHERTYPE = 6 +IB_QPT_RAW_IPV6 = 5 +IB_QPT_RAW_PACKET = 8 +IB_QPT_RC = 2 +IB_QPT_SMI = 0 +IB_QPT_UC = 3 +IB_QPT_UD = 4 +IB_QPT_XRC_INI = 9 +IB_QPT_XRC_TGT = 10 +IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK = 2 +IB_QP_CREATE_CROSS_CHANNEL = 4 +IB_QP_CREATE_IPOIB_UD_LSO = 1 +IB_QP_CREATE_MANAGED_RECV = 16 +IB_QP_CREATE_MANAGED_SEND = 8 +IB_QP_CREATE_NETIF_QP = 32 +IB_QP_CREATE_SCATTER_FCS = 256 +IB_QP_CREATE_SIGNATURE_EN = 64 +IB_SEND_FENCE = 1 +IB_SEND_INLINE = 8 +IB_SEND_IP_CSUM = 16 +IB_SEND_SIGNALED = 2 +IB_SEND_SOLICITED = 4 +IB_SRQT_BASIC = 0 +IB_SRQT_TM = 2 +IB_SRQT_XRC = 1 +IB_USER_VERBS_CMD_CREATE_CQ = 18 +IB_USER_VERBS_CMD_CREATE_QP = 24 +IB_USER_VERBS_CMD_FLAGS_SHIFT = 24 +IB_USER_VERBS_CMD_FLAG_EXTENDED = 2147483648 +IB_USER_VERBS_CMD_THRESHOLD = 50 +IB_USER_VERBS_EX_CMD_CREATE_FLOW = 2147483698 +IB_USER_VERBS_EX_CMD_DESTROY_FLOW = 2147483699 +IB_USER_VERBS_EX_CMD_QUERY_DEVICE = 2147483649 +IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN = 2 +IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 +IB_UVERBS_READ_COUNTERS_PREFER_CACHED = 1 +IB_WQT_RQ = 0 +IB_WQ_CUR_STATE = 2 +IB_WQ_FLAGS = 4 +IB_WQ_FLAGS_CVLAN_STRIPPING = 1 +IB_WQ_FLAGS_DELAY_DROP = 4 +IB_WQ_FLAGS_PCI_WRITE_END_PADDING = 8 +IB_WQ_FLAGS_SCATTER_FCS = 2 +IB_WQ_STATE = 1 +IB_ZERO_BASED = 32 +MLX5_CREATE_DCI = 22 +MLX5_CREATE_DCT = 8 +MLX5_IB_CQE_RES_FORMAT_CSUM = 2 +MLX5_IB_CQE_RES_FORMAT_HASH = 1 +MLX5_QP_FLAG_BFREG_INDEX = 8 +MLX5_QP_FLAG_SCATTER_CQE = 2 +MLX5_QP_FLAG_SIGNATURE = 1 +MLX5_QP_FLAG_TUNNEL_OFFLOADS = 4 +MLX5_SRQ_FLAG_SIGNATURE = 1 +O_CLOEXEC = 524288 +O_RDWR = 2 +RDMA_DRIVER_MLX5 = 1 +RDMA_VERBS_IOCTL = 3222805249 +UVERBS_ATTR_CREATE_COUNTERS_HANDLE = 0 +UVERBS_ATTR_DESTROY_COUNTERS_HANDLE = 0 +UVERBS_ATTR_F_MANDATORY = 1 +UVERBS_ATTR_READ_COUNTERS_BUFF = 1 +UVERBS_ATTR_READ_COUNTERS_FLAGS = 2 +UVERBS_ATTR_READ_COUNTERS_HANDLE = 0 +UVERBS_METHOD_COUNTERS_CREATE = 0 +UVERBS_METHOD_COUNTERS_DESTROY = 1 +UVERBS_METHOD_COUNTERS_READ = 2 +UVERBS_OBJECT_COUNTERS = 15 +__NR_close = 6 +__NR_ioctl = 54 +__NR_write = 4 diff --git a/sys/linux/rdma_amd64.const b/sys/linux/rdma_amd64.const new file mode 100644 index 000000000..3fb8d2174 --- /dev/null +++ b/sys/linux/rdma_amd64.const @@ -0,0 +1,98 @@ +# AUTOGENERATED FILE +EX_CREATE_CQ_CMD = 2147483666 +EX_CREATE_QP_CMD = 2147483672 +IB_ACCESS_LOCAL_WRITE = 1 +IB_ACCESS_MW_BIND = 16 +IB_ACCESS_ON_DEMAND = 64 +IB_ACCESS_REMOTE_ATOMIC = 8 +IB_ACCESS_REMOTE_READ = 4 +IB_ACCESS_REMOTE_WRITE = 2 +IB_FLOW_ATTR_FLAGS_DONT_TRAP = 2 +IB_FLOW_SPEC_ACTION_COUNT = 4099 +IB_FLOW_SPEC_ACTION_DROP = 4097 +IB_FLOW_SPEC_ACTION_TAG = 4096 +IB_FLOW_SPEC_ESP = 52 +IB_FLOW_SPEC_ETH = 32 +IB_FLOW_SPEC_GRE = 81 +IB_FLOW_SPEC_IPV4 = 48 +IB_FLOW_SPEC_IPV6 = 49 +IB_FLOW_SPEC_MPLS = 96 +IB_FLOW_SPEC_VXLAN_TUNNEL = 80 +IB_IPV4_DONT_FRAG = 2 +IB_IPV4_MORE_FRAG = 4 +IB_MR_REREG_ACCESS = 4 +IB_MR_REREG_PD = 2 +IB_MR_REREG_SUPPORTED = 7 +IB_MR_REREG_TRANS = 1 +IB_QPT_GSI = 1 +IB_QPT_RAW_ETHERTYPE = 6 +IB_QPT_RAW_IPV6 = 5 +IB_QPT_RAW_PACKET = 8 +IB_QPT_RC = 2 +IB_QPT_SMI = 0 +IB_QPT_UC = 3 +IB_QPT_UD = 4 +IB_QPT_XRC_INI = 9 +IB_QPT_XRC_TGT = 10 +IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK = 2 +IB_QP_CREATE_CROSS_CHANNEL = 4 +IB_QP_CREATE_IPOIB_UD_LSO = 1 +IB_QP_CREATE_MANAGED_RECV = 16 +IB_QP_CREATE_MANAGED_SEND = 8 +IB_QP_CREATE_NETIF_QP = 32 +IB_QP_CREATE_SCATTER_FCS = 256 +IB_QP_CREATE_SIGNATURE_EN = 64 +IB_SEND_FENCE = 1 +IB_SEND_INLINE = 8 +IB_SEND_IP_CSUM = 16 +IB_SEND_SIGNALED = 2 +IB_SEND_SOLICITED = 4 +IB_SRQT_BASIC = 0 +IB_SRQT_TM = 2 +IB_SRQT_XRC = 1 +IB_USER_VERBS_CMD_CREATE_CQ = 18 +IB_USER_VERBS_CMD_CREATE_QP = 24 +IB_USER_VERBS_CMD_FLAGS_SHIFT = 24 +IB_USER_VERBS_CMD_FLAG_EXTENDED = 2147483648 +IB_USER_VERBS_CMD_THRESHOLD = 50 +IB_USER_VERBS_EX_CMD_CREATE_FLOW = 2147483698 +IB_USER_VERBS_EX_CMD_DESTROY_FLOW = 2147483699 +IB_USER_VERBS_EX_CMD_QUERY_DEVICE = 2147483649 +IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN = 2 +IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 +IB_UVERBS_READ_COUNTERS_PREFER_CACHED = 1 +IB_WQT_RQ = 0 +IB_WQ_CUR_STATE = 2 +IB_WQ_FLAGS = 4 +IB_WQ_FLAGS_CVLAN_STRIPPING = 1 +IB_WQ_FLAGS_DELAY_DROP = 4 +IB_WQ_FLAGS_PCI_WRITE_END_PADDING = 8 +IB_WQ_FLAGS_SCATTER_FCS = 2 +IB_WQ_STATE = 1 +IB_ZERO_BASED = 32 +MLX5_CREATE_DCI = 22 +MLX5_CREATE_DCT = 8 +MLX5_IB_CQE_RES_FORMAT_CSUM = 2 +MLX5_IB_CQE_RES_FORMAT_HASH = 1 +MLX5_QP_FLAG_BFREG_INDEX = 8 +MLX5_QP_FLAG_SCATTER_CQE = 2 +MLX5_QP_FLAG_SIGNATURE = 1 +MLX5_QP_FLAG_TUNNEL_OFFLOADS = 4 +MLX5_SRQ_FLAG_SIGNATURE = 1 +O_CLOEXEC = 524288 +O_RDWR = 2 +RDMA_DRIVER_MLX5 = 1 +RDMA_VERBS_IOCTL = 3222805249 +UVERBS_ATTR_CREATE_COUNTERS_HANDLE = 0 +UVERBS_ATTR_DESTROY_COUNTERS_HANDLE = 0 +UVERBS_ATTR_F_MANDATORY = 1 +UVERBS_ATTR_READ_COUNTERS_BUFF = 1 +UVERBS_ATTR_READ_COUNTERS_FLAGS = 2 +UVERBS_ATTR_READ_COUNTERS_HANDLE = 0 +UVERBS_METHOD_COUNTERS_CREATE = 0 +UVERBS_METHOD_COUNTERS_DESTROY = 1 +UVERBS_METHOD_COUNTERS_READ = 2 +UVERBS_OBJECT_COUNTERS = 15 +__NR_close = 3 +__NR_ioctl = 16 +__NR_write = 1 diff --git a/sys/linux/rdma_arm.const b/sys/linux/rdma_arm.const new file mode 100644 index 000000000..75ebb6252 --- /dev/null +++ b/sys/linux/rdma_arm.const @@ -0,0 +1,98 @@ +# AUTOGENERATED FILE +EX_CREATE_CQ_CMD = 2147483666 +EX_CREATE_QP_CMD = 2147483672 +IB_ACCESS_LOCAL_WRITE = 1 +IB_ACCESS_MW_BIND = 16 +IB_ACCESS_ON_DEMAND = 64 +IB_ACCESS_REMOTE_ATOMIC = 8 +IB_ACCESS_REMOTE_READ = 4 +IB_ACCESS_REMOTE_WRITE = 2 +IB_FLOW_ATTR_FLAGS_DONT_TRAP = 2 +IB_FLOW_SPEC_ACTION_COUNT = 4099 +IB_FLOW_SPEC_ACTION_DROP = 4097 +IB_FLOW_SPEC_ACTION_TAG = 4096 +IB_FLOW_SPEC_ESP = 52 +IB_FLOW_SPEC_ETH = 32 +IB_FLOW_SPEC_GRE = 81 +IB_FLOW_SPEC_IPV4 = 48 +IB_FLOW_SPEC_IPV6 = 49 +IB_FLOW_SPEC_MPLS = 96 +IB_FLOW_SPEC_VXLAN_TUNNEL = 80 +IB_IPV4_DONT_FRAG = 2 +IB_IPV4_MORE_FRAG = 4 +IB_MR_REREG_ACCESS = 4 +IB_MR_REREG_PD = 2 +IB_MR_REREG_SUPPORTED = 7 +IB_MR_REREG_TRANS = 1 +IB_QPT_GSI = 1 +IB_QPT_RAW_ETHERTYPE = 6 +IB_QPT_RAW_IPV6 = 5 +IB_QPT_RAW_PACKET = 8 +IB_QPT_RC = 2 +IB_QPT_SMI = 0 +IB_QPT_UC = 3 +IB_QPT_UD = 4 +IB_QPT_XRC_INI = 9 +IB_QPT_XRC_TGT = 10 +IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK = 2 +IB_QP_CREATE_CROSS_CHANNEL = 4 +IB_QP_CREATE_IPOIB_UD_LSO = 1 +IB_QP_CREATE_MANAGED_RECV = 16 +IB_QP_CREATE_MANAGED_SEND = 8 +IB_QP_CREATE_NETIF_QP = 32 +IB_QP_CREATE_SCATTER_FCS = 256 +IB_QP_CREATE_SIGNATURE_EN = 64 +IB_SEND_FENCE = 1 +IB_SEND_INLINE = 8 +IB_SEND_IP_CSUM = 16 +IB_SEND_SIGNALED = 2 +IB_SEND_SOLICITED = 4 +IB_SRQT_BASIC = 0 +IB_SRQT_TM = 2 +IB_SRQT_XRC = 1 +IB_USER_VERBS_CMD_CREATE_CQ = 18 +IB_USER_VERBS_CMD_CREATE_QP = 24 +IB_USER_VERBS_CMD_FLAGS_SHIFT = 24 +IB_USER_VERBS_CMD_FLAG_EXTENDED = 2147483648 +IB_USER_VERBS_CMD_THRESHOLD = 50 +IB_USER_VERBS_EX_CMD_CREATE_FLOW = 2147483698 +IB_USER_VERBS_EX_CMD_DESTROY_FLOW = 2147483699 +IB_USER_VERBS_EX_CMD_QUERY_DEVICE = 2147483649 +IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN = 2 +IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 +IB_UVERBS_READ_COUNTERS_PREFER_CACHED = 1 +IB_WQT_RQ = 0 +IB_WQ_CUR_STATE = 2 +IB_WQ_FLAGS = 4 +IB_WQ_FLAGS_CVLAN_STRIPPING = 1 +IB_WQ_FLAGS_DELAY_DROP = 4 +IB_WQ_FLAGS_PCI_WRITE_END_PADDING = 8 +IB_WQ_FLAGS_SCATTER_FCS = 2 +IB_WQ_STATE = 1 +IB_ZERO_BASED = 32 +MLX5_CREATE_DCI = 22 +MLX5_CREATE_DCT = 8 +MLX5_IB_CQE_RES_FORMAT_CSUM = 2 +MLX5_IB_CQE_RES_FORMAT_HASH = 1 +MLX5_QP_FLAG_BFREG_INDEX = 8 +MLX5_QP_FLAG_SCATTER_CQE = 2 +MLX5_QP_FLAG_SIGNATURE = 1 +MLX5_QP_FLAG_TUNNEL_OFFLOADS = 4 +MLX5_SRQ_FLAG_SIGNATURE = 1 +O_CLOEXEC = 524288 +O_RDWR = 2 +RDMA_DRIVER_MLX5 = 1 +RDMA_VERBS_IOCTL = 3222805249 +UVERBS_ATTR_CREATE_COUNTERS_HANDLE = 0 +UVERBS_ATTR_DESTROY_COUNTERS_HANDLE = 0 +UVERBS_ATTR_F_MANDATORY = 1 +UVERBS_ATTR_READ_COUNTERS_BUFF = 1 +UVERBS_ATTR_READ_COUNTERS_FLAGS = 2 +UVERBS_ATTR_READ_COUNTERS_HANDLE = 0 +UVERBS_METHOD_COUNTERS_CREATE = 0 +UVERBS_METHOD_COUNTERS_DESTROY = 1 +UVERBS_METHOD_COUNTERS_READ = 2 +UVERBS_OBJECT_COUNTERS = 15 +__NR_close = 6 +__NR_ioctl = 54 +__NR_write = 4 diff --git a/sys/linux/rdma_arm64.const b/sys/linux/rdma_arm64.const new file mode 100644 index 000000000..b764f7275 --- /dev/null +++ b/sys/linux/rdma_arm64.const @@ -0,0 +1,98 @@ +# AUTOGENERATED FILE +EX_CREATE_CQ_CMD = 2147483666 +EX_CREATE_QP_CMD = 2147483672 +IB_ACCESS_LOCAL_WRITE = 1 +IB_ACCESS_MW_BIND = 16 +IB_ACCESS_ON_DEMAND = 64 +IB_ACCESS_REMOTE_ATOMIC = 8 +IB_ACCESS_REMOTE_READ = 4 +IB_ACCESS_REMOTE_WRITE = 2 +IB_FLOW_ATTR_FLAGS_DONT_TRAP = 2 +IB_FLOW_SPEC_ACTION_COUNT = 4099 +IB_FLOW_SPEC_ACTION_DROP = 4097 +IB_FLOW_SPEC_ACTION_TAG = 4096 +IB_FLOW_SPEC_ESP = 52 +IB_FLOW_SPEC_ETH = 32 +IB_FLOW_SPEC_GRE = 81 +IB_FLOW_SPEC_IPV4 = 48 +IB_FLOW_SPEC_IPV6 = 49 +IB_FLOW_SPEC_MPLS = 96 +IB_FLOW_SPEC_VXLAN_TUNNEL = 80 +IB_IPV4_DONT_FRAG = 2 +IB_IPV4_MORE_FRAG = 4 +IB_MR_REREG_ACCESS = 4 +IB_MR_REREG_PD = 2 +IB_MR_REREG_SUPPORTED = 7 +IB_MR_REREG_TRANS = 1 +IB_QPT_GSI = 1 +IB_QPT_RAW_ETHERTYPE = 6 +IB_QPT_RAW_IPV6 = 5 +IB_QPT_RAW_PACKET = 8 +IB_QPT_RC = 2 +IB_QPT_SMI = 0 +IB_QPT_UC = 3 +IB_QPT_UD = 4 +IB_QPT_XRC_INI = 9 +IB_QPT_XRC_TGT = 10 +IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK = 2 +IB_QP_CREATE_CROSS_CHANNEL = 4 +IB_QP_CREATE_IPOIB_UD_LSO = 1 +IB_QP_CREATE_MANAGED_RECV = 16 +IB_QP_CREATE_MANAGED_SEND = 8 +IB_QP_CREATE_NETIF_QP = 32 +IB_QP_CREATE_SCATTER_FCS = 256 +IB_QP_CREATE_SIGNATURE_EN = 64 +IB_SEND_FENCE = 1 +IB_SEND_INLINE = 8 +IB_SEND_IP_CSUM = 16 +IB_SEND_SIGNALED = 2 +IB_SEND_SOLICITED = 4 +IB_SRQT_BASIC = 0 +IB_SRQT_TM = 2 +IB_SRQT_XRC = 1 +IB_USER_VERBS_CMD_CREATE_CQ = 18 +IB_USER_VERBS_CMD_CREATE_QP = 24 +IB_USER_VERBS_CMD_FLAGS_SHIFT = 24 +IB_USER_VERBS_CMD_FLAG_EXTENDED = 2147483648 +IB_USER_VERBS_CMD_THRESHOLD = 50 +IB_USER_VERBS_EX_CMD_CREATE_FLOW = 2147483698 +IB_USER_VERBS_EX_CMD_DESTROY_FLOW = 2147483699 +IB_USER_VERBS_EX_CMD_QUERY_DEVICE = 2147483649 +IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN = 2 +IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 +IB_UVERBS_READ_COUNTERS_PREFER_CACHED = 1 +IB_WQT_RQ = 0 +IB_WQ_CUR_STATE = 2 +IB_WQ_FLAGS = 4 +IB_WQ_FLAGS_CVLAN_STRIPPING = 1 +IB_WQ_FLAGS_DELAY_DROP = 4 +IB_WQ_FLAGS_PCI_WRITE_END_PADDING = 8 +IB_WQ_FLAGS_SCATTER_FCS = 2 +IB_WQ_STATE = 1 +IB_ZERO_BASED = 32 +MLX5_CREATE_DCI = 22 +MLX5_CREATE_DCT = 8 +MLX5_IB_CQE_RES_FORMAT_CSUM = 2 +MLX5_IB_CQE_RES_FORMAT_HASH = 1 +MLX5_QP_FLAG_BFREG_INDEX = 8 +MLX5_QP_FLAG_SCATTER_CQE = 2 +MLX5_QP_FLAG_SIGNATURE = 1 +MLX5_QP_FLAG_TUNNEL_OFFLOADS = 4 +MLX5_SRQ_FLAG_SIGNATURE = 1 +O_CLOEXEC = 524288 +O_RDWR = 2 +RDMA_DRIVER_MLX5 = 1 +RDMA_VERBS_IOCTL = 3222805249 +UVERBS_ATTR_CREATE_COUNTERS_HANDLE = 0 +UVERBS_ATTR_DESTROY_COUNTERS_HANDLE = 0 +UVERBS_ATTR_F_MANDATORY = 1 +UVERBS_ATTR_READ_COUNTERS_BUFF = 1 +UVERBS_ATTR_READ_COUNTERS_FLAGS = 2 +UVERBS_ATTR_READ_COUNTERS_HANDLE = 0 +UVERBS_METHOD_COUNTERS_CREATE = 0 +UVERBS_METHOD_COUNTERS_DESTROY = 1 +UVERBS_METHOD_COUNTERS_READ = 2 +UVERBS_OBJECT_COUNTERS = 15 +__NR_close = 57 +__NR_ioctl = 29 +__NR_write = 64 diff --git a/sys/linux/rdma_ppc64le.const b/sys/linux/rdma_ppc64le.const new file mode 100644 index 000000000..75ebb6252 --- /dev/null +++ b/sys/linux/rdma_ppc64le.const @@ -0,0 +1,98 @@ +# AUTOGENERATED FILE +EX_CREATE_CQ_CMD = 2147483666 +EX_CREATE_QP_CMD = 2147483672 +IB_ACCESS_LOCAL_WRITE = 1 +IB_ACCESS_MW_BIND = 16 +IB_ACCESS_ON_DEMAND = 64 +IB_ACCESS_REMOTE_ATOMIC = 8 +IB_ACCESS_REMOTE_READ = 4 +IB_ACCESS_REMOTE_WRITE = 2 +IB_FLOW_ATTR_FLAGS_DONT_TRAP = 2 +IB_FLOW_SPEC_ACTION_COUNT = 4099 +IB_FLOW_SPEC_ACTION_DROP = 4097 +IB_FLOW_SPEC_ACTION_TAG = 4096 +IB_FLOW_SPEC_ESP = 52 +IB_FLOW_SPEC_ETH = 32 +IB_FLOW_SPEC_GRE = 81 +IB_FLOW_SPEC_IPV4 = 48 +IB_FLOW_SPEC_IPV6 = 49 +IB_FLOW_SPEC_MPLS = 96 +IB_FLOW_SPEC_VXLAN_TUNNEL = 80 +IB_IPV4_DONT_FRAG = 2 +IB_IPV4_MORE_FRAG = 4 +IB_MR_REREG_ACCESS = 4 +IB_MR_REREG_PD = 2 +IB_MR_REREG_SUPPORTED = 7 +IB_MR_REREG_TRANS = 1 +IB_QPT_GSI = 1 +IB_QPT_RAW_ETHERTYPE = 6 +IB_QPT_RAW_IPV6 = 5 +IB_QPT_RAW_PACKET = 8 +IB_QPT_RC = 2 +IB_QPT_SMI = 0 +IB_QPT_UC = 3 +IB_QPT_UD = 4 +IB_QPT_XRC_INI = 9 +IB_QPT_XRC_TGT = 10 +IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK = 2 +IB_QP_CREATE_CROSS_CHANNEL = 4 +IB_QP_CREATE_IPOIB_UD_LSO = 1 +IB_QP_CREATE_MANAGED_RECV = 16 +IB_QP_CREATE_MANAGED_SEND = 8 +IB_QP_CREATE_NETIF_QP = 32 +IB_QP_CREATE_SCATTER_FCS = 256 +IB_QP_CREATE_SIGNATURE_EN = 64 +IB_SEND_FENCE = 1 +IB_SEND_INLINE = 8 +IB_SEND_IP_CSUM = 16 +IB_SEND_SIGNALED = 2 +IB_SEND_SOLICITED = 4 +IB_SRQT_BASIC = 0 +IB_SRQT_TM = 2 +IB_SRQT_XRC = 1 +IB_USER_VERBS_CMD_CREATE_CQ = 18 +IB_USER_VERBS_CMD_CREATE_QP = 24 +IB_USER_VERBS_CMD_FLAGS_SHIFT = 24 +IB_USER_VERBS_CMD_FLAG_EXTENDED = 2147483648 +IB_USER_VERBS_CMD_THRESHOLD = 50 +IB_USER_VERBS_EX_CMD_CREATE_FLOW = 2147483698 +IB_USER_VERBS_EX_CMD_DESTROY_FLOW = 2147483699 +IB_USER_VERBS_EX_CMD_QUERY_DEVICE = 2147483649 +IB_UVERBS_CQ_FLAGS_IGNORE_OVERRUN = 2 +IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 +IB_UVERBS_READ_COUNTERS_PREFER_CACHED = 1 +IB_WQT_RQ = 0 +IB_WQ_CUR_STATE = 2 +IB_WQ_FLAGS = 4 +IB_WQ_FLAGS_CVLAN_STRIPPING = 1 +IB_WQ_FLAGS_DELAY_DROP = 4 +IB_WQ_FLAGS_PCI_WRITE_END_PADDING = 8 +IB_WQ_FLAGS_SCATTER_FCS = 2 +IB_WQ_STATE = 1 +IB_ZERO_BASED = 32 +MLX5_CREATE_DCI = 22 +MLX5_CREATE_DCT = 8 +MLX5_IB_CQE_RES_FORMAT_CSUM = 2 +MLX5_IB_CQE_RES_FORMAT_HASH = 1 +MLX5_QP_FLAG_BFREG_INDEX = 8 +MLX5_QP_FLAG_SCATTER_CQE = 2 +MLX5_QP_FLAG_SIGNATURE = 1 +MLX5_QP_FLAG_TUNNEL_OFFLOADS = 4 +MLX5_SRQ_FLAG_SIGNATURE = 1 +O_CLOEXEC = 524288 +O_RDWR = 2 +RDMA_DRIVER_MLX5 = 1 +RDMA_VERBS_IOCTL = 3222805249 +UVERBS_ATTR_CREATE_COUNTERS_HANDLE = 0 +UVERBS_ATTR_DESTROY_COUNTERS_HANDLE = 0 +UVERBS_ATTR_F_MANDATORY = 1 +UVERBS_ATTR_READ_COUNTERS_BUFF = 1 +UVERBS_ATTR_READ_COUNTERS_FLAGS = 2 +UVERBS_ATTR_READ_COUNTERS_HANDLE = 0 +UVERBS_METHOD_COUNTERS_CREATE = 0 +UVERBS_METHOD_COUNTERS_DESTROY = 1 +UVERBS_METHOD_COUNTERS_READ = 2 +UVERBS_OBJECT_COUNTERS = 15 +__NR_close = 6 +__NR_ioctl = 54 +__NR_write = 4 -- cgit mrf-deployment