Home
last modified time | relevance | path

Searched refs:bf_reg_size (Results 1 – 9 of 9) sorted by relevance

/linux/include/uapi/rdma/
H A Dmlx4-abi.h58 __u16 bf_reg_size; member
69 __u16 bf_reg_size; member
H A Dmlx5-abi.h137 __u32 bf_reg_size; member
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dpd.c223 bf->buf_size = dev->caps.bf_reg_size / 2; in mlx4_bf_alloc()
224 bf->reg = uar->bf_map + idx * dev->caps.bf_reg_size; in mlx4_bf_alloc()
255 idx = (bf->reg - bf->uar->bf_map) / dev->caps.bf_reg_size; in mlx4_bf_free()
H A Dfw.h98 int bf_reg_size; member
H A Dfw.c947 dev_cap->bf_reg_size = 1 << (field & 0x1f); in mlx4_QUERY_DEV_CAP()
949 if ((1 << (field & 0x3f)) > (PAGE_SIZE / dev_cap->bf_reg_size)) in mlx4_QUERY_DEV_CAP()
953 dev_cap->bf_reg_size = 0; in mlx4_QUERY_DEV_CAP()
1132 if (dev_cap->bf_reg_size > 0) in mlx4_dev_cap_dump()
1134 dev_cap->bf_reg_size, dev_cap->bf_regs_per_page); in mlx4_dev_cap_dump()
H A Dmain.c500 dev->caps.bf_reg_size = dev_cap->bf_reg_size; in mlx4_dev_cap()
717 (dev->caps.bf_reg_size ? MLX4_RESERVE_ETH_BF_QP : 0) | in mlx4_dev_cap()
1073 dev->caps.bf_reg_size) in mlx4_slave_cap()
1908 if (!dev->caps.bf_reg_size) in map_bf_area()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Duar.c279 unsigned int bf_reg_size; in addr_to_dbi_in_syspage() local
281 bf_reg_size = 1 << MLX5_CAP_GEN(dev, log_bf_reg_size); in addr_to_dbi_in_syspage()
284 bfreg_idx = (((uintptr_t)bfreg->map % MLX5_ADAPTER_PAGE_SIZE) - MLX5_BF_OFFSET) / bf_reg_size; in addr_to_dbi_in_syspage()
/linux/drivers/infiniband/hw/mlx4/
H A Dmain.c1109 resp_v3.bf_reg_size = dev->dev->caps.bf_reg_size; in mlx4_ib_alloc_ucontext()
1114 resp.bf_reg_size = dev->dev->caps.bf_reg_size; in mlx4_ib_alloc_ucontext()
1166 if (dev->dev->caps.bf_reg_size == 0) in mlx4_ib_mmap()
/linux/include/linux/mlx4/
H A Ddevice.h552 int bf_reg_size; member