Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddm.c39 BIT(MLX5_CAP_DEV_MEM(dev, log_steering_sw_icm_size) - in mlx5_dm_create()
50 BIT(MLX5_CAP_DEV_MEM(dev, log_header_modify_sw_icm_size) - in mlx5_dm_create()
59 if (MLX5_CAP_DEV_MEM(dev, log_indirect_encap_sw_icm_size)) { in mlx5_dm_create()
61 BIT(MLX5_CAP_DEV_MEM(dev, log_indirect_encap_sw_icm_size) - in mlx5_dm_create()
76 BIT(MLX5_CAP_DEV_MEM(dev, log_header_modify_pattern_sw_icm_size) - in mlx5_dm_create()
111 BIT(MLX5_CAP_DEV_MEM(dev, log_steering_sw_icm_size) - in mlx5_dm_cleanup()
118 BIT(MLX5_CAP_DEV_MEM(dev, in mlx5_dm_cleanup()
126 BIT(MLX5_CAP_DEV_MEM(dev, in mlx5_dm_cleanup()
134 BIT(MLX5_CAP_DEV_MEM(dev, in mlx5_dm_cleanup()
175 log_icm_size = MLX5_CAP_DEV_MEM(dev, log_steering_sw_icm_size); in mlx5_dm_sw_icm_alloc()
[all …]
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Ddm.c16 u64 num_memic_hw_pages = MLX5_CAP_DEV_MEM(dev, memic_bar_size) in mlx5_cmd_alloc_memic()
19 u32 max_alignment = MLX5_CAP_DEV_MEM(dev, log_max_memic_addr_alignment); in mlx5_cmd_alloc_memic()
223 if (!(MLX5_CAP_DEV_MEM(dev->mdev, memic_operations) & BIT(op))) in UVERBS_HANDLER()
285 if (!MLX5_CAP_DEV_MEM(dm_db->dev, memic)) in handle_alloc_dm_memic()
Dmain.c1009 if (MLX5_CAP_DEV_MEM(mdev, memic)) { in mlx5_ib_query_device()
1011 MLX5_CAP_DEV_MEM(mdev, max_memic_size); in mlx5_ib_query_device()
4224 if (MLX5_CAP_DEV_MEM(mdev, memic) || in mlx5_ib_stage_caps_init()
/linux-6.12.1/include/linux/mlx5/
Ddevice.h1241 MLX5_CAP_DEV_MEM, enumerator
1444 #define MLX5_CAP_DEV_MEM(mdev, cap)\ macro
1445 MLX5_GET(device_mem_cap, mdev->caps.hca[MLX5_CAP_DEV_MEM]->cur, cap)
1448 MLX5_GET64(device_mem_cap, mdev->caps.hca[MLX5_CAP_DEV_MEM]->cur, cap)
Ddriver.h743 #define MLX5_LOG_SW_ICM_BLOCK_SIZE(dev) (MLX5_CAP_DEV_MEM(dev, log_sw_icm_alloc_granularity))
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c214 caps->log_icm_size = MLX5_CAP_DEV_MEM(mdev, log_steering_sw_icm_size); in mlx5dr_cmd_query_device()
219 MLX5_CAP_DEV_MEM(mdev, log_header_modify_pattern_sw_icm_size); in mlx5dr_cmd_query_device()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dfw.c234 err = mlx5_core_get_caps_mode(dev, MLX5_CAP_DEV_MEM, HCA_CAP_OPMOD_GET_CUR); in mlx5_query_hca_caps()
Dmain.c1782 MLX5_CAP_DEV_MEM,