Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/mthca/
H A Dmthca_srq.c396 int mthca_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mthca_query_srq() argument
415 srq_attr->srq_limit = be16_to_cpu(arbel_ctx->limit_watermark); in mthca_query_srq()
418 srq_attr->srq_limit = be16_to_cpu(tavor_ctx->limit_watermark); in mthca_query_srq()
421 srq_attr->max_wr = srq->max - 1; in mthca_query_srq()
422 srq_attr->max_sge = srq->max_gs; in mthca_query_srq()
H A Dmthca_dev.h507 int mthca_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.c2739 struct ib_srq_init_attr *srq_attr, in ocrdma_mbx_create_srq() argument
2756 max_rqe_allocated = srq_attr->attr.max_wr + 1; in ocrdma_mbx_create_srq()
2762 srq_attr->attr.max_wr); in ocrdma_mbx_create_srq()
2780 cmd->max_sge_rqe |= srq_attr->attr.max_sge << in ocrdma_mbx_create_srq()
2813 int ocrdma_mbx_modify_srq(struct ocrdma_srq *srq, struct ib_srq_attr *srq_attr) in ocrdma_mbx_modify_srq() argument
2824 cmd->limit_max_rqe |= srq_attr->srq_limit << in ocrdma_mbx_modify_srq()
2831 int ocrdma_mbx_query_srq(struct ocrdma_srq *srq, struct ib_srq_attr *srq_attr) in ocrdma_mbx_query_srq() argument
2845 srq_attr->max_sge = in ocrdma_mbx_query_srq()
2848 srq_attr->max_wr = in ocrdma_mbx_query_srq()
2850 srq_attr->srq_limit = rsp->srq_lmt_max_sge >> in ocrdma_mbx_query_srq()