HFI1: track receive TIDs in a tree

This commit is contained in:
Balazs Gerofi
2017-12-05 17:13:09 +09:00
parent 96b8b30516
commit fcc8310454
4 changed files with 324 additions and 7 deletions

View File

@@ -637,6 +637,10 @@ int hfi1_map_device_addresses(struct hfi1_filedata *fd)
//ihk_mc_pt_print_pte(vm->address_space->page_table, hfi1_kregbase);
proc->hfi1_kregbase = hfi1_kregbase;
/* Initialize registration tree */
proc->hfi1_reg_tree = RB_ROOT;
proc->hfi1_inv_tree = RB_ROOT;
}
if (proc->hfi1_piobase != dd->piobase) {