Searched refs:max_sq_sg (Results 1 – 11 of 11) sorted by relevance
341 if (cap->max_send_sge > hr_dev->caps.max_sq_sg) { in check_sq_size_with_integrity()373 if (hr_dev->caps.max_sq_sg <= 2) in hns_roce_set_user_sq_size()395 if (hr_dev->caps.max_sq_sg <= 2) { in hns_roce_set_user_sq_size()533 if (hr_dev->caps.max_sq_sg > 2 && hr_qp->ibqp.qp_type == IB_QPT_GSI) { in set_extend_sge_param()561 cap->max_send_sge > hr_dev->caps.max_sq_sg || in hns_roce_set_kernel_sq_size()582 if (hr_dev->caps.max_sq_sg <= 2) in hns_roce_set_kernel_sq_size()599 if (hr_dev->caps.max_sq_sg > 2 && hr_qp->sge.sge_cnt) { in hns_roce_set_kernel_sq_size()1061 if (hr_dev->caps.max_sq_sg <= 2) in hns_roce_create_qp()
199 props->max_send_sge = hr_dev->caps.max_sq_sg; in hns_roce_query_device()
804 u32 max_sq_sg; member
1533 caps->max_sq_sg = HNS_ROCE_V1_SG_NUM; in hns_roce_v1_profile()
1648 caps->max_sq_sg = HNS_ROCE_V2_MAX_SQ_SGE_NUM; in hns_roce_v2_profile()
100 int max_sq_sg; member
954 dev_cap->max_sq_sg = field; in mlx4_QUERY_DEV_CAP()1160 dev_cap->max_sq_desc_sz, dev_cap->max_sq_sg); in mlx4_dev_cap_dump()
506 dev->caps.max_sq_sg = dev_cap->max_sq_sg; in mlx4_dev_cap()
333 cap->max_recv_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg)) in set_rq_size()365 min(dev->dev->caps.max_sq_sg, in set_rq_size()379 cap->max_send_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg) || in set_kernel_sq_size()390 cap->max_send_sge + 2 > dev->dev->caps.max_sq_sg) in set_kernel_sq_size()429 min(dev->dev->caps.max_sq_sg, in set_kernel_sq_size()
521 min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg); in mlx4_ib_query_device()523 min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg); in mlx4_ib_query_device()
837 int max_sq_sg; in mlx5_ib_query_device() local993 max_sq_sg = (max_sq_desc - sizeof(struct mlx5_wqe_ctrl_seg) - in mlx5_ib_query_device()996 props->max_send_sge = max_sq_sg; in mlx5_ib_query_device()