Lines Matching refs:rcfw

620 	struct bnxt_qplib_rcfw *rcfw = res->rcfw;  in bnxt_qplib_destroy_srq()  local
634 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_destroy_srq()
644 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_srq() local
689 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_create_srq()
739 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_query_srq() local
753 sbuf.sb = dma_alloc_coherent(&rcfw->pdev->dev, sbuf.size, in bnxt_qplib_query_srq()
762 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_query_srq()
765 dma_free_coherent(&rcfw->pdev->dev, sbuf.size, in bnxt_qplib_query_srq()
845 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_qp1() local
930 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_create_qp1()
947 tbl_indx = map_qp_id_to_tbl_indx(qp->id, rcfw); in bnxt_qplib_create_qp1()
948 rcfw->qp_tbl[tbl_indx].qp_id = qp->id; in bnxt_qplib_create_qp1()
949 rcfw->qp_tbl[tbl_indx].qp_handle = (void *)qp; in bnxt_qplib_create_qp1()
986 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_qp() local
1157 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_create_qp()
1176 tbl_indx = map_qp_id_to_tbl_indx(qp->id, rcfw); in bnxt_qplib_create_qp()
1177 rcfw->qp_tbl[tbl_indx].qp_id = qp->id; in bnxt_qplib_create_qp()
1178 rcfw->qp_tbl[tbl_indx].qp_handle = (void *)qp; in bnxt_qplib_create_qp()
1287 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_modify_qp() local
1384 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_modify_qp()
1393 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_query_qp() local
1403 sbuf.sb = dma_alloc_coherent(&rcfw->pdev->dev, sbuf.size, in bnxt_qplib_query_qp()
1417 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_query_qp()
1474 dma_free_coherent(&rcfw->pdev->dev, sbuf.size, in bnxt_qplib_query_qp()
1528 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_destroy_qp() local
1535 spin_lock_bh(&rcfw->tbl_lock); in bnxt_qplib_destroy_qp()
1536 tbl_indx = map_qp_id_to_tbl_indx(qp->id, rcfw); in bnxt_qplib_destroy_qp()
1537 rcfw->qp_tbl[tbl_indx].qp_id = BNXT_QPLIB_QP_ID_INVALID; in bnxt_qplib_destroy_qp()
1538 rcfw->qp_tbl[tbl_indx].qp_handle = NULL; in bnxt_qplib_destroy_qp()
1539 spin_unlock_bh(&rcfw->tbl_lock); in bnxt_qplib_destroy_qp()
1548 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_destroy_qp()
1550 spin_lock_bh(&rcfw->tbl_lock); in bnxt_qplib_destroy_qp()
1551 rcfw->qp_tbl[tbl_indx].qp_id = qp->id; in bnxt_qplib_destroy_qp()
1552 rcfw->qp_tbl[tbl_indx].qp_handle = qp; in bnxt_qplib_destroy_qp()
1553 spin_unlock_bh(&rcfw->tbl_lock); in bnxt_qplib_destroy_qp()
2148 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_cq() local
2158 dev_err(&rcfw->pdev->dev, in bnxt_qplib_create_cq()
2191 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_create_cq()
2232 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_resize_cq() local
2264 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_resize_cq()
2270 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_destroy_cq() local
2284 rc = bnxt_qplib_rcfw_send_message(rcfw, &msg); in bnxt_qplib_destroy_cq()