Searched refs:srq_attr (Results 1 – 11 of 11) sorted by relevance
/drivers/infiniband/hw/mlx4/ |
D | srq.c | 260 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()
|
D | mlx4_ib.h | 754 int mlx4_ib_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
|
/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 388 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()
|
D | mthca_dev.h | 517 int mthca_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
|
/drivers/infiniband/hw/mlx5/ |
D | srq.c | 374 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()
|
D | mlx5_ib.h | 751 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr);
|
/drivers/nvme/target/ |
D | rdma.c | 791 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/ |
D | ib_srpt.c | 2463 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/ |
D | ocrdma_hw.c | 2757 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()
|
D | ocrdma_verbs.c | 1946 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/ |
D | verbs.c | 636 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()
|