Lines Matching defs:device_attr

67 static void copy_query_dev_fields(struct ibv_device_attr *device_attr,
72 device_attr->node_guid = resp->node_guid;
73 device_attr->sys_image_guid = resp->sys_image_guid;
74 device_attr->max_mr_size = resp->max_mr_size;
75 device_attr->page_size_cap = resp->page_size_cap;
76 device_attr->vendor_id = resp->vendor_id;
77 device_attr->vendor_part_id = resp->vendor_part_id;
78 device_attr->hw_ver = resp->hw_ver;
79 device_attr->max_qp = resp->max_qp;
80 device_attr->max_qp_wr = resp->max_qp_wr;
81 device_attr->device_cap_flags = resp->device_cap_flags;
82 device_attr->max_sge = resp->max_sge;
83 device_attr->max_sge_rd = resp->max_sge_rd;
84 device_attr->max_cq = resp->max_cq;
85 device_attr->max_cqe = resp->max_cqe;
86 device_attr->max_mr = resp->max_mr;
87 device_attr->max_pd = resp->max_pd;
88 device_attr->max_qp_rd_atom = resp->max_qp_rd_atom;
89 device_attr->max_ee_rd_atom = resp->max_ee_rd_atom;
90 device_attr->max_res_rd_atom = resp->max_res_rd_atom;
91 device_attr->max_qp_init_rd_atom = resp->max_qp_init_rd_atom;
92 device_attr->max_ee_init_rd_atom = resp->max_ee_init_rd_atom;
93 device_attr->atomic_cap = resp->atomic_cap;
94 device_attr->max_ee = resp->max_ee;
95 device_attr->max_rdd = resp->max_rdd;
96 device_attr->max_mw = resp->max_mw;
97 device_attr->max_raw_ipv6_qp = resp->max_raw_ipv6_qp;
98 device_attr->max_raw_ethy_qp = resp->max_raw_ethy_qp;
99 device_attr->max_mcast_grp = resp->max_mcast_grp;
100 device_attr->max_mcast_qp_attach = resp->max_mcast_qp_attach;
101 device_attr->max_total_mcast_qp_attach = resp->max_total_mcast_qp_attach;
102 device_attr->max_ah = resp->max_ah;
103 device_attr->max_fmr = resp->max_fmr;
104 device_attr->max_map_per_fmr = resp->max_map_per_fmr;
105 device_attr->max_srq = resp->max_srq;
106 device_attr->max_srq_wr = resp->max_srq_wr;
107 device_attr->max_srq_sge = resp->max_srq_sge;
108 device_attr->max_pkeys = resp->max_pkeys;
109 device_attr->local_ca_ack_delay = resp->local_ca_ack_delay;
110 device_attr->phys_port_cnt = resp->phys_port_cnt;
114 struct ibv_device_attr *device_attr,
127 memset(device_attr->fw_ver, 0, sizeof device_attr->fw_ver);
128 copy_query_dev_fields(device_attr, &resp, raw_fw_ver);