Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dmr.c24 unsigned int lkey_table_size = rdi->dparms.lkey_table_size; in rvt_driver_mr_init() local
33 if (!lkey_table_size) in rvt_driver_mr_init()
39 if (lkey_table_size > RVT_MAX_LKEY_TABLE_BITS) { in rvt_driver_mr_init()
41 lkey_table_size, RVT_MAX_LKEY_TABLE_BITS); 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()
45 rdi->lkey_table.max = 1 << lkey_table_size; in rvt_driver_mr_init()
46 rdi->lkey_table.shift = 32 - lkey_table_size; in rvt_driver_mr_init()
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()
[all …]
/linux-6.1.9/include/rdma/
Drdma_vt.h126 unsigned int lkey_table_size; member
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_verbs.c53 module_param_named(lkey_table_size, qib_lkey_table_size, uint,
55 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-6.1.9/drivers/infiniband/hw/hfi1/
Dverbs.c30 module_param_named(lkey_table_size, hfi1_lkey_table_size, uint,
32 MODULE_PARM_DESC(lkey_table_size,
1864 dd->verbs_dev.rdi.dparms.lkey_table_size = hfi1_lkey_table_size; in hfi1_register_ib_device()