Lines Matching refs:rcfw
612 static int __qplib_destroy_srq(struct bnxt_qplib_rcfw *rcfw, in __qplib_destroy_srq() argument
624 return bnxt_qplib_rcfw_send_message(rcfw, &msg); in __qplib_destroy_srq()
630 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_destroy_srq() local
633 rc = __qplib_destroy_srq(rcfw, srq); in bnxt_qplib_destroy_srq()
645 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_srq() local
677 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_create_srq()
711 __qplib_destroy_srq(rcfw, srq); in bnxt_qplib_create_srq()
738 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_query_srq() local
749 sbuf.sb = dma_zalloc_coherent(&rcfw->pdev->dev, sbuf.size, in bnxt_qplib_query_srq()
757 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_query_srq()
759 dma_free_coherent(&rcfw->pdev->dev, sbuf.size, in bnxt_qplib_query_srq()
821 static int __qplib_destroy_qp(struct bnxt_qplib_rcfw *rcfw, in __qplib_destroy_qp() argument
833 return bnxt_qplib_rcfw_send_message(rcfw, &msg); in __qplib_destroy_qp()
908 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_qp1() local
984 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_create_qp1()
1030 __qplib_destroy_qp(rcfw, qp); in bnxt_qplib_create_qp1()
1060 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_qp() local
1226 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_create_qp()
1279 __qplib_destroy_qp(rcfw, qp); in bnxt_qplib_create_qp()
1369 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_modify_qp() local
1482 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_modify_qp()
1501 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_query_qp() local
1511 sbuf.sb = dma_zalloc_coherent(&rcfw->pdev->dev, sbuf.size, in bnxt_qplib_query_qp()
1523 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_query_qp()
1585 dma_free_coherent(&rcfw->pdev->dev, sbuf.size, in bnxt_qplib_query_qp()
1636 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_destroy_qp() local
1649 rc = __qplib_destroy_qp(rcfw, qp); in bnxt_qplib_destroy_qp()
2384 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_cq() local
2406 dev_err(&rcfw->pdev->dev, in bnxt_qplib_create_cq()
2425 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_create_cq()
2488 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_resize_cq() local
2509 dev_dbg(&rcfw->pdev->dev, "QPLIB: FP: %s: pbl_lvl: %d\n", __func__, in bnxt_qplib_resize_cq()
2532 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_resize_cq()
2546 dev_err(&rcfw->pdev->dev, in bnxt_qplib_resize_cq()
2582 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_destroy_cq() local
2603 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_destroy_cq()
2609 dev_dbg(&rcfw->pdev->dev, in bnxt_qplib_destroy_cq()