Home
last modified time | relevance | path

Searched refs:max_sge (Results 1 – 25 of 40) sorted by relevance

12

/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_srq.c61 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()
Dqib_qp.c867 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()
Dqib_verbs.h372 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/
Dipath_srq.c61 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()
Dipath_qp.c638 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()
Dipath_verbs.h317 u8 max_sge; member
499 rq->max_sge * sizeof(struct ib_sge)) * n); in get_rwqe_ptr()
/linux-3.4.99/net/rds/
Diw.c86 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()
Dib.c150 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()
Dib_send.c885 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()
Diw_send.c839 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()
Diw.h186 int max_sge; member
Dib.h180 int max_sge; member
/linux-3.4.99/include/rdma/
Dib_user_verbs.h153 __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/
Dsrq.c88 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/
Dmthca_srq.c208 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/
Dehca_hca.c95 props->max_sge = limit_uint(rblock->max_sge); in ehca_query_device()
Dehca_qp.c598 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()
Dhipz_hw.h347 u32 max_sge; member
Dehca_classes.h443 int max_sge; member
Dhcp_if.c339 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/
Duverbs_cmd.c413 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/
Dmvumi.h467 unsigned short max_sge; member
Dmvumi.c214 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/
Dipoib_cm.c1501 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/
Dc2_rnic.c172 props->max_sge = C2_MAX_SGES; in c2_rnic_query()

12