Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Dfw.h100 int max_sq_sg; member
Dfw.c957 dev_cap->max_sq_sg = field; in mlx4_QUERY_DEV_CAP()
1163 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()
/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_qp.c572 hr_qp->sq.max_gs = min(hr_qp->sq.max_gs, hr_dev->caps.max_sq_sg); in set_ext_sge_param()
577 hr_qp->sq.max_gs = min(hr_qp->sq.max_gs, hr_dev->caps.max_sq_sg); in set_ext_sge_param()
607 if (cap->max_send_sge > hr_dev->caps.max_sq_sg) { in check_sq_size_with_integrity()
702 cap->max_send_sge > hr_dev->caps.max_sq_sg) { in set_kernel_sq_size()
Dhns_roce_device.h713 u32 max_sq_sg; member
Dhns_roce_main.c182 props->max_send_sge = hr_dev->caps.max_sq_sg; in hns_roce_query_device()
Dhns_roce_hw_v2.h1141 __le16 max_sq_sg; member
Dhns_roce_hw_v2.c2151 caps->max_sq_sg = le16_to_cpu(resp_a->max_sq_sg); in hns_roce_query_caps()
/linux-6.6.21/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()
374 min(dev->dev->caps.max_sq_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()
399 cap->max_send_sge + 2 > dev->dev->caps.max_sq_sg) in set_kernel_sq_size()
438 min(dev->dev->caps.max_sq_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()
/linux-6.6.21/include/linux/mlx4/
Ddevice.h554 int max_sq_sg; member
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dmain.c827 int max_sq_sg; in mlx5_ib_query_device() local
979 max_sq_sg = (max_sq_desc - sizeof(struct mlx5_wqe_ctrl_seg) - in mlx5_ib_query_device()
982 props->max_send_sge = max_sq_sg; in mlx5_ib_query_device()