Searched refs:qp_tbl (Results 1 – 11 of 11) sorted by relevance
228 dev->qp_tbl = kcalloc(OCRDMA_MAX_QP, in ocrdma_alloc_resources()231 if (!dev->qp_tbl) in ocrdma_alloc_resources()258 kfree(dev->qp_tbl); in ocrdma_free_resources()
246 struct ocrdma_qp **qp_tbl; member
1085 if (qp->id < OCRDMA_MAX_QP && dev->qp_tbl[qp->id] == NULL) { in ocrdma_add_qpn_map()1086 dev->qp_tbl[qp->id] = qp; in ocrdma_add_qpn_map()1094 dev->qp_tbl[qp->id] = NULL; in ocrdma_del_qpn_map()2775 qp = dev->qp_tbl[qpn]; in ocrdma_poll_hwcq()
697 qp = dev->qp_tbl[qpid]; in ocrdma_dispatch_ibevent()
225 dev->qp_tbl = kcalloc(dev->dsr->caps.max_qp, sizeof(struct pvrdma_qp *), in pvrdma_register_device()227 if (!dev->qp_tbl) in pvrdma_register_device()257 kfree(dev->qp_tbl); in pvrdma_register_device()290 qp = dev->qp_tbl[qpn % dev->dsr->caps.max_qp]; in pvrdma_qp_event()1095 kfree(dev->qp_tbl); in pvrdma_pci_remove()
351 if (dev->qp_tbl[cqe->qp & 0xffff]) in pvrdma_poll_one()352 *cur_qp = (struct pvrdma_qp *)dev->qp_tbl[cqe->qp & 0xffff]; in pvrdma_poll_one()
232 struct pvrdma_qp **qp_tbl; member
402 dev->qp_tbl[qp->qp_handle % dev->dsr->caps.max_qp] = qp; in pvrdma_create_qp()436 dev->qp_tbl[qp->qp_handle] = NULL; in _pvrdma_free_qp()
322 qp = rcfw->qp_tbl[tbl_indx].qp_handle; in bnxt_qplib_process_qp_event()559 kfree(rcfw->qp_tbl); in bnxt_qplib_free_rcfw_channel()621 rcfw->qp_tbl = kcalloc(rcfw->qp_tbl_size, sizeof(struct bnxt_qplib_qp_node), in bnxt_qplib_alloc_rcfw_channel()623 if (!rcfw->qp_tbl) in bnxt_qplib_alloc_rcfw_channel()
187 struct bnxt_qplib_qp_node *qp_tbl; member
913 rcfw->qp_tbl[tbl_indx].qp_id = qp->id; in bnxt_qplib_create_qp1()914 rcfw->qp_tbl[tbl_indx].qp_handle = (void *)qp; in bnxt_qplib_create_qp1()1122 rcfw->qp_tbl[tbl_indx].qp_id = qp->id; in bnxt_qplib_create_qp()1123 rcfw->qp_tbl[tbl_indx].qp_handle = (void *)qp; in bnxt_qplib_create_qp()1470 rcfw->qp_tbl[tbl_indx].qp_id = BNXT_QPLIB_QP_ID_INVALID; in bnxt_qplib_destroy_qp()1471 rcfw->qp_tbl[tbl_indx].qp_handle = NULL; in bnxt_qplib_destroy_qp()1479 rcfw->qp_tbl[tbl_indx].qp_id = qp->id; in bnxt_qplib_destroy_qp()1480 rcfw->qp_tbl[tbl_indx].qp_handle = qp; in bnxt_qplib_destroy_qp()