Home
last modified time | relevance | path

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

/drivers/infiniband/hw/mlx5/
Duser.h77 __u16 max_sq_desc_sz; member
Dmain.c222 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()
Dqp.c284 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()
/drivers/net/ethernet/mellanox/mlx4/
Dfw.h91 int max_sq_desc_sz; member
Dfw.c691 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()
Dmain.c298 dev->caps.max_sq_desc_sz = dev_cap->max_sq_desc_sz; in mlx4_dev_cap()
/drivers/infiniband/hw/mlx4/
Dqp.c429 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()
/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c339 gen->max_sq_desc_sz = MLX5_GET_PR(cmd_hca_cap, out, max_wqe_sz_sq); in fw2drv_caps()