Home
last modified time | relevance | path

Searched refs:max_rq_sg (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dfw.h102 int max_rq_sg; member
Dmain.c508 dev->caps.max_rq_sg = dev_cap->max_rq_sg; in mlx4_dev_cap()
512 dev->caps.max_srq_sge = dev_cap->max_rq_sg - 1; in mlx4_dev_cap()
Dfw.c1010 dev_cap->max_rq_sg = field; in mlx4_QUERY_DEV_CAP()
1165 dev_cap->max_rq_desc_sz, dev_cap->max_rq_sg); in mlx4_dev_cap_dump()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_qp.c374 cap->max_recv_sge > hr_dev->caps.max_rq_sg) { in set_rq_size()
389 if (hr_dev->caps.max_rq_sg <= HNS_ROCE_SGE_IN_WQE) in set_rq_size()
Dhns_roce_main.c200 props->max_recv_sge = hr_dev->caps.max_rq_sg; in hns_roce_query_device()
Dhns_roce_device.h766 u32 max_rq_sg; member
Dhns_roce_hw_v2.h1586 __le16 max_rq_sg; member
Dhns_roce_hw_v2.c1792 caps->max_rq_sg = HNS_ROCE_V2_MAX_RQ_SGE_NUM; in set_default_caps()
1981 caps->max_rq_sg = le16_to_cpu(resp_a->max_rq_sg); in hns_roce_query_pf_caps()
Dhns_roce_hw_v1.c1459 caps->max_rq_sg = HNS_ROCE_V1_SG_NUM; in hns_roce_v1_profile()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dqp.c307 cap->max_recv_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg)) in set_rq_size()
316 u32 max_inl_recv_sz = dev->dev->caps.max_rq_sg * in set_rq_size()
340 dev->dev->caps.max_rq_sg)); in set_rq_size()
353 cap->max_send_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg) || in set_kernel_sq_size()
404 dev->dev->caps.max_rq_sg)); in set_kernel_sq_size()
Dmain.c537 min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg); in mlx4_ib_query_device()
539 min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg); in mlx4_ib_query_device()
594 resp.max_inl_recv_sz = dev->dev->caps.max_rq_sg * in mlx4_ib_query_device()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmain.c789 int max_rq_sg; in mlx5_ib_query_device() local
945 max_rq_sg = MLX5_CAP_GEN(mdev, max_wqe_sz_rq) / in mlx5_ib_query_device()
952 props->max_recv_sge = max_rq_sg; in mlx5_ib_query_device()
964 props->max_srq_sge = max_rq_sg - 1; in mlx5_ib_query_device()
/kernel/linux/linux-5.10/include/linux/mlx4/
Ddevice.h555 int max_rq_sg; member