Lines Matching refs:attr
405 struct ib_device_attr *attr) in copy_query_dev_fields() argument
407 resp->fw_ver = attr->fw_ver; in copy_query_dev_fields()
409 resp->sys_image_guid = attr->sys_image_guid; in copy_query_dev_fields()
410 resp->max_mr_size = attr->max_mr_size; in copy_query_dev_fields()
411 resp->page_size_cap = attr->page_size_cap; in copy_query_dev_fields()
412 resp->vendor_id = attr->vendor_id; in copy_query_dev_fields()
413 resp->vendor_part_id = attr->vendor_part_id; in copy_query_dev_fields()
414 resp->hw_ver = attr->hw_ver; in copy_query_dev_fields()
415 resp->max_qp = attr->max_qp; in copy_query_dev_fields()
416 resp->max_qp_wr = attr->max_qp_wr; in copy_query_dev_fields()
417 resp->device_cap_flags = attr->device_cap_flags; in copy_query_dev_fields()
418 resp->max_sge = attr->max_sge; in copy_query_dev_fields()
419 resp->max_sge_rd = attr->max_sge_rd; in copy_query_dev_fields()
420 resp->max_cq = attr->max_cq; in copy_query_dev_fields()
421 resp->max_cqe = attr->max_cqe; in copy_query_dev_fields()
422 resp->max_mr = attr->max_mr; in copy_query_dev_fields()
423 resp->max_pd = attr->max_pd; in copy_query_dev_fields()
424 resp->max_qp_rd_atom = attr->max_qp_rd_atom; in copy_query_dev_fields()
425 resp->max_ee_rd_atom = attr->max_ee_rd_atom; in copy_query_dev_fields()
426 resp->max_res_rd_atom = attr->max_res_rd_atom; in copy_query_dev_fields()
427 resp->max_qp_init_rd_atom = attr->max_qp_init_rd_atom; in copy_query_dev_fields()
428 resp->max_ee_init_rd_atom = attr->max_ee_init_rd_atom; in copy_query_dev_fields()
429 resp->atomic_cap = attr->atomic_cap; in copy_query_dev_fields()
430 resp->max_ee = attr->max_ee; in copy_query_dev_fields()
431 resp->max_rdd = attr->max_rdd; in copy_query_dev_fields()
432 resp->max_mw = attr->max_mw; in copy_query_dev_fields()
433 resp->max_raw_ipv6_qp = attr->max_raw_ipv6_qp; in copy_query_dev_fields()
434 resp->max_raw_ethy_qp = attr->max_raw_ethy_qp; in copy_query_dev_fields()
435 resp->max_mcast_grp = attr->max_mcast_grp; in copy_query_dev_fields()
436 resp->max_mcast_qp_attach = attr->max_mcast_qp_attach; in copy_query_dev_fields()
437 resp->max_total_mcast_qp_attach = attr->max_total_mcast_qp_attach; in copy_query_dev_fields()
438 resp->max_ah = attr->max_ah; in copy_query_dev_fields()
439 resp->max_fmr = attr->max_fmr; in copy_query_dev_fields()
440 resp->max_map_per_fmr = attr->max_map_per_fmr; in copy_query_dev_fields()
441 resp->max_srq = attr->max_srq; in copy_query_dev_fields()
442 resp->max_srq_wr = attr->max_srq_wr; in copy_query_dev_fields()
443 resp->max_srq_sge = attr->max_srq_sge; in copy_query_dev_fields()
444 resp->max_pkeys = attr->max_pkeys; in copy_query_dev_fields()
445 resp->local_ca_ack_delay = attr->local_ca_ack_delay; in copy_query_dev_fields()
455 struct ib_device_attr attr; in ib_uverbs_query_device() local
464 ret = ib_query_device(file->device->ib_dev, &attr); in ib_uverbs_query_device()
469 copy_query_dev_fields(file, &resp, &attr); in ib_uverbs_query_device()
484 struct ib_port_attr attr; in ib_uverbs_query_port() local
493 ret = ib_query_port(file->device->ib_dev, cmd.port_num, &attr); in ib_uverbs_query_port()
499 resp.state = attr.state; in ib_uverbs_query_port()
500 resp.max_mtu = attr.max_mtu; in ib_uverbs_query_port()
501 resp.active_mtu = attr.active_mtu; in ib_uverbs_query_port()
502 resp.gid_tbl_len = attr.gid_tbl_len; in ib_uverbs_query_port()
503 resp.port_cap_flags = attr.port_cap_flags; in ib_uverbs_query_port()
504 resp.max_msg_sz = attr.max_msg_sz; in ib_uverbs_query_port()
505 resp.bad_pkey_cntr = attr.bad_pkey_cntr; in ib_uverbs_query_port()
506 resp.qkey_viol_cntr = attr.qkey_viol_cntr; in ib_uverbs_query_port()
507 resp.pkey_tbl_len = attr.pkey_tbl_len; in ib_uverbs_query_port()
508 resp.lid = attr.lid; in ib_uverbs_query_port()
509 resp.sm_lid = attr.sm_lid; in ib_uverbs_query_port()
510 resp.lmc = attr.lmc; in ib_uverbs_query_port()
511 resp.max_vl_num = attr.max_vl_num; in ib_uverbs_query_port()
512 resp.sm_sl = attr.sm_sl; in ib_uverbs_query_port()
513 resp.subnet_timeout = attr.subnet_timeout; in ib_uverbs_query_port()
514 resp.init_type_reply = attr.init_type_reply; in ib_uverbs_query_port()
515 resp.active_width = attr.active_width; in ib_uverbs_query_port()
516 resp.active_speed = attr.active_speed; in ib_uverbs_query_port()
517 resp.phys_state = attr.phys_state; in ib_uverbs_query_port()
979 struct ib_device_attr attr; in ib_uverbs_reg_mr() local
981 ret = ib_query_device(pd->device, &attr); in ib_uverbs_reg_mr()
982 if (ret || !(attr.device_cap_flags & in ib_uverbs_reg_mr()
1637 struct ib_qp_init_attr attr; in ib_uverbs_create_qp() local
1699 attr.event_handler = ib_uverbs_qp_event_handler; in ib_uverbs_create_qp()
1700 attr.qp_context = file; in ib_uverbs_create_qp()
1701 attr.send_cq = scq; in ib_uverbs_create_qp()
1702 attr.recv_cq = rcq; in ib_uverbs_create_qp()
1703 attr.srq = srq; in ib_uverbs_create_qp()
1704 attr.xrcd = xrcd; in ib_uverbs_create_qp()
1705 attr.sq_sig_type = cmd.sq_sig_all ? IB_SIGNAL_ALL_WR : IB_SIGNAL_REQ_WR; in ib_uverbs_create_qp()
1706 attr.qp_type = cmd.qp_type; in ib_uverbs_create_qp()
1707 attr.create_flags = 0; in ib_uverbs_create_qp()
1709 attr.cap.max_send_wr = cmd.max_send_wr; in ib_uverbs_create_qp()
1710 attr.cap.max_recv_wr = cmd.max_recv_wr; in ib_uverbs_create_qp()
1711 attr.cap.max_send_sge = cmd.max_send_sge; in ib_uverbs_create_qp()
1712 attr.cap.max_recv_sge = cmd.max_recv_sge; in ib_uverbs_create_qp()
1713 attr.cap.max_inline_data = cmd.max_inline_data; in ib_uverbs_create_qp()
1720 qp = ib_create_qp(pd, &attr); in ib_uverbs_create_qp()
1722 qp = device->create_qp(pd, &attr, &udata); in ib_uverbs_create_qp()
1733 qp->send_cq = attr.send_cq; in ib_uverbs_create_qp()
1734 qp->recv_cq = attr.recv_cq; in ib_uverbs_create_qp()
1735 qp->srq = attr.srq; in ib_uverbs_create_qp()
1736 qp->event_handler = attr.event_handler; in ib_uverbs_create_qp()
1737 qp->qp_context = attr.qp_context; in ib_uverbs_create_qp()
1738 qp->qp_type = attr.qp_type; in ib_uverbs_create_qp()
1741 atomic_inc(&attr.send_cq->usecnt); in ib_uverbs_create_qp()
1742 if (attr.recv_cq) in ib_uverbs_create_qp()
1743 atomic_inc(&attr.recv_cq->usecnt); in ib_uverbs_create_qp()
1744 if (attr.srq) in ib_uverbs_create_qp()
1745 atomic_inc(&attr.srq->usecnt); in ib_uverbs_create_qp()
1757 resp.max_recv_sge = attr.cap.max_recv_sge; in ib_uverbs_create_qp()
1758 resp.max_send_sge = attr.cap.max_send_sge; in ib_uverbs_create_qp()
1759 resp.max_recv_wr = attr.cap.max_recv_wr; in ib_uverbs_create_qp()
1760 resp.max_send_wr = attr.cap.max_send_wr; in ib_uverbs_create_qp()
1761 resp.max_inline_data = attr.cap.max_inline_data; in ib_uverbs_create_qp()
1827 struct ib_qp_open_attr attr; in ib_uverbs_open_qp() local
1853 attr.event_handler = ib_uverbs_qp_event_handler; in ib_uverbs_open_qp()
1854 attr.qp_context = file; in ib_uverbs_open_qp()
1855 attr.qp_num = cmd.qpn; in ib_uverbs_open_qp()
1856 attr.qp_type = cmd.qp_type; in ib_uverbs_open_qp()
1862 qp = ib_open_qp(xrcd, &attr); in ib_uverbs_open_qp()
1918 struct ib_qp_attr *attr; in ib_uverbs_query_qp() local
1925 attr = kmalloc(sizeof *attr, GFP_KERNEL); in ib_uverbs_query_qp()
1927 if (!attr || !init_attr) { in ib_uverbs_query_qp()
1938 ret = ib_query_qp(qp, attr, cmd.attr_mask, init_attr); in ib_uverbs_query_qp()
1947 resp.qp_state = attr->qp_state; in ib_uverbs_query_qp()
1948 resp.cur_qp_state = attr->cur_qp_state; in ib_uverbs_query_qp()
1949 resp.path_mtu = attr->path_mtu; in ib_uverbs_query_qp()
1950 resp.path_mig_state = attr->path_mig_state; in ib_uverbs_query_qp()
1951 resp.qkey = attr->qkey; in ib_uverbs_query_qp()
1952 resp.rq_psn = attr->rq_psn; in ib_uverbs_query_qp()
1953 resp.sq_psn = attr->sq_psn; in ib_uverbs_query_qp()
1954 resp.dest_qp_num = attr->dest_qp_num; in ib_uverbs_query_qp()
1955 resp.qp_access_flags = attr->qp_access_flags; in ib_uverbs_query_qp()
1956 resp.pkey_index = attr->pkey_index; in ib_uverbs_query_qp()
1957 resp.alt_pkey_index = attr->alt_pkey_index; in ib_uverbs_query_qp()
1958 resp.sq_draining = attr->sq_draining; in ib_uverbs_query_qp()
1959 resp.max_rd_atomic = attr->max_rd_atomic; in ib_uverbs_query_qp()
1960 resp.max_dest_rd_atomic = attr->max_dest_rd_atomic; in ib_uverbs_query_qp()
1961 resp.min_rnr_timer = attr->min_rnr_timer; in ib_uverbs_query_qp()
1962 resp.port_num = attr->port_num; in ib_uverbs_query_qp()
1963 resp.timeout = attr->timeout; in ib_uverbs_query_qp()
1964 resp.retry_cnt = attr->retry_cnt; in ib_uverbs_query_qp()
1965 resp.rnr_retry = attr->rnr_retry; in ib_uverbs_query_qp()
1966 resp.alt_port_num = attr->alt_port_num; in ib_uverbs_query_qp()
1967 resp.alt_timeout = attr->alt_timeout; in ib_uverbs_query_qp()
1969 memcpy(resp.dest.dgid, attr->ah_attr.grh.dgid.raw, 16); in ib_uverbs_query_qp()
1970 resp.dest.flow_label = attr->ah_attr.grh.flow_label; in ib_uverbs_query_qp()
1971 resp.dest.sgid_index = attr->ah_attr.grh.sgid_index; in ib_uverbs_query_qp()
1972 resp.dest.hop_limit = attr->ah_attr.grh.hop_limit; in ib_uverbs_query_qp()
1973 resp.dest.traffic_class = attr->ah_attr.grh.traffic_class; in ib_uverbs_query_qp()
1974 resp.dest.dlid = attr->ah_attr.dlid; in ib_uverbs_query_qp()
1975 resp.dest.sl = attr->ah_attr.sl; in ib_uverbs_query_qp()
1976 resp.dest.src_path_bits = attr->ah_attr.src_path_bits; in ib_uverbs_query_qp()
1977 resp.dest.static_rate = attr->ah_attr.static_rate; in ib_uverbs_query_qp()
1978 resp.dest.is_global = !!(attr->ah_attr.ah_flags & IB_AH_GRH); in ib_uverbs_query_qp()
1979 resp.dest.port_num = attr->ah_attr.port_num; in ib_uverbs_query_qp()
1981 memcpy(resp.alt_dest.dgid, attr->alt_ah_attr.grh.dgid.raw, 16); in ib_uverbs_query_qp()
1982 resp.alt_dest.flow_label = attr->alt_ah_attr.grh.flow_label; in ib_uverbs_query_qp()
1983 resp.alt_dest.sgid_index = attr->alt_ah_attr.grh.sgid_index; in ib_uverbs_query_qp()
1984 resp.alt_dest.hop_limit = attr->alt_ah_attr.grh.hop_limit; in ib_uverbs_query_qp()
1985 resp.alt_dest.traffic_class = attr->alt_ah_attr.grh.traffic_class; in ib_uverbs_query_qp()
1986 resp.alt_dest.dlid = attr->alt_ah_attr.dlid; in ib_uverbs_query_qp()
1987 resp.alt_dest.sl = attr->alt_ah_attr.sl; in ib_uverbs_query_qp()
1988 resp.alt_dest.src_path_bits = attr->alt_ah_attr.src_path_bits; in ib_uverbs_query_qp()
1989 resp.alt_dest.static_rate = attr->alt_ah_attr.static_rate; in ib_uverbs_query_qp()
1990 resp.alt_dest.is_global = !!(attr->alt_ah_attr.ah_flags & IB_AH_GRH); in ib_uverbs_query_qp()
1991 resp.alt_dest.port_num = attr->alt_ah_attr.port_num; in ib_uverbs_query_qp()
2005 kfree(attr); in ib_uverbs_query_qp()
2032 struct ib_qp_attr *attr; in ib_uverbs_modify_qp() local
2041 attr = kmalloc(sizeof *attr, GFP_KERNEL); in ib_uverbs_modify_qp()
2042 if (!attr) in ib_uverbs_modify_qp()
2051 attr->qp_state = cmd.qp_state; in ib_uverbs_modify_qp()
2052 attr->cur_qp_state = cmd.cur_qp_state; in ib_uverbs_modify_qp()
2053 attr->path_mtu = cmd.path_mtu; in ib_uverbs_modify_qp()
2054 attr->path_mig_state = cmd.path_mig_state; in ib_uverbs_modify_qp()
2055 attr->qkey = cmd.qkey; in ib_uverbs_modify_qp()
2056 attr->rq_psn = cmd.rq_psn; in ib_uverbs_modify_qp()
2057 attr->sq_psn = cmd.sq_psn; in ib_uverbs_modify_qp()
2058 attr->dest_qp_num = cmd.dest_qp_num; in ib_uverbs_modify_qp()
2059 attr->qp_access_flags = cmd.qp_access_flags; in ib_uverbs_modify_qp()
2060 attr->pkey_index = cmd.pkey_index; in ib_uverbs_modify_qp()
2061 attr->alt_pkey_index = cmd.alt_pkey_index; in ib_uverbs_modify_qp()
2062 attr->en_sqd_async_notify = cmd.en_sqd_async_notify; in ib_uverbs_modify_qp()
2063 attr->max_rd_atomic = cmd.max_rd_atomic; in ib_uverbs_modify_qp()
2064 attr->max_dest_rd_atomic = cmd.max_dest_rd_atomic; in ib_uverbs_modify_qp()
2065 attr->min_rnr_timer = cmd.min_rnr_timer; in ib_uverbs_modify_qp()
2066 attr->port_num = cmd.port_num; in ib_uverbs_modify_qp()
2067 attr->timeout = cmd.timeout; in ib_uverbs_modify_qp()
2068 attr->retry_cnt = cmd.retry_cnt; in ib_uverbs_modify_qp()
2069 attr->rnr_retry = cmd.rnr_retry; in ib_uverbs_modify_qp()
2070 attr->alt_port_num = cmd.alt_port_num; in ib_uverbs_modify_qp()
2071 attr->alt_timeout = cmd.alt_timeout; in ib_uverbs_modify_qp()
2073 memcpy(attr->ah_attr.grh.dgid.raw, cmd.dest.dgid, 16); in ib_uverbs_modify_qp()
2074 attr->ah_attr.grh.flow_label = cmd.dest.flow_label; in ib_uverbs_modify_qp()
2075 attr->ah_attr.grh.sgid_index = cmd.dest.sgid_index; in ib_uverbs_modify_qp()
2076 attr->ah_attr.grh.hop_limit = cmd.dest.hop_limit; in ib_uverbs_modify_qp()
2077 attr->ah_attr.grh.traffic_class = cmd.dest.traffic_class; in ib_uverbs_modify_qp()
2078 attr->ah_attr.dlid = cmd.dest.dlid; in ib_uverbs_modify_qp()
2079 attr->ah_attr.sl = cmd.dest.sl; in ib_uverbs_modify_qp()
2080 attr->ah_attr.src_path_bits = cmd.dest.src_path_bits; in ib_uverbs_modify_qp()
2081 attr->ah_attr.static_rate = cmd.dest.static_rate; in ib_uverbs_modify_qp()
2082 attr->ah_attr.ah_flags = cmd.dest.is_global ? IB_AH_GRH : 0; in ib_uverbs_modify_qp()
2083 attr->ah_attr.port_num = cmd.dest.port_num; in ib_uverbs_modify_qp()
2085 memcpy(attr->alt_ah_attr.grh.dgid.raw, cmd.alt_dest.dgid, 16); in ib_uverbs_modify_qp()
2086 attr->alt_ah_attr.grh.flow_label = cmd.alt_dest.flow_label; in ib_uverbs_modify_qp()
2087 attr->alt_ah_attr.grh.sgid_index = cmd.alt_dest.sgid_index; in ib_uverbs_modify_qp()
2088 attr->alt_ah_attr.grh.hop_limit = cmd.alt_dest.hop_limit; in ib_uverbs_modify_qp()
2089 attr->alt_ah_attr.grh.traffic_class = cmd.alt_dest.traffic_class; in ib_uverbs_modify_qp()
2090 attr->alt_ah_attr.dlid = cmd.alt_dest.dlid; in ib_uverbs_modify_qp()
2091 attr->alt_ah_attr.sl = cmd.alt_dest.sl; in ib_uverbs_modify_qp()
2092 attr->alt_ah_attr.src_path_bits = cmd.alt_dest.src_path_bits; in ib_uverbs_modify_qp()
2093 attr->alt_ah_attr.static_rate = cmd.alt_dest.static_rate; in ib_uverbs_modify_qp()
2094 attr->alt_ah_attr.ah_flags = cmd.alt_dest.is_global ? IB_AH_GRH : 0; in ib_uverbs_modify_qp()
2095 attr->alt_ah_attr.port_num = cmd.alt_dest.port_num; in ib_uverbs_modify_qp()
2098 ret = ib_resolve_eth_l2_attrs(qp, attr, &cmd.attr_mask); in ib_uverbs_modify_qp()
2101 ret = qp->device->modify_qp(qp, attr, in ib_uverbs_modify_qp()
2104 ret = ib_modify_qp(qp, attr, modify_qp_mask(qp->qp_type, cmd.attr_mask)); in ib_uverbs_modify_qp()
2116 kfree(attr); in ib_uverbs_modify_qp()
2538 struct ib_ah_attr attr; in ib_uverbs_create_ah() local
2560 attr.dlid = cmd.attr.dlid; in ib_uverbs_create_ah()
2561 attr.sl = cmd.attr.sl; in ib_uverbs_create_ah()
2562 attr.src_path_bits = cmd.attr.src_path_bits; in ib_uverbs_create_ah()
2563 attr.static_rate = cmd.attr.static_rate; in ib_uverbs_create_ah()
2564 attr.ah_flags = cmd.attr.is_global ? IB_AH_GRH : 0; in ib_uverbs_create_ah()
2565 attr.port_num = cmd.attr.port_num; in ib_uverbs_create_ah()
2566 attr.grh.flow_label = cmd.attr.grh.flow_label; in ib_uverbs_create_ah()
2567 attr.grh.sgid_index = cmd.attr.grh.sgid_index; in ib_uverbs_create_ah()
2568 attr.grh.hop_limit = cmd.attr.grh.hop_limit; in ib_uverbs_create_ah()
2569 attr.grh.traffic_class = cmd.attr.grh.traffic_class; in ib_uverbs_create_ah()
2570 attr.vlan_id = 0; in ib_uverbs_create_ah()
2571 memset(&attr.dmac, 0, sizeof(attr.dmac)); in ib_uverbs_create_ah()
2572 memcpy(attr.grh.dgid.raw, cmd.attr.grh.dgid, 16); in ib_uverbs_create_ah()
2574 ah = ib_create_ah(pd, &attr); in ib_uverbs_create_ah()
2995 struct ib_srq_init_attr attr; in __uverbs_create_xsrq() local
3006 attr.ext.xrc.xrcd = idr_read_xrcd(cmd->xrcd_handle, file->ucontext, &xrcd_uobj); in __uverbs_create_xsrq()
3007 if (!attr.ext.xrc.xrcd) { in __uverbs_create_xsrq()
3015 attr.ext.xrc.cq = idr_read_cq(cmd->cq_handle, file->ucontext, 0); in __uverbs_create_xsrq()
3016 if (!attr.ext.xrc.cq) { in __uverbs_create_xsrq()
3028 attr.event_handler = ib_uverbs_srq_event_handler; in __uverbs_create_xsrq()
3029 attr.srq_context = file; in __uverbs_create_xsrq()
3030 attr.srq_type = cmd->srq_type; in __uverbs_create_xsrq()
3031 attr.attr.max_wr = cmd->max_wr; in __uverbs_create_xsrq()
3032 attr.attr.max_sge = cmd->max_sge; in __uverbs_create_xsrq()
3033 attr.attr.srq_limit = cmd->srq_limit; in __uverbs_create_xsrq()
3038 srq = pd->device->create_srq(pd, &attr, udata); in __uverbs_create_xsrq()
3048 srq->event_handler = attr.event_handler; in __uverbs_create_xsrq()
3049 srq->srq_context = attr.srq_context; in __uverbs_create_xsrq()
3052 srq->ext.xrc.cq = attr.ext.xrc.cq; in __uverbs_create_xsrq()
3053 srq->ext.xrc.xrcd = attr.ext.xrc.xrcd; in __uverbs_create_xsrq()
3054 atomic_inc(&attr.ext.xrc.cq->usecnt); in __uverbs_create_xsrq()
3055 atomic_inc(&attr.ext.xrc.xrcd->usecnt); in __uverbs_create_xsrq()
3068 resp.max_wr = attr.attr.max_wr; in __uverbs_create_xsrq()
3069 resp.max_sge = attr.attr.max_sge; in __uverbs_create_xsrq()
3081 put_cq_read(attr.ext.xrc.cq); in __uverbs_create_xsrq()
3106 put_cq_read(attr.ext.xrc.cq); in __uverbs_create_xsrq()
3186 struct ib_srq_attr attr; in ib_uverbs_modify_srq() local
3199 attr.max_wr = cmd.max_wr; in ib_uverbs_modify_srq()
3200 attr.srq_limit = cmd.srq_limit; in ib_uverbs_modify_srq()
3202 ret = srq->device->modify_srq(srq, &attr, cmd.attr_mask, &udata); in ib_uverbs_modify_srq()
3215 struct ib_srq_attr attr; in ib_uverbs_query_srq() local
3229 ret = ib_query_srq(srq, &attr); in ib_uverbs_query_srq()
3238 resp.max_wr = attr.max_wr; in ib_uverbs_query_srq()
3239 resp.max_sge = attr.max_sge; in ib_uverbs_query_srq()
3240 resp.srq_limit = attr.srq_limit; in ib_uverbs_query_srq()
3312 struct ib_device_attr attr; in ib_uverbs_ex_query_device() local
3335 err = device->query_device(device, &attr); in ib_uverbs_ex_query_device()
3339 copy_query_dev_fields(file, &resp.base, &attr); in ib_uverbs_ex_query_device()
3346 resp.odp_caps.general_caps = attr.odp_caps.general_caps; in ib_uverbs_ex_query_device()
3348 attr.odp_caps.per_transport_caps.rc_odp_caps; in ib_uverbs_ex_query_device()
3350 attr.odp_caps.per_transport_caps.uc_odp_caps; in ib_uverbs_ex_query_device()
3352 attr.odp_caps.per_transport_caps.ud_odp_caps; in ib_uverbs_ex_query_device()