Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dfw.h102 int max_rq_sg; member
Dmain.c503 dev->caps.max_rq_sg = dev_cap->max_rq_sg; in mlx4_dev_cap()
507 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()
/linux-6.12.1/drivers/infiniband/hw/mlx4/
Dqp.c342 cap->max_recv_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg)) in set_rq_size()
351 u32 max_inl_recv_sz = dev->dev->caps.max_rq_sg * in set_rq_size()
375 dev->dev->caps.max_rq_sg)); in set_rq_size()
388 cap->max_send_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg) || in set_kernel_sq_size()
439 dev->dev->caps.max_rq_sg)); in set_kernel_sq_size()
Dmain.c535 min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg); in mlx4_ib_query_device()
537 min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg); in mlx4_ib_query_device()
592 resp.max_inl_recv_sz = dev->dev->caps.max_rq_sg * in mlx4_ib_query_device()
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dmain.c877 int max_rq_sg; in mlx5_ib_query_device() local
1027 max_rq_sg = MLX5_CAP_GEN(mdev, max_wqe_sz_rq) / in mlx5_ib_query_device()
1034 props->max_recv_sge = max_rq_sg; in mlx5_ib_query_device()
1046 props->max_srq_sge = max_rq_sg - 1; in mlx5_ib_query_device()
/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_device.h741 u32 max_rq_sg; member
Dhns_roce_main.c185 props->max_recv_sge = hr_dev->caps.max_rq_sg; in hns_roce_query_device()
Dhns_roce_hw_v2.h1168 __le16 max_rq_sg; member
Dhns_roce_qp.c424 u32 max_sge = dev->caps.max_rq_sg; in proc_rq_sge()
Dhns_roce_hw_v2.c2193 caps->max_rq_sg = le16_to_cpu(resp_a->max_rq_sg); in hns_roce_query_caps()
2194 caps->max_rq_sg = roundup_pow_of_two(caps->max_rq_sg); in hns_roce_query_caps()
/linux-6.12.1/include/linux/mlx4/
Ddevice.h555 int max_rq_sg; member