Searched refs:dparms (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | verbs.c | 1293 memset(&rdi->dparms.props, 0, sizeof(rdi->dparms.props)); in hfi1_fill_device_attr() 1295 rdi->dparms.props.fw_ver = ((u64)(dc8051_ver_maj(ver)) << 32) | in hfi1_fill_device_attr() 1299 rdi->dparms.props.device_cap_flags = IB_DEVICE_BAD_PKEY_CNTR | in hfi1_fill_device_attr() 1304 rdi->dparms.props.kernel_cap_flags = IBK_RDMA_NETDEV_OPA; in hfi1_fill_device_attr() 1305 rdi->dparms.props.page_size_cap = PAGE_SIZE; in hfi1_fill_device_attr() 1306 rdi->dparms.props.vendor_id = dd->oui1 << 16 | dd->oui2 << 8 | dd->oui3; in hfi1_fill_device_attr() 1307 rdi->dparms.props.vendor_part_id = dd->pcidev->device; in hfi1_fill_device_attr() 1308 rdi->dparms.props.hw_ver = dd->minrev; in hfi1_fill_device_attr() 1309 rdi->dparms.props.sys_image_guid = ib_hfi1_sys_image_guid; in hfi1_fill_device_attr() 1310 rdi->dparms.props.max_mr_size = U64_MAX; in hfi1_fill_device_attr() [all …]
|
D | qp.c | 672 priv = kzalloc_node(sizeof(*priv), GFP_KERNEL, rdi->dparms.node); in qp_priv_alloc() 679 rdi->dparms.node); in qp_priv_alloc()
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_verbs.c | 1440 memset(&rdi->dparms.props, 0, sizeof(rdi->dparms.props)); in qib_fill_device_attr() 1442 rdi->dparms.props.max_pd = ib_qib_max_pds; in qib_fill_device_attr() 1443 rdi->dparms.props.max_ah = ib_qib_max_ahs; in qib_fill_device_attr() 1444 rdi->dparms.props.device_cap_flags = IB_DEVICE_BAD_PKEY_CNTR | in qib_fill_device_attr() 1448 rdi->dparms.props.page_size_cap = PAGE_SIZE; in qib_fill_device_attr() 1449 rdi->dparms.props.vendor_id = in qib_fill_device_attr() 1451 rdi->dparms.props.vendor_part_id = dd->deviceid; in qib_fill_device_attr() 1452 rdi->dparms.props.hw_ver = dd->minrev; in qib_fill_device_attr() 1453 rdi->dparms.props.sys_image_guid = ib_qib_sys_image_guid; in qib_fill_device_attr() 1454 rdi->dparms.props.max_mr_size = ~0ULL; in qib_fill_device_attr() [all …]
|
/linux-6.1.9/drivers/infiniband/sw/rdmavt/ |
D | mad.c | 67 for (p = 0; p < rdi->dparms.nports; p++) { in rvt_create_mad_agents() 87 for (p = 0; p < rdi->dparms.nports; p++) { in rvt_create_mad_agents() 113 for (p = 0; p < rdi->dparms.nports; p++) { in rvt_free_mad_agents()
|
D | qp.c | 124 unsigned int sge_copy_mode = rdi->dparms.sge_copy_mode; in rvt_wss_init() 125 unsigned int wss_threshold = rdi->dparms.wss_threshold; in rvt_wss_init() 126 unsigned int wss_clean_period = rdi->dparms.wss_clean_period; in rvt_wss_init() 132 int node = rdi->dparms.node; in rvt_wss_init() 293 if (!(rdi->dparms.qpn_res_end >= rdi->dparms.qpn_res_start)) in init_qpn_table() 298 qpt->last = rdi->dparms.qpn_start; in init_qpn_table() 299 qpt->incr = rdi->dparms.qpn_inc << rdi->dparms.qos_shift; in init_qpn_table() 309 qpt->nmaps = rdi->dparms.qpn_res_start / RVT_BITS_PER_PAGE; in init_qpn_table() 312 offset = rdi->dparms.qpn_res_start & RVT_BITS_PER_PAGE_MASK; in init_qpn_table() 318 rdi->dparms.qpn_res_start, rdi->dparms.qpn_res_end); in init_qpn_table() [all …]
|
D | srq.c | 46 srq_init_attr->attr.max_sge > dev->dparms.props.max_srq_sge || in rvt_create_srq() 48 srq_init_attr->attr.max_wr > dev->dparms.props.max_srq_wr) in rvt_create_srq() 59 dev->dparms.node, udata)) { in rvt_create_srq() 90 if (dev->n_srqs_allocated == dev->dparms.props.max_srq) { in rvt_create_srq() 140 if ((attr->max_wr > dev->dparms.props.max_srq_wr) || in rvt_modify_srq() 147 if (rvt_alloc_rq(&tmp_rq, size * sz, dev->dparms.node, in rvt_modify_srq()
|
D | mr.c | 24 unsigned int lkey_table_size = rdi->dparms.lkey_table_size; in rvt_driver_mr_init() 42 rdi->dparms.lkey_table_size = RVT_MAX_LKEY_TABLE_BITS; in rvt_driver_mr_init() 43 lkey_table_size = rdi->dparms.lkey_table_size; in rvt_driver_mr_init() 49 vmalloc_node(lk_tab_size, rdi->dparms.node); in rvt_driver_mr_init() 57 rdi->dparms.props.max_mr = rdi->lkey_table.max; in rvt_driver_mr_init() 103 dev->dparms.node); in rvt_init_mregion() 180 mr->lkey = (r << (32 - dev->dparms.lkey_table_size)) | in rvt_alloc_lkey() 181 ((((1 << (24 - dev->dparms.lkey_table_size)) - 1) & rkt->gen) in rvt_alloc_lkey() 225 r = lkey >> (32 - dev->dparms.lkey_table_size); in rvt_free_lkey() 658 rkt->table[(rkey >> (32 - dev->dparms.lkey_table_size))]); in rvt_invalidate_rkey()
|
D | cq.c | 174 if (entries < 1 || entries > rdi->dparms.props.max_cqe) in rvt_create_cq() 198 k_wc = vzalloc_node(sz, rdi->dparms.node); in rvt_create_cq() 221 if (rdi->n_cqs_allocated == rdi->dparms.props.max_cq) { in rvt_create_cq() 247 cpumask_first(cpumask_of_node(rdi->dparms.node)); in rvt_create_cq() 350 if (cqe < 1 || cqe > rdi->dparms.props.max_cqe) in rvt_resize_cq() 365 k_wc = vzalloc_node(sz, rdi->dparms.node); in rvt_resize_cq()
|
D | vt.c | 88 *props = rdi->dparms.props; in rvt_query_device() 96 return rdi->dparms.node; in rvt_get_numa_node() 266 immutable->core_cap_flags = rdi->dparms.core_cap_flags; in rvt_get_port_immutable() 274 immutable->max_mad_size = rdi->dparms.max_mad_size; in rvt_get_port_immutable()
|
D | mcast.c | 192 rdi->dparms.props.max_mcast_qp_attach) { in rvt_mcast_add() 205 if (rdi->n_mcast_grps_allocated == rdi->dparms.props.max_mcast_grp) { in rvt_mcast_add() 397 for (i = 0; i < rdi->dparms.nports; i++) in rvt_mcast_tree_empty()
|
D | pd.c | 33 if (dev->n_pds_allocated == dev->dparms.props.max_pd) { in rvt_alloc_pd()
|
D | ah.c | 69 if (dev->n_ahs_allocated == dev->dparms.props.max_ah) { in rvt_create_ah()
|
D | mmap.c | 124 ip = kmalloc_node(sizeof(*ip), GFP_KERNEL, rdi->dparms.node); in rvt_create_mmap_info()
|
/linux-6.1.9/include/rdma/ |
D | rdma_vt.h | 379 struct rvt_driver_params dparms; member 482 return rdi->dparms.npkeys; in rvt_get_npkeys() 491 return rdi->dparms.max_rdma_atomic + in rvt_max_atomic() 492 rdi->dparms.extra_rdma_atomic + 1; in rvt_max_atomic() 497 return rdi->dparms.max_rdma_atomic + in rvt_size_atomic() 498 rdi->dparms.extra_rdma_atomic; in rvt_size_atomic()
|