/linux-3.4.99/drivers/infiniband/hw/qib/ |
D | qib_srq.c | 61 if ((unsigned) wr->num_sge > srq->rq.max_sge) { in qib_post_srq_receive() 115 if (srq_init_attr->attr.max_sge == 0 || in qib_create_srq() 116 srq_init_attr->attr.max_sge > ib_qib_max_srq_sges || in qib_create_srq() 133 srq->rq.max_sge = srq_init_attr->attr.max_sge; in qib_create_srq() 134 sz = sizeof(struct ib_sge) * srq->rq.max_sge + in qib_create_srq() 233 srq->rq.max_sge * sizeof(struct ib_sge); in qib_modify_srq() 356 attr->max_sge = srq->rq.max_sge; in qib_query_srq()
|
D | qib_qp.c | 867 attr->cap.max_recv_sge = qp->r_rq.max_sge; in qib_query_qp() 1029 if (srq->rq.max_sge > 1) in qib_create_qp() 1031 (srq->rq.max_sge - 1); in qib_create_qp() 1048 qp->r_rq.max_sge = init_attr->cap.max_recv_sge; in qib_create_qp() 1049 sz = (sizeof(struct ib_sge) * qp->r_rq.max_sge) + in qib_create_qp()
|
D | qib_verbs.h | 372 u8 max_sge; member 602 rq->max_sge * sizeof(struct ib_sge)) * n); in get_rwqe_ptr()
|
/linux-3.4.99/drivers/infiniband/hw/ipath/ |
D | ipath_srq.c | 61 if ((unsigned) wr->num_sge > srq->rq.max_sge) { in ipath_post_srq_receive() 120 if ((srq_init_attr->attr.max_sge > ib_ipath_max_srq_sges) || in ipath_create_srq() 136 srq->rq.max_sge = srq_init_attr->attr.max_sge; in ipath_create_srq() 137 sz = sizeof(struct ib_sge) * srq->rq.max_sge + in ipath_create_srq() 237 srq->rq.max_sge * sizeof(struct ib_sge); in ipath_modify_srq() 356 attr->max_sge = srq->rq.max_sge; in ipath_query_srq()
|
D | ipath_qp.c | 638 attr->cap.max_recv_sge = qp->r_rq.max_sge; in ipath_query_qp() 799 if (srq->rq.max_sge > 1) in ipath_create_qp() 801 (srq->rq.max_sge - 1); in ipath_create_qp() 823 qp->r_rq.max_sge = 0; in ipath_create_qp() 829 qp->r_rq.max_sge = init_attr->cap.max_recv_sge; in ipath_create_qp() 830 sz = (sizeof(struct ib_sge) * qp->r_rq.max_sge) + in ipath_create_qp()
|
D | ipath_verbs.h | 317 u8 max_sge; member 499 rq->max_sge * sizeof(struct ib_sge)) * n); in get_rwqe_ptr()
|
/linux-3.4.99/net/rds/ |
D | iw.c | 86 rds_iwdev->max_sge = min(dev_attr->max_sge, RDS_IW_MAX_SGE); in rds_iw_add_one() 195 iinfo->max_send_sge = rds_iwdev->max_sge; in rds_iw_conn_info_visitor()
|
D | ib.c | 150 rds_ibdev->max_sge = min(dev_attr->max_sge, RDS_IB_MAX_SGE); in rds_ib_add_one() 294 iinfo->max_send_sge = rds_ibdev->max_sge; in rds_ib_conn_info_visitor()
|
D | ib_send.c | 885 u32 max_sge = ic->rds_ibdev->max_sge; in rds_ib_xmit_rdma() local 914 i = ceil(op->op_count, max_sge); in rds_ib_xmit_rdma() 942 if (num_sge > max_sge) { in rds_ib_xmit_rdma() 943 send->s_wr.num_sge = max_sge; in rds_ib_xmit_rdma() 944 num_sge -= max_sge; in rds_ib_xmit_rdma()
|
D | iw_send.c | 839 i = ceil(op->op_count, rds_iwdev->max_sge); in rds_iw_xmit_rdma() 886 if (num_sge > rds_iwdev->max_sge) { in rds_iw_xmit_rdma() 887 send->s_wr.num_sge = rds_iwdev->max_sge; in rds_iw_xmit_rdma() 888 num_sge -= rds_iwdev->max_sge; in rds_iw_xmit_rdma()
|
D | iw.h | 186 int max_sge; member
|
D | ib.h | 180 int max_sge; member
|
/linux-3.4.99/include/rdma/ |
D | ib_user_verbs.h | 153 __u32 max_sge; member 676 __u32 max_sge; member 687 __u32 max_sge; member 698 __u32 max_sge; member 719 __u32 max_sge; member
|
/linux-3.4.99/drivers/infiniband/hw/mlx4/ |
D | srq.c | 88 init_attr->attr.max_sge > dev->dev->caps.max_srq_sge) in mlx4_ib_create_srq() 98 srq->msrq.max_gs = init_attr->attr.max_sge; in mlx4_ib_create_srq() 266 srq_attr->max_sge = srq->msrq.max_gs; in mlx4_ib_query_srq()
|
/linux-3.4.99/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 208 attr->max_sge > dev->limits.max_srq_sge) in mthca_alloc_srq() 212 srq->max_gs = attr->max_sge; in mthca_alloc_srq() 290 attr->max_sge = srq->max_gs; in mthca_alloc_srq() 414 srq_attr->max_sge = srq->max_gs; in mthca_query_srq()
|
/linux-3.4.99/drivers/infiniband/hw/ehca/ |
D | ehca_hca.c | 95 props->max_sge = limit_uint(rblock->max_sge); in ehca_query_device()
|
D | ehca_qp.c | 598 int max_sge = (qp_type == IB_QPT_UD || qp_type == IB_QPT_SMI in internal_create_qp() local 601 if (init_attr->cap.max_send_sge > max_sge in internal_create_qp() 602 || init_attr->cap.max_recv_sge > max_sge) { in internal_create_qp() 606 init_attr->cap.max_recv_sge, max_sge); in internal_create_qp() 694 parms.squeue.max_sge = max_send_sge; in internal_create_qp() 695 parms.rqueue.max_sge = max_recv_sge; in internal_create_qp() 992 qp_init_attr.cap.max_recv_sge = srq_init_attr->attr.max_sge; in ehca_create_srq() 1000 srq_init_attr->attr.max_sge = 3; in ehca_create_srq() 2123 srq_attr->max_sge = 3; in ehca_query_srq()
|
D | hipz_hw.h | 347 u32 max_sge; member
|
D | ehca_classes.h | 443 int max_sge; member
|
D | hcp_if.c | 339 parms->squeue.max_sge) in hipz_h_alloc_resource_qp() 341 parms->rqueue.max_sge); in hipz_h_alloc_resource_qp()
|
/linux-3.4.99/drivers/infiniband/core/ |
D | uverbs_cmd.c | 413 resp.max_sge = attr.max_sge; in ib_uverbs_query_device() 2509 attr.attr.max_sge = cmd->max_sge; in __uverbs_create_xsrq() 2546 resp.max_sge = attr.attr.max_sge; in __uverbs_create_xsrq() 2617 xcmd.max_sge = cmd.max_sge; in ib_uverbs_create_srq() 2716 resp.max_sge = attr.max_sge; in ib_uverbs_query_srq()
|
/linux-3.4.99/drivers/scsi/ |
D | mvumi.h | 467 unsigned short max_sge; member
|
D | mvumi.c | 214 if (*sg_count > mhba->max_sge) { in mvumi_make_sgl() 217 *sg_count, mhba->max_sge); in mvumi_make_sgl() 1708 mhba->max_sge = MVUMI_MAX_SG_ENTRY; in mvumi_init_fw() 1765 host->sg_tablesize = mhba->max_sge > max_sg ? max_sg : mhba->max_sge; in mvumi_io_attach()
|
/linux-3.4.99/drivers/infiniband/ulp/ipoib/ |
D | ipoib_cm.c | 1501 static void ipoib_cm_create_srq(struct net_device *dev, int max_sge) in ipoib_cm_create_srq() argument 1508 .max_sge = max_sge in ipoib_cm_create_srq()
|
/linux-3.4.99/drivers/infiniband/hw/amso1100/ |
D | c2_rnic.c | 172 props->max_sge = C2_MAX_SGES; in c2_rnic_query()
|