Searched refs:xlt (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
H A D | umr.c | 480 static void mlx5r_umr_free_xlt(void *xlt, size_t length) in mlx5r_umr_free_xlt() argument 482 if (xlt == xlt_emergency_page) { in mlx5r_umr_free_xlt() 487 free_pages((unsigned long)xlt, get_order(length)); in mlx5r_umr_free_xlt() 490 static void mlx5r_umr_unmap_free_xlt(struct mlx5_ib_dev *dev, void *xlt, in mlx5r_umr_unmap_free_xlt() argument 496 mlx5r_umr_free_xlt(xlt, sg->length); in mlx5r_umr_unmap_free_xlt() 508 void *xlt; in mlx5r_umr_create_xlt() local 510 xlt = mlx5r_umr_alloc_xlt(&nents, ent_size, in mlx5r_umr_create_xlt() 514 dma = dma_map_single(ddev, xlt, sg->length, DMA_TO_DEVICE); in mlx5r_umr_create_xlt() 517 mlx5r_umr_free_xlt(xlt, sg->length); in mlx5r_umr_create_xlt() 523 return xlt; in mlx5r_umr_create_xlt() 706 void *xlt; mlx5r_umr_update_xlt() local [all...] |
H A D | mlx5_ib.h | 1401 void mlx5_odp_populate_xlt(void *xlt, size_t idx, size_t nentries, 1423 static inline void mlx5_odp_populate_xlt(void *xlt, size_t idx, size_t nentries, in mlx5_odp_populate_xlt() argument
|
H A D | odp.c | 174 void mlx5_odp_populate_xlt(void *xlt, size_t idx, size_t nentries, in mlx5_odp_populate_xlt() argument 178 populate_klm(xlt, idx, nentries, mr, flags); in mlx5_odp_populate_xlt() 180 populate_mtt(xlt, idx, nentries, mr, flags); in mlx5_odp_populate_xlt() 662 * update of the xlt before exiting to ensure the HW and the in pagefault_implicit_mr()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
H A D | mr.c | 185 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, siz in mlx5_ib_update_xlt() [all...] |
H A D | odp.c | 176 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() 772 * update of the xlt before exiting to ensure the HW and the in pagefault_implicit_mr() 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()
|
H A D | mlx5_ib.h | 677 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
|
Completed in 16 milliseconds