Home
last modified time | relevance | path

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

/drivers/vdpa/mlx5/core/
Dmr.c149 struct mlx5_klm *klm; in fill_indir() local
158 klm = &klmarr[i++]; in fill_indir()
165 klm->key = cpu_to_be32(dmr->mr); in fill_indir()
166 klm->bcount = cpu_to_be32(klm_bcount(dmr->end - dmr->start)); in fill_indir()
169 klm->key = cpu_to_be32(mvdev->res.null_mkey); in fill_indir()
170 klm->bcount = cpu_to_be32(klm_bcount(dmr->start - preve)); in fill_indir()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c320 struct mlx5_klm *klm; in mlx5e_create_umr_mkey() local
372 klm = MLX5_ADDR_OF(create_mkey_in, in, klm_pas_mtt); in mlx5e_create_umr_mkey()
374 klm[i << 1] = (struct mlx5_klm) { in mlx5e_create_umr_mkey()
379 klm[(i << 1) + 1] = (struct mlx5_klm) { in mlx5e_create_umr_mkey()