Home
last modified time | relevance | path

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

/drivers/infiniband/hw/ipath/
Dipath_srq.c60 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()
Dipath_qp.c636 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()
Dipath_verbs.h317 u8 max_sge; member
499 rq->max_sge * sizeof(struct ib_sge)) * n); in get_rwqe_ptr()
Dipath_verbs.c492 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()
/drivers/infiniband/hw/mlx4/
Dsrq.c84 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()
Dmain.c125 props->max_sge = min(dev->dev->caps.max_sq_sg, in mlx4_ib_query_device()
/drivers/infiniband/hw/mthca/
Dmthca_srq.c209 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()
Dmthca_provider.c100 props->max_sge = mdev->limits.max_sg; in mthca_query_device()
/drivers/infiniband/hw/ehca/
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()
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()
Dehca_hca.c93 props->max_sge = limit_uint(rblock->max_sge); in ehca_query_device()
Dhcp_if.c326 parms->squeue.max_sge) in hipz_h_alloc_resource_qp()
328 parms->rqueue.max_sge); in hipz_h_alloc_resource_qp()
Dhipz_hw.h347 u32 max_sge; member
Dehca_classes.h442 int max_sge; member
/drivers/infiniband/core/
Duverbs_cmd.c378 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()
/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c1499 static void ipoib_cm_create_srq(struct net_device *dev, int max_sge) in ipoib_cm_create_srq() argument
1505 .max_sge = max_sge in ipoib_cm_create_srq()
/drivers/infiniband/hw/nes/
Dnes_verbs.c631 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()
Dnes_hw.h1049 u32 max_sge; member
Dnes_hw.c469 nesadapter->max_sge = 4; in nes_init_adapter()
/drivers/infiniband/hw/amso1100/
Dc2_rnic.c171 props->max_sge = C2_MAX_SGES; in c2_rnic_query()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.c1138 props->max_sge = dev->attr.max_sge_per_wr; in iwch_query_device()