Home
last modified time | relevance | path

Searched refs:lkey_table_size (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dmr.c66 unsigned int lkey_table_size = rdi->dparms.lkey_table_size; in rvt_driver_mr_init() local
75 if (!lkey_table_size) in rvt_driver_mr_init()
81 if (lkey_table_size > RVT_MAX_LKEY_TABLE_BITS) { in rvt_driver_mr_init()
83 lkey_table_size, RVT_MAX_LKEY_TABLE_BITS); in rvt_driver_mr_init()
84 rdi->dparms.lkey_table_size = RVT_MAX_LKEY_TABLE_BITS; in rvt_driver_mr_init()
85 lkey_table_size = rdi->dparms.lkey_table_size; in rvt_driver_mr_init()
87 rdi->lkey_table.max = 1 << lkey_table_size; in rvt_driver_mr_init()
88 rdi->lkey_table.shift = 32 - lkey_table_size; in rvt_driver_mr_init()
223 mr->lkey = (r << (32 - dev->dparms.lkey_table_size)) | in rvt_alloc_lkey()
224 ((((1 << (24 - dev->dparms.lkey_table_size)) - 1) & rkt->gen) in rvt_alloc_lkey()
[all …]
/Linux-v5.4/include/rdma/
Drdma_vt.h168 unsigned int lkey_table_size; member
/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_verbs.c54 module_param_named(lkey_table_size, qib_lkey_table_size, uint,
56 MODULE_PARM_DESC(lkey_table_size,
1589 dd->verbs_dev.rdi.dparms.lkey_table_size = qib_lkey_table_size; in qib_register_ib_device()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dverbs.c71 module_param_named(lkey_table_size, hfi1_lkey_table_size, uint,
73 MODULE_PARM_DESC(lkey_table_size,
1904 dd->verbs_dev.rdi.dparms.lkey_table_size = hfi1_lkey_table_size; in hfi1_register_ib_device()