Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/mlx5/
Ddevice.h1230 MLX5_CAP_ODP, enumerator
1391 #define MLX5_CAP_ODP(mdev, cap)\ macro
1392 MLX5_GET(odp_cap, mdev->caps.hca[MLX5_CAP_ODP]->cur, cap)
1395 (MLX5_GET(odp_cap, mdev->caps.hca[MLX5_CAP_ODP]->cur, \
1397 MLX5_GET(odp_cap, mdev->caps.hca[MLX5_CAP_ODP]->cur, \
1399 MLX5_GET(odp_cap, mdev->caps.hca[MLX5_CAP_ODP]->cur, \
1403 MLX5_GET(odp_cap, mdev->caps.hca[MLX5_CAP_ODP]->max, cap)
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dodp.c112 int step = MLX5_CAP_ODP(dev, mem_page_fault) ? MLX5_IMR_MTT_SIZE : 0; in populate_klm()
113 __be32 key = MLX5_CAP_ODP(dev, mem_page_fault) ? in populate_klm()
117 MLX5_CAP_ODP(dev, mem_page_fault) ? idx * MLX5_IMR_MTT_SIZE : 0; in populate_klm()
235 if (MLX5_CAP_ODP(mr_to_mdev(mr)->mdev, mem_page_fault)) in destroy_unused_implicit_child_mr()
505 if (MLX5_CAP_ODP(dev->mdev, mem_page_fault)) { in implicit_get_child_mr()
608 if (MLX5_CAP_ODP(dev->mdev, mem_page_fault)) { in mlx5_ib_alloc_implicit_mr()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c465 err = mlx5_core_get_caps(dev, MLX5_CAP_ODP); in handle_hca_cap_odp()
470 memcpy(set_hca_cap, dev->caps.hca[MLX5_CAP_ODP]->cur, in handle_hca_cap_odp()
1773 MLX5_CAP_ODP,
Dfw.c177 err = mlx5_core_get_caps_mode(dev, MLX5_CAP_ODP, HCA_CAP_OPMOD_GET_CUR); in mlx5_query_hca_caps()