Home
last modified time | relevance | path

Searched refs:max_sq_sg (Results 1 – 11 of 11) sorted by relevance

/drivers/infiniband/hw/hns/
Dhns_roce_qp.c341 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()
Dhns_roce_main.c199 props->max_send_sge = hr_dev->caps.max_sq_sg; in hns_roce_query_device()
Dhns_roce_device.h804 u32 max_sq_sg; member
Dhns_roce_hw_v1.c1533 caps->max_sq_sg = HNS_ROCE_V1_SG_NUM; in hns_roce_v1_profile()
Dhns_roce_hw_v2.c1648 caps->max_sq_sg = HNS_ROCE_V2_MAX_SQ_SGE_NUM; in hns_roce_v2_profile()
/drivers/net/ethernet/mellanox/mlx4/
Dfw.h100 int max_sq_sg; member
Dfw.c954 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()
Dmain.c506 dev->caps.max_sq_sg = dev_cap->max_sq_sg; in mlx4_dev_cap()
/drivers/infiniband/hw/mlx4/
Dqp.c333 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()
Dmain.c521 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()
/drivers/infiniband/hw/mlx5/
Dmain.c837 int max_sq_sg; in mlx5_ib_query_device() local
993 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()