Searched refs:lkey_table_size (Results 1 – 3 of 3) sorted by relevance
24 unsigned int lkey_table_size = rdi->dparms.lkey_table_size; in rvt_driver_mr_init() local33 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 …]
53 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()
30 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()