Home
last modified time | relevance | path

Searched refs:srq_attr (Results 1 – 11 of 11) sorted by relevance

/drivers/infiniband/hw/mlx4/
Dsrq.c260 int mlx4_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mlx4_ib_query_srq() argument
271 srq_attr->srq_limit = limit_watermark; in mlx4_ib_query_srq()
272 srq_attr->max_wr = srq->msrq.max - 1; in mlx4_ib_query_srq()
273 srq_attr->max_sge = srq->msrq.max_gs; in mlx4_ib_query_srq()
Dmlx4_ib.h754 int mlx4_ib_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
/drivers/infiniband/hw/mthca/
Dmthca_srq.c388 int mthca_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mthca_query_srq() argument
407 srq_attr->srq_limit = be16_to_cpu(arbel_ctx->limit_watermark); in mthca_query_srq()
410 srq_attr->srq_limit = be16_to_cpu(tavor_ctx->limit_watermark); in mthca_query_srq()
413 srq_attr->max_wr = srq->max - 1; in mthca_query_srq()
414 srq_attr->max_sge = srq->max_gs; in mthca_query_srq()
Dmthca_dev.h517 int mthca_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
/drivers/infiniband/hw/mlx5/
Dsrq.c374 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mlx5_ib_query_srq() argument
389 srq_attr->srq_limit = out->lwm; in mlx5_ib_query_srq()
390 srq_attr->max_wr = srq->msrq.max - 1; in mlx5_ib_query_srq()
391 srq_attr->max_sge = srq->msrq.max_gs; in mlx5_ib_query_srq()
Dmlx5_ib.h751 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr);
/drivers/nvme/target/
Drdma.c791 struct ib_srq_init_attr srq_attr = { NULL, }; in nvmet_rdma_init_srq() local
798 srq_attr.attr.max_wr = srq_size; in nvmet_rdma_init_srq()
799 srq_attr.attr.max_sge = 2; in nvmet_rdma_init_srq()
800 srq_attr.attr.srq_limit = 0; in nvmet_rdma_init_srq()
801 srq_attr.srq_type = IB_SRQT_BASIC; in nvmet_rdma_init_srq()
802 srq = ib_create_srq(ndev->pd, &srq_attr); in nvmet_rdma_init_srq()
/drivers/infiniband/ulp/srpt/
Dib_srpt.c2463 struct ib_srq_init_attr srq_attr; in srpt_add_one() local
2484 srq_attr.event_handler = srpt_srq_event; in srpt_add_one()
2485 srq_attr.srq_context = (void *)sdev; in srpt_add_one()
2486 srq_attr.attr.max_wr = sdev->srq_size; in srpt_add_one()
2487 srq_attr.attr.max_sge = 1; in srpt_add_one()
2488 srq_attr.attr.srq_limit = 0; in srpt_add_one()
2489 srq_attr.srq_type = IB_SRQT_BASIC; in srpt_add_one()
2491 sdev->srq = ib_create_srq(sdev->pd, &srq_attr); in srpt_add_one()
/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c2757 struct ib_srq_init_attr *srq_attr, in ocrdma_mbx_create_srq() argument
2774 max_rqe_allocated = srq_attr->attr.max_wr + 1; in ocrdma_mbx_create_srq()
2780 srq_attr->attr.max_wr); in ocrdma_mbx_create_srq()
2798 cmd->max_sge_rqe |= srq_attr->attr.max_sge << in ocrdma_mbx_create_srq()
2831 int ocrdma_mbx_modify_srq(struct ocrdma_srq *srq, struct ib_srq_attr *srq_attr) in ocrdma_mbx_modify_srq() argument
2842 cmd->limit_max_rqe |= srq_attr->srq_limit << in ocrdma_mbx_modify_srq()
2849 int ocrdma_mbx_query_srq(struct ocrdma_srq *srq, struct ib_srq_attr *srq_attr) in ocrdma_mbx_query_srq() argument
2863 srq_attr->max_sge = in ocrdma_mbx_query_srq()
2866 srq_attr->max_wr = in ocrdma_mbx_query_srq()
2868 srq_attr->srq_limit = rsp->srq_lmt_max_sge >> in ocrdma_mbx_query_srq()
Docrdma_verbs.c1946 struct ib_srq_attr *srq_attr, in ocrdma_modify_srq() argument
1957 status = ocrdma_mbx_modify_srq(srq, srq_attr); in ocrdma_modify_srq()
1961 int ocrdma_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in ocrdma_query_srq() argument
1967 status = ocrdma_mbx_query_srq(srq, srq_attr); in ocrdma_query_srq()
/drivers/infiniband/core/
Dverbs.c636 struct ib_srq_attr *srq_attr, in ib_modify_srq() argument
640 srq->device->modify_srq(srq, srq_attr, srq_attr_mask, NULL) : in ib_modify_srq()
646 struct ib_srq_attr *srq_attr) in ib_query_srq() argument
649 srq->device->query_srq(srq, srq_attr) : -ENOSYS; in ib_query_srq()