Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddm.c34 BIT(MLX5_CAP_DEV_MEM(dev, log_steering_sw_icm_size) - in mlx5_dm_create()
46 BIT(MLX5_CAP_DEV_MEM(dev, log_header_modify_sw_icm_size) - in mlx5_dm_create()
76 BIT(MLX5_CAP_DEV_MEM(dev, log_steering_sw_icm_size) - in mlx5_dm_cleanup()
83 BIT(MLX5_CAP_DEV_MEM(dev, in mlx5_dm_cleanup()
124 log_icm_size = MLX5_CAP_DEV_MEM(dev, log_steering_sw_icm_size); in mlx5_dm_sw_icm_alloc()
129 log_icm_size = MLX5_CAP_DEV_MEM(dev, in mlx5_dm_sw_icm_alloc()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dcmd.c54 u64 num_memic_hw_pages = MLX5_CAP_DEV_MEM(dev, memic_bar_size) in mlx5_cmd_alloc_memic()
57 u32 max_alignment = MLX5_CAP_DEV_MEM(dev, log_max_memic_addr_alignment); in mlx5_cmd_alloc_memic()
Dmain.c943 if (MLX5_CAP_DEV_MEM(mdev, memic)) { in mlx5_ib_query_device()
945 MLX5_CAP_DEV_MEM(mdev, max_memic_size); in mlx5_ib_query_device()
2354 if (!MLX5_CAP_DEV_MEM(dev->mdev, memic)) in check_dm_type_support()
4212 if (MLX5_CAP_DEV_MEM(mdev, memic) || in mlx5_ib_stage_caps_init()
/kernel/linux/linux-5.10/include/linux/mlx5/
Ddevice.h1151 MLX5_CAP_DEV_MEM, enumerator
1354 #define MLX5_CAP_DEV_MEM(mdev, cap)\ macro
1355 MLX5_GET(device_mem_cap, mdev->caps.hca_cur[MLX5_CAP_DEV_MEM], cap)
1358 MLX5_GET64(device_mem_cap, mdev->caps.hca_cur[MLX5_CAP_DEV_MEM], cap)
Ddriver.h671 #define MLX5_LOG_SW_ICM_BLOCK_SIZE(dev) (MLX5_CAP_DEV_MEM(dev, log_sw_icm_alloc_granularity))
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dfw.c229 err = mlx5_core_get_caps(dev, MLX5_CAP_DEV_MEM); in mlx5_query_hca_caps()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c126 caps->log_icm_size = MLX5_CAP_DEV_MEM(mdev, log_steering_sw_icm_size); in mlx5dr_cmd_query_device()