Searched refs:bf_reg_size (Results 1 – 9 of 9) sorted by relevance
58 __u16 bf_reg_size; member69 __u16 bf_reg_size; member
137 __u32 bf_reg_size; member
223 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()
98 int bf_reg_size; member
947 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()
500 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()
279 unsigned int bf_reg_size; in addr_to_dbi_in_syspage() local281 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()
1109 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()
552 int bf_reg_size; member