Lines Matching refs:attr
399 struct ib_device_attr *attr) in copy_query_dev_fields() argument
401 resp->fw_ver = attr->fw_ver; in copy_query_dev_fields()
403 resp->sys_image_guid = attr->sys_image_guid; in copy_query_dev_fields()
404 resp->max_mr_size = attr->max_mr_size; in copy_query_dev_fields()
405 resp->page_size_cap = attr->page_size_cap; in copy_query_dev_fields()
406 resp->vendor_id = attr->vendor_id; in copy_query_dev_fields()
407 resp->vendor_part_id = attr->vendor_part_id; in copy_query_dev_fields()
408 resp->hw_ver = attr->hw_ver; in copy_query_dev_fields()
409 resp->max_qp = attr->max_qp; in copy_query_dev_fields()
410 resp->max_qp_wr = attr->max_qp_wr; in copy_query_dev_fields()
411 resp->device_cap_flags = attr->device_cap_flags; in copy_query_dev_fields()
412 resp->max_sge = attr->max_sge; in copy_query_dev_fields()
413 resp->max_sge_rd = attr->max_sge_rd; in copy_query_dev_fields()
414 resp->max_cq = attr->max_cq; in copy_query_dev_fields()
415 resp->max_cqe = attr->max_cqe; in copy_query_dev_fields()
416 resp->max_mr = attr->max_mr; in copy_query_dev_fields()
417 resp->max_pd = attr->max_pd; in copy_query_dev_fields()
418 resp->max_qp_rd_atom = attr->max_qp_rd_atom; in copy_query_dev_fields()
419 resp->max_ee_rd_atom = attr->max_ee_rd_atom; in copy_query_dev_fields()
420 resp->max_res_rd_atom = attr->max_res_rd_atom; in copy_query_dev_fields()
421 resp->max_qp_init_rd_atom = attr->max_qp_init_rd_atom; in copy_query_dev_fields()
422 resp->max_ee_init_rd_atom = attr->max_ee_init_rd_atom; in copy_query_dev_fields()
423 resp->atomic_cap = attr->atomic_cap; in copy_query_dev_fields()
424 resp->max_ee = attr->max_ee; in copy_query_dev_fields()
425 resp->max_rdd = attr->max_rdd; in copy_query_dev_fields()
426 resp->max_mw = attr->max_mw; in copy_query_dev_fields()
427 resp->max_raw_ipv6_qp = attr->max_raw_ipv6_qp; in copy_query_dev_fields()
428 resp->max_raw_ethy_qp = attr->max_raw_ethy_qp; in copy_query_dev_fields()
429 resp->max_mcast_grp = attr->max_mcast_grp; in copy_query_dev_fields()
430 resp->max_mcast_qp_attach = attr->max_mcast_qp_attach; in copy_query_dev_fields()
431 resp->max_total_mcast_qp_attach = attr->max_total_mcast_qp_attach; in copy_query_dev_fields()
432 resp->max_ah = attr->max_ah; in copy_query_dev_fields()
433 resp->max_fmr = attr->max_fmr; in copy_query_dev_fields()
434 resp->max_map_per_fmr = attr->max_map_per_fmr; in copy_query_dev_fields()
435 resp->max_srq = attr->max_srq; in copy_query_dev_fields()
436 resp->max_srq_wr = attr->max_srq_wr; in copy_query_dev_fields()
437 resp->max_srq_sge = attr->max_srq_sge; in copy_query_dev_fields()
438 resp->max_pkeys = attr->max_pkeys; in copy_query_dev_fields()
439 resp->local_ca_ack_delay = attr->local_ca_ack_delay; in copy_query_dev_fields()
450 struct ib_device_attr attr; in ib_uverbs_query_device() local
459 ret = ib_query_device(ib_dev, &attr); in ib_uverbs_query_device()
464 copy_query_dev_fields(file, ib_dev, &resp, &attr); in ib_uverbs_query_device()
480 struct ib_port_attr attr; in ib_uverbs_query_port() local
489 ret = ib_query_port(ib_dev, cmd.port_num, &attr); in ib_uverbs_query_port()
495 resp.state = attr.state; in ib_uverbs_query_port()
496 resp.max_mtu = attr.max_mtu; in ib_uverbs_query_port()
497 resp.active_mtu = attr.active_mtu; in ib_uverbs_query_port()
498 resp.gid_tbl_len = attr.gid_tbl_len; in ib_uverbs_query_port()
499 resp.port_cap_flags = attr.port_cap_flags; in ib_uverbs_query_port()
500 resp.max_msg_sz = attr.max_msg_sz; in ib_uverbs_query_port()
501 resp.bad_pkey_cntr = attr.bad_pkey_cntr; in ib_uverbs_query_port()
502 resp.qkey_viol_cntr = attr.qkey_viol_cntr; in ib_uverbs_query_port()
503 resp.pkey_tbl_len = attr.pkey_tbl_len; in ib_uverbs_query_port()
504 resp.lid = attr.lid; in ib_uverbs_query_port()
505 resp.sm_lid = attr.sm_lid; in ib_uverbs_query_port()
506 resp.lmc = attr.lmc; in ib_uverbs_query_port()
507 resp.max_vl_num = attr.max_vl_num; in ib_uverbs_query_port()
508 resp.sm_sl = attr.sm_sl; in ib_uverbs_query_port()
509 resp.subnet_timeout = attr.subnet_timeout; in ib_uverbs_query_port()
510 resp.init_type_reply = attr.init_type_reply; in ib_uverbs_query_port()
511 resp.active_width = attr.active_width; in ib_uverbs_query_port()
512 resp.active_speed = attr.active_speed; in ib_uverbs_query_port()
513 resp.phys_state = attr.phys_state; in ib_uverbs_query_port()
989 struct ib_device_attr attr; in ib_uverbs_reg_mr() local
991 ret = ib_query_device(pd->device, &attr); in ib_uverbs_reg_mr()
992 if (ret || !(attr.device_cap_flags & in ib_uverbs_reg_mr()
1366 struct ib_cq_init_attr attr = {}; in create_cq() local
1392 attr.cqe = cmd->cqe; in create_cq()
1393 attr.comp_vector = cmd->comp_vector; in create_cq()
1396 attr.flags = cmd->flags; in create_cq()
1398 cq = ib_dev->create_cq(ib_dev, &attr, in create_cq()
1765 struct ib_qp_init_attr attr; in create_qp() local
1823 attr.event_handler = ib_uverbs_qp_event_handler; in create_qp()
1824 attr.qp_context = file; in create_qp()
1825 attr.send_cq = scq; in create_qp()
1826 attr.recv_cq = rcq; in create_qp()
1827 attr.srq = srq; in create_qp()
1828 attr.xrcd = xrcd; in create_qp()
1829 attr.sq_sig_type = cmd->sq_sig_all ? IB_SIGNAL_ALL_WR : in create_qp()
1831 attr.qp_type = cmd->qp_type; in create_qp()
1832 attr.create_flags = 0; in create_qp()
1834 attr.cap.max_send_wr = cmd->max_send_wr; in create_qp()
1835 attr.cap.max_recv_wr = cmd->max_recv_wr; in create_qp()
1836 attr.cap.max_send_sge = cmd->max_send_sge; in create_qp()
1837 attr.cap.max_recv_sge = cmd->max_recv_sge; in create_qp()
1838 attr.cap.max_inline_data = cmd->max_inline_data; in create_qp()
1846 attr.create_flags = cmd->create_flags; in create_qp()
1848 if (attr.create_flags & ~IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK) { in create_qp()
1862 qp = ib_create_qp(pd, &attr); in create_qp()
1864 qp = device->create_qp(pd, &attr, uhw); in create_qp()
1875 qp->send_cq = attr.send_cq; in create_qp()
1876 qp->recv_cq = attr.recv_cq; in create_qp()
1877 qp->srq = attr.srq; in create_qp()
1878 qp->event_handler = attr.event_handler; in create_qp()
1879 qp->qp_context = attr.qp_context; in create_qp()
1880 qp->qp_type = attr.qp_type; in create_qp()
1883 atomic_inc(&attr.send_cq->usecnt); in create_qp()
1884 if (attr.recv_cq) in create_qp()
1885 atomic_inc(&attr.recv_cq->usecnt); in create_qp()
1886 if (attr.srq) in create_qp()
1887 atomic_inc(&attr.srq->usecnt); in create_qp()
1899 resp.base.max_recv_sge = attr.cap.max_recv_sge; in create_qp()
1900 resp.base.max_send_sge = attr.cap.max_send_sge; in create_qp()
1901 resp.base.max_recv_wr = attr.cap.max_recv_wr; in create_qp()
1902 resp.base.max_send_wr = attr.cap.max_send_wr; in create_qp()
1903 resp.base.max_inline_data = attr.cap.max_inline_data; in create_qp()
2077 struct ib_qp_open_attr attr; in ib_uverbs_open_qp() local
2103 attr.event_handler = ib_uverbs_qp_event_handler; in ib_uverbs_open_qp()
2104 attr.qp_context = file; in ib_uverbs_open_qp()
2105 attr.qp_num = cmd.qpn; in ib_uverbs_open_qp()
2106 attr.qp_type = cmd.qp_type; in ib_uverbs_open_qp()
2112 qp = ib_open_qp(xrcd, &attr); in ib_uverbs_open_qp()
2169 struct ib_qp_attr *attr; in ib_uverbs_query_qp() local
2176 attr = kmalloc(sizeof *attr, GFP_KERNEL); in ib_uverbs_query_qp()
2178 if (!attr || !init_attr) { in ib_uverbs_query_qp()
2189 ret = ib_query_qp(qp, attr, cmd.attr_mask, init_attr); in ib_uverbs_query_qp()
2198 resp.qp_state = attr->qp_state; in ib_uverbs_query_qp()
2199 resp.cur_qp_state = attr->cur_qp_state; in ib_uverbs_query_qp()
2200 resp.path_mtu = attr->path_mtu; in ib_uverbs_query_qp()
2201 resp.path_mig_state = attr->path_mig_state; in ib_uverbs_query_qp()
2202 resp.qkey = attr->qkey; in ib_uverbs_query_qp()
2203 resp.rq_psn = attr->rq_psn; in ib_uverbs_query_qp()
2204 resp.sq_psn = attr->sq_psn; in ib_uverbs_query_qp()
2205 resp.dest_qp_num = attr->dest_qp_num; in ib_uverbs_query_qp()
2206 resp.qp_access_flags = attr->qp_access_flags; in ib_uverbs_query_qp()
2207 resp.pkey_index = attr->pkey_index; in ib_uverbs_query_qp()
2208 resp.alt_pkey_index = attr->alt_pkey_index; in ib_uverbs_query_qp()
2209 resp.sq_draining = attr->sq_draining; in ib_uverbs_query_qp()
2210 resp.max_rd_atomic = attr->max_rd_atomic; in ib_uverbs_query_qp()
2211 resp.max_dest_rd_atomic = attr->max_dest_rd_atomic; in ib_uverbs_query_qp()
2212 resp.min_rnr_timer = attr->min_rnr_timer; in ib_uverbs_query_qp()
2213 resp.port_num = attr->port_num; in ib_uverbs_query_qp()
2214 resp.timeout = attr->timeout; in ib_uverbs_query_qp()
2215 resp.retry_cnt = attr->retry_cnt; in ib_uverbs_query_qp()
2216 resp.rnr_retry = attr->rnr_retry; in ib_uverbs_query_qp()
2217 resp.alt_port_num = attr->alt_port_num; in ib_uverbs_query_qp()
2218 resp.alt_timeout = attr->alt_timeout; in ib_uverbs_query_qp()
2220 memcpy(resp.dest.dgid, attr->ah_attr.grh.dgid.raw, 16); in ib_uverbs_query_qp()
2221 resp.dest.flow_label = attr->ah_attr.grh.flow_label; in ib_uverbs_query_qp()
2222 resp.dest.sgid_index = attr->ah_attr.grh.sgid_index; in ib_uverbs_query_qp()
2223 resp.dest.hop_limit = attr->ah_attr.grh.hop_limit; in ib_uverbs_query_qp()
2224 resp.dest.traffic_class = attr->ah_attr.grh.traffic_class; in ib_uverbs_query_qp()
2225 resp.dest.dlid = attr->ah_attr.dlid; in ib_uverbs_query_qp()
2226 resp.dest.sl = attr->ah_attr.sl; in ib_uverbs_query_qp()
2227 resp.dest.src_path_bits = attr->ah_attr.src_path_bits; in ib_uverbs_query_qp()
2228 resp.dest.static_rate = attr->ah_attr.static_rate; in ib_uverbs_query_qp()
2229 resp.dest.is_global = !!(attr->ah_attr.ah_flags & IB_AH_GRH); in ib_uverbs_query_qp()
2230 resp.dest.port_num = attr->ah_attr.port_num; in ib_uverbs_query_qp()
2232 memcpy(resp.alt_dest.dgid, attr->alt_ah_attr.grh.dgid.raw, 16); in ib_uverbs_query_qp()
2233 resp.alt_dest.flow_label = attr->alt_ah_attr.grh.flow_label; in ib_uverbs_query_qp()
2234 resp.alt_dest.sgid_index = attr->alt_ah_attr.grh.sgid_index; in ib_uverbs_query_qp()
2235 resp.alt_dest.hop_limit = attr->alt_ah_attr.grh.hop_limit; in ib_uverbs_query_qp()
2236 resp.alt_dest.traffic_class = attr->alt_ah_attr.grh.traffic_class; in ib_uverbs_query_qp()
2237 resp.alt_dest.dlid = attr->alt_ah_attr.dlid; in ib_uverbs_query_qp()
2238 resp.alt_dest.sl = attr->alt_ah_attr.sl; in ib_uverbs_query_qp()
2239 resp.alt_dest.src_path_bits = attr->alt_ah_attr.src_path_bits; in ib_uverbs_query_qp()
2240 resp.alt_dest.static_rate = attr->alt_ah_attr.static_rate; in ib_uverbs_query_qp()
2241 resp.alt_dest.is_global = !!(attr->alt_ah_attr.ah_flags & IB_AH_GRH); in ib_uverbs_query_qp()
2242 resp.alt_dest.port_num = attr->alt_ah_attr.port_num; in ib_uverbs_query_qp()
2256 kfree(attr); in ib_uverbs_query_qp()
2284 struct ib_qp_attr *attr; in ib_uverbs_modify_qp() local
2293 attr = kmalloc(sizeof *attr, GFP_KERNEL); in ib_uverbs_modify_qp()
2294 if (!attr) in ib_uverbs_modify_qp()
2303 attr->qp_state = cmd.qp_state; in ib_uverbs_modify_qp()
2304 attr->cur_qp_state = cmd.cur_qp_state; in ib_uverbs_modify_qp()
2305 attr->path_mtu = cmd.path_mtu; in ib_uverbs_modify_qp()
2306 attr->path_mig_state = cmd.path_mig_state; in ib_uverbs_modify_qp()
2307 attr->qkey = cmd.qkey; in ib_uverbs_modify_qp()
2308 attr->rq_psn = cmd.rq_psn; in ib_uverbs_modify_qp()
2309 attr->sq_psn = cmd.sq_psn; in ib_uverbs_modify_qp()
2310 attr->dest_qp_num = cmd.dest_qp_num; in ib_uverbs_modify_qp()
2311 attr->qp_access_flags = cmd.qp_access_flags; in ib_uverbs_modify_qp()
2312 attr->pkey_index = cmd.pkey_index; in ib_uverbs_modify_qp()
2313 attr->alt_pkey_index = cmd.alt_pkey_index; in ib_uverbs_modify_qp()
2314 attr->en_sqd_async_notify = cmd.en_sqd_async_notify; in ib_uverbs_modify_qp()
2315 attr->max_rd_atomic = cmd.max_rd_atomic; in ib_uverbs_modify_qp()
2316 attr->max_dest_rd_atomic = cmd.max_dest_rd_atomic; in ib_uverbs_modify_qp()
2317 attr->min_rnr_timer = cmd.min_rnr_timer; in ib_uverbs_modify_qp()
2318 attr->port_num = cmd.port_num; in ib_uverbs_modify_qp()
2319 attr->timeout = cmd.timeout; in ib_uverbs_modify_qp()
2320 attr->retry_cnt = cmd.retry_cnt; in ib_uverbs_modify_qp()
2321 attr->rnr_retry = cmd.rnr_retry; in ib_uverbs_modify_qp()
2322 attr->alt_port_num = cmd.alt_port_num; in ib_uverbs_modify_qp()
2323 attr->alt_timeout = cmd.alt_timeout; in ib_uverbs_modify_qp()
2325 memcpy(attr->ah_attr.grh.dgid.raw, cmd.dest.dgid, 16); in ib_uverbs_modify_qp()
2326 attr->ah_attr.grh.flow_label = cmd.dest.flow_label; in ib_uverbs_modify_qp()
2327 attr->ah_attr.grh.sgid_index = cmd.dest.sgid_index; in ib_uverbs_modify_qp()
2328 attr->ah_attr.grh.hop_limit = cmd.dest.hop_limit; in ib_uverbs_modify_qp()
2329 attr->ah_attr.grh.traffic_class = cmd.dest.traffic_class; in ib_uverbs_modify_qp()
2330 attr->ah_attr.dlid = cmd.dest.dlid; in ib_uverbs_modify_qp()
2331 attr->ah_attr.sl = cmd.dest.sl; in ib_uverbs_modify_qp()
2332 attr->ah_attr.src_path_bits = cmd.dest.src_path_bits; in ib_uverbs_modify_qp()
2333 attr->ah_attr.static_rate = cmd.dest.static_rate; in ib_uverbs_modify_qp()
2334 attr->ah_attr.ah_flags = cmd.dest.is_global ? IB_AH_GRH : 0; in ib_uverbs_modify_qp()
2335 attr->ah_attr.port_num = cmd.dest.port_num; in ib_uverbs_modify_qp()
2337 memcpy(attr->alt_ah_attr.grh.dgid.raw, cmd.alt_dest.dgid, 16); in ib_uverbs_modify_qp()
2338 attr->alt_ah_attr.grh.flow_label = cmd.alt_dest.flow_label; in ib_uverbs_modify_qp()
2339 attr->alt_ah_attr.grh.sgid_index = cmd.alt_dest.sgid_index; in ib_uverbs_modify_qp()
2340 attr->alt_ah_attr.grh.hop_limit = cmd.alt_dest.hop_limit; in ib_uverbs_modify_qp()
2341 attr->alt_ah_attr.grh.traffic_class = cmd.alt_dest.traffic_class; in ib_uverbs_modify_qp()
2342 attr->alt_ah_attr.dlid = cmd.alt_dest.dlid; in ib_uverbs_modify_qp()
2343 attr->alt_ah_attr.sl = cmd.alt_dest.sl; in ib_uverbs_modify_qp()
2344 attr->alt_ah_attr.src_path_bits = cmd.alt_dest.src_path_bits; in ib_uverbs_modify_qp()
2345 attr->alt_ah_attr.static_rate = cmd.alt_dest.static_rate; in ib_uverbs_modify_qp()
2346 attr->alt_ah_attr.ah_flags = cmd.alt_dest.is_global ? IB_AH_GRH : 0; in ib_uverbs_modify_qp()
2347 attr->alt_ah_attr.port_num = cmd.alt_dest.port_num; in ib_uverbs_modify_qp()
2350 ret = ib_resolve_eth_dmac(qp, attr, &cmd.attr_mask); in ib_uverbs_modify_qp()
2353 ret = qp->device->modify_qp(qp, attr, in ib_uverbs_modify_qp()
2356 ret = ib_modify_qp(qp, attr, modify_qp_mask(qp->qp_type, cmd.attr_mask)); in ib_uverbs_modify_qp()
2368 kfree(attr); in ib_uverbs_modify_qp()
2821 struct ib_ah_attr attr; in ib_uverbs_create_ah() local
2843 attr.dlid = cmd.attr.dlid; in ib_uverbs_create_ah()
2844 attr.sl = cmd.attr.sl; in ib_uverbs_create_ah()
2845 attr.src_path_bits = cmd.attr.src_path_bits; in ib_uverbs_create_ah()
2846 attr.static_rate = cmd.attr.static_rate; in ib_uverbs_create_ah()
2847 attr.ah_flags = cmd.attr.is_global ? IB_AH_GRH : 0; in ib_uverbs_create_ah()
2848 attr.port_num = cmd.attr.port_num; in ib_uverbs_create_ah()
2849 attr.grh.flow_label = cmd.attr.grh.flow_label; in ib_uverbs_create_ah()
2850 attr.grh.sgid_index = cmd.attr.grh.sgid_index; in ib_uverbs_create_ah()
2851 attr.grh.hop_limit = cmd.attr.grh.hop_limit; in ib_uverbs_create_ah()
2852 attr.grh.traffic_class = cmd.attr.grh.traffic_class; in ib_uverbs_create_ah()
2853 memset(&attr.dmac, 0, sizeof(attr.dmac)); in ib_uverbs_create_ah()
2854 memcpy(attr.grh.dgid.raw, cmd.attr.grh.dgid, 16); in ib_uverbs_create_ah()
2856 ah = ib_create_ah(pd, &attr); in ib_uverbs_create_ah()
3283 struct ib_srq_init_attr attr; in __uverbs_create_xsrq() local
3294 attr.ext.xrc.xrcd = idr_read_xrcd(cmd->xrcd_handle, file->ucontext, &xrcd_uobj); in __uverbs_create_xsrq()
3295 if (!attr.ext.xrc.xrcd) { in __uverbs_create_xsrq()
3303 attr.ext.xrc.cq = idr_read_cq(cmd->cq_handle, file->ucontext, 0); in __uverbs_create_xsrq()
3304 if (!attr.ext.xrc.cq) { in __uverbs_create_xsrq()
3316 attr.event_handler = ib_uverbs_srq_event_handler; in __uverbs_create_xsrq()
3317 attr.srq_context = file; in __uverbs_create_xsrq()
3318 attr.srq_type = cmd->srq_type; in __uverbs_create_xsrq()
3319 attr.attr.max_wr = cmd->max_wr; in __uverbs_create_xsrq()
3320 attr.attr.max_sge = cmd->max_sge; in __uverbs_create_xsrq()
3321 attr.attr.srq_limit = cmd->srq_limit; in __uverbs_create_xsrq()
3326 srq = pd->device->create_srq(pd, &attr, udata); in __uverbs_create_xsrq()
3336 srq->event_handler = attr.event_handler; in __uverbs_create_xsrq()
3337 srq->srq_context = attr.srq_context; in __uverbs_create_xsrq()
3340 srq->ext.xrc.cq = attr.ext.xrc.cq; in __uverbs_create_xsrq()
3341 srq->ext.xrc.xrcd = attr.ext.xrc.xrcd; in __uverbs_create_xsrq()
3342 atomic_inc(&attr.ext.xrc.cq->usecnt); in __uverbs_create_xsrq()
3343 atomic_inc(&attr.ext.xrc.xrcd->usecnt); in __uverbs_create_xsrq()
3356 resp.max_wr = attr.attr.max_wr; in __uverbs_create_xsrq()
3357 resp.max_sge = attr.attr.max_sge; in __uverbs_create_xsrq()
3369 put_cq_read(attr.ext.xrc.cq); in __uverbs_create_xsrq()
3394 put_cq_read(attr.ext.xrc.cq); in __uverbs_create_xsrq()
3477 struct ib_srq_attr attr; in ib_uverbs_modify_srq() local
3490 attr.max_wr = cmd.max_wr; in ib_uverbs_modify_srq()
3491 attr.srq_limit = cmd.srq_limit; in ib_uverbs_modify_srq()
3493 ret = srq->device->modify_srq(srq, &attr, cmd.attr_mask, &udata); in ib_uverbs_modify_srq()
3507 struct ib_srq_attr attr; in ib_uverbs_query_srq() local
3521 ret = ib_query_srq(srq, &attr); in ib_uverbs_query_srq()
3530 resp.max_wr = attr.max_wr; in ib_uverbs_query_srq()
3531 resp.max_sge = attr.max_sge; in ib_uverbs_query_srq()
3532 resp.srq_limit = attr.srq_limit; in ib_uverbs_query_srq()
3606 struct ib_device_attr attr; in ib_uverbs_ex_query_device() local
3627 memset(&attr, 0, sizeof(attr)); in ib_uverbs_ex_query_device()
3629 err = ib_dev->query_device(ib_dev, &attr, uhw); in ib_uverbs_ex_query_device()
3633 copy_query_dev_fields(file, ib_dev, &resp.base, &attr); in ib_uverbs_ex_query_device()
3640 resp.odp_caps.general_caps = attr.odp_caps.general_caps; in ib_uverbs_ex_query_device()
3642 attr.odp_caps.per_transport_caps.rc_odp_caps; in ib_uverbs_ex_query_device()
3644 attr.odp_caps.per_transport_caps.uc_odp_caps; in ib_uverbs_ex_query_device()
3646 attr.odp_caps.per_transport_caps.ud_odp_caps; in ib_uverbs_ex_query_device()
3656 resp.timestamp_mask = attr.timestamp_mask; in ib_uverbs_ex_query_device()
3662 resp.hca_core_clock = attr.hca_core_clock; in ib_uverbs_ex_query_device()