Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmr.c185 MLX5_SET(mkc, mkc, translations_octword_size, ent->xlt); in alloc_cache_mr()
763 ent->xlt = (1 << ent->order) * sizeof(struct mlx5_mtt) / in mlx5_mr_cache_init()
1026 void *xlt; in mlx5_ib_update_xlt() local
1062 xlt = (void *)__get_free_pages(gfp, get_order(size)); in mlx5_ib_update_xlt()
1063 if (!xlt && size > MLX5_SPARE_UMR_CHUNK) { in mlx5_ib_update_xlt()
1068 xlt = (void *)__get_free_pages(gfp, get_order(size)); in mlx5_ib_update_xlt()
1071 if (!xlt) { in mlx5_ib_update_xlt()
1073 xlt = (void *)mlx5_ib_get_xlt_emergency_page(); in mlx5_ib_update_xlt()
1075 memset(xlt, 0, size); in mlx5_ib_update_xlt()
1079 dma = dma_map_single(ddev, xlt, size, DMA_TO_DEVICE); in mlx5_ib_update_xlt()
[all …]
Dodp.c176 void mlx5_odp_populate_xlt(void *xlt, size_t idx, size_t nentries, in mlx5_odp_populate_xlt() argument
180 populate_klm(xlt, idx, nentries, mr, flags); in mlx5_odp_populate_xlt()
182 populate_mtt(xlt, idx, nentries, mr, flags); in mlx5_odp_populate_xlt()
1663 ent->xlt = MLX5_IMR_MTT_ENTRIES * in mlx5_odp_init_mr_cache_entry()
1672 ent->xlt = mlx5_imr_ksm_entries * in mlx5_odp_init_mr_cache_entry()
Dmlx5_ib.h677 u32 xlt; member
1280 void mlx5_odp_populate_xlt(void *xlt, size_t idx, size_t nentries,
1298 static inline void mlx5_odp_populate_xlt(void *xlt, size_t idx, size_t nentries, in mlx5_odp_populate_xlt() argument