Searched refs:lkey_table_size (Results 1 – 4 of 4) sorted by relevance
66 unsigned int lkey_table_size = rdi->dparms.lkey_table_size; in rvt_driver_mr_init() local75 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 …]
168 unsigned int lkey_table_size; member
54 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()
71 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()