Searched refs:max_sge (Results 1 – 20 of 20) sorted by relevance
60 if ((unsigned) wr->num_sge > srq->rq.max_sge) { in ipath_post_srq_receive()114 if ((srq_init_attr->attr.max_sge > ib_ipath_max_srq_sges) || in ipath_create_srq()130 srq->rq.max_sge = srq_init_attr->attr.max_sge; in ipath_create_srq()131 sz = sizeof(struct ib_sge) * srq->rq.max_sge + in ipath_create_srq()231 srq->rq.max_sge * sizeof(struct ib_sge); in ipath_modify_srq()350 attr->max_sge = srq->rq.max_sge; in ipath_query_srq()
636 attr->cap.max_recv_sge = qp->r_rq.max_sge; in ipath_query_qp()797 if (srq->rq.max_sge > 1) in ipath_create_qp()799 (srq->rq.max_sge - 1); in ipath_create_qp()821 qp->r_rq.max_sge = 0; in ipath_create_qp()827 qp->r_rq.max_sge = init_attr->cap.max_recv_sge; in ipath_create_qp()828 sz = (sizeof(struct ib_sge) * qp->r_rq.max_sge) + in ipath_create_qp()
317 u8 max_sge; member499 rq->max_sge * sizeof(struct ib_sge)) * n); in get_rwqe_ptr()
492 if ((unsigned) wr->num_sge > qp->r_rq.max_sge) { in ipath_post_receive()1518 props->max_sge = ib_ipath_max_sges; in ipath_query_device()
84 init_attr->attr.max_sge > dev->dev->caps.max_srq_sge) in mlx4_ib_create_srq()94 srq->msrq.max_gs = init_attr->attr.max_sge; in mlx4_ib_create_srq()251 srq_attr->max_sge = srq->msrq.max_gs; in mlx4_ib_query_srq()
125 props->max_sge = min(dev->dev->caps.max_sq_sg, in mlx4_ib_query_device()
209 attr->max_sge > dev->limits.max_srq_sge) in mthca_alloc_srq()213 srq->max_gs = attr->max_sge; in mthca_alloc_srq()297 attr->max_sge = srq->max_gs; in mthca_alloc_srq()433 srq_attr->max_sge = srq->max_gs; in mthca_query_srq()
100 props->max_sge = mdev->limits.max_sg; in mthca_query_device()
598 int max_sge = (qp_type == IB_QPT_UD || qp_type == IB_QPT_SMI in internal_create_qp() local601 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()692 parms.squeue.max_sge = max_send_sge; in internal_create_qp()693 parms.rqueue.max_sge = max_recv_sge; in internal_create_qp()984 qp_init_attr.cap.max_recv_sge = srq_init_attr->attr.max_sge; in ehca_create_srq()992 srq_init_attr->attr.max_sge = 3; in ehca_create_srq()2117 srq_attr->max_sge = 3; in ehca_query_srq()
93 props->max_sge = limit_uint(rblock->max_sge); in ehca_query_device()
326 parms->squeue.max_sge) in hipz_h_alloc_resource_qp()328 parms->rqueue.max_sge); in hipz_h_alloc_resource_qp()
347 u32 max_sge; member
442 int max_sge; member
378 resp.max_sge = attr.max_sge; in ib_uverbs_query_device()1986 attr.attr.max_sge = cmd.max_sge; in ib_uverbs_create_srq()2014 resp.max_sge = attr.attr.max_sge; in ib_uverbs_create_srq()2108 resp.max_sge = attr.max_sge; in ib_uverbs_query_srq()
1499 static void ipoib_cm_create_srq(struct net_device *dev, int max_sge) in ipoib_cm_create_srq() argument1505 .max_sge = max_sge in ipoib_cm_create_srq()
631 props->max_sge = nesdev->nesadapter->max_sge; in nes_query_device()3239 if (ib_wr->num_sge > nesdev->nesadapter->max_sge) { in nes_post_send()3261 if (ib_wr->num_sge > nesdev->nesadapter->max_sge) { in nes_post_send()3264 nesdev->nesadapter->max_sge); in nes_post_send()3375 if (ib_wr->num_sge > nesdev->nesadapter->max_sge) { in nes_post_recv()
1049 u32 max_sge; member
469 nesadapter->max_sge = 4; in nes_init_adapter()
171 props->max_sge = C2_MAX_SGES; in c2_rnic_query()
1138 props->max_sge = dev->attr.max_sge_per_wr; in iwch_query_device()