Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dodp.c99 static void populate_klm(struct mlx5_klm *pklm, size_t idx, size_t nentries, in populate_klm() argument
102 struct mlx5_klm *end = pklm + nentries; in populate_klm()
105 for (; pklm != end; pklm++, idx++) { in populate_klm()
106 pklm->bcount = cpu_to_be32(MLX5_IMR_MTT_SIZE); in populate_klm()
107 pklm->key = cpu_to_be32(mr_to_mdev(imr)->null_mkey); in populate_klm()
108 pklm->va = 0; in populate_klm()
132 for (; pklm != end; pklm++, idx++) { in populate_klm()
135 pklm->bcount = cpu_to_be32(MLX5_IMR_MTT_SIZE); in populate_klm()
137 pklm->key = cpu_to_be32(mtt->ibmr.lkey); in populate_klm()
138 pklm->va = cpu_to_be64(idx * MLX5_IMR_MTT_SIZE); in populate_klm()
[all …]