Searched refs:max_sq_desc_sz (Results 1 – 8 of 8) sorted by relevance
77 __u16 max_sq_desc_sz; member
222 max_sq_sg = (gen->max_sq_desc_sz - sizeof(struct mlx5_wqe_ctrl_seg)) / in mlx5_ib_query_device()525 resp.max_sq_desc_sz = gen->max_sq_desc_sz; in mlx5_ib_alloc_ucontext()
284 if (wqe_size > gen->max_sq_desc_sz) { in calc_sq_size()286 wqe_size, gen->max_sq_desc_sz); in calc_sq_size()320 if (desc_sz > gen->max_sq_desc_sz) { in set_user_buf_size()322 desc_sz, gen->max_sq_desc_sz); in set_user_buf_size()
91 int max_sq_desc_sz; member
691 dev_cap->max_sq_desc_sz = size; in mlx4_QUERY_DEV_CAP()864 dev_cap->max_sq_desc_sz, dev_cap->max_sq_sg); in mlx4_QUERY_DEV_CAP()
298 dev->caps.max_sq_desc_sz = dev_cap->max_sq_desc_sz; in mlx4_dev_cap()
429 sizeof (struct mlx4_wqe_inline_seg) > dev->dev->caps.max_sq_desc_sz) in set_kernel_sq_size()445 if (s > dev->dev->caps.max_sq_desc_sz) in set_kernel_sq_size()509 qp->sq.max_gs = (min(dev->dev->caps.max_sq_desc_sz, in set_kernel_sq_size()542 ilog2(roundup_pow_of_two(dev->dev->caps.max_sq_desc_sz)) || in set_user_sq_size()
339 gen->max_sq_desc_sz = MLX5_GET_PR(cmd_hca_cap, out, max_wqe_sz_sq); in fw2drv_caps()