Home
last modified time | relevance | path

Searched refs:qp_idx (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_roce.c272 static void ecore_roce_free_qp(struct ecore_hwfn *p_hwfn, u16 qp_idx) in ecore_roce_free_qp() argument
275 ecore_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->qp_map, qp_idx); in ecore_roce_free_qp()
282 static enum _ecore_status_t ecore_roce_wait_free_cids(struct ecore_hwfn *p_hwfn, u32 qp_idx) in ecore_roce_wait_free_cids() argument
289 icid = ECORE_ROCE_QP_TO_ICID(qp_idx); in ecore_roce_wait_free_cids()
329 u32 start_cid, icid, cid, qp_idx; in ecore_roce_alloc_qp_idx() local
333 rc = ecore_rdma_bmap_alloc_id(p_hwfn, &p_rdma_info->qp_map, &qp_idx); in ecore_roce_alloc_qp_idx()
343 rc = ecore_roce_wait_free_cids(p_hwfn, qp_idx); in ecore_roce_alloc_qp_idx()
354 icid = ECORE_ROCE_QP_TO_ICID(qp_idx); in ecore_roce_alloc_qp_idx()
367 *qp_idx16 = (u16)qp_idx; in ecore_roce_alloc_qp_idx()
372 ecore_roce_free_qp(p_hwfn, (u16)qp_idx); in ecore_roce_alloc_qp_idx()
[all …]
H A Decore_roce.h34 #define ECORE_ROCE_QP_TO_ICID(qp_idx) ((qp_idx)*2) argument
H A Decore_rdma.h152 u16 qp_idx; member
H A Decore_rdma.c1604 rc = ecore_roce_alloc_qp_idx(p_hwfn, &qp->qp_idx); in ecore_rdma_create_qp()
1605 qp->icid = ECORE_ROCE_QP_TO_ICID(qp->qp_idx); in ecore_rdma_create_qp()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dqplib_fp.c1073 u32 qp_idx; in bnxt_qplib_create_qp() local
1269 qp_idx = map_qp_id_to_tbl_indx(qp->id, tbl); in bnxt_qplib_create_qp()
1271 tbl->rec[qp_idx].xid = qp->id; in bnxt_qplib_create_qp()
1272 tbl->rec[qp_idx].handle = qp; in bnxt_qplib_create_qp()
1639 u32 qp_idx; in bnxt_qplib_destroy_qp() local
1643 qp_idx = map_qp_id_to_tbl_indx(qp->id, tbl); in bnxt_qplib_destroy_qp()
1645 tbl->rec[qp_idx].xid = BNXT_QPLIB_QP_ID_INVALID; in bnxt_qplib_destroy_qp()
1646 tbl->rec[qp_idx].handle = NULL; in bnxt_qplib_destroy_qp()
1652 tbl->rec[qp_idx].xid = qp->id; in bnxt_qplib_destroy_qp()
1653 tbl->rec[qp_idx].handle = qp; in bnxt_qplib_destroy_qp()
H A Dqplib_rcfw.c692 u32 xid, qp_idx; in bnxt_qplib_process_qp_event() local
702 qp_idx = map_qp_id_to_tbl_indx(xid, tbl); in bnxt_qplib_process_qp_event()
704 qp = tbl->rec[qp_idx].handle; in bnxt_qplib_process_qp_event()
/freebsd/contrib/sendmail/src/
H A Dqueue.c2191 QSHM_ENTRIES(Queue[qgrp]->qg_qpaths[qdir].qp_idx) = h;
4808 n = QSHM_ENTRIES(Queue[i]->qg_qpaths[j].qp_idx);
6411 qg->qg_qpaths[qg->qg_numqueues].qp_idx = qn;
6468 qg->qg_qpaths[0].qp_idx = qn;
6969 idx = Queue[e->e_qgrp]->qg_qpaths[e->e_qdir].qp_idx;
H A Dsendmail.h711 int qp_idx; /* index into array for queue information */ member