Home
last modified time | relevance | path

Searched refs:qpnum (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_event.c1196 uint_t qpnum; in hermon_comm_estbl_handler() local
1201 qpnum = HERMON_EQE_QPNUM_GET(eq, eqe); in hermon_comm_estbl_handler()
1202 qp = hermon_qphdl_from_qpnum(state, qpnum); in hermon_comm_estbl_handler()
1224 if ((qp != NULL) && (qp->qp_qpnum == qpnum) && in hermon_comm_estbl_handler()
1246 uint_t qpnum; in hermon_local_wq_cat_err_handler() local
1251 qpnum = HERMON_EQE_QPNUM_GET(eq, eqe); in hermon_local_wq_cat_err_handler()
1252 qp = hermon_qphdl_from_qpnum(state, qpnum); in hermon_local_wq_cat_err_handler()
1274 if ((qp != NULL) && (qp->qp_qpnum == qpnum) && in hermon_local_wq_cat_err_handler()
1296 uint_t qpnum; in hermon_invreq_local_wq_err_handler() local
1301 qpnum = HERMON_EQE_QPNUM_GET(eq, eqe); in hermon_invreq_local_wq_err_handler()
[all …]
H A Dhermon_fcoib.c167 hermon_fcoib_is_fexch_qpn(hermon_state_t *state, uint_t qpnum) in hermon_fcoib_is_fexch_qpn() argument
172 qpnum -= fcoib->hfc_fexch_rsrc->hr_indx; in hermon_fcoib_is_fexch_qpn()
173 return (qpnum < fcoib->hfc_nports * fcoib->hfc_fexch_qps_per_port); in hermon_fcoib_is_fexch_qpn()
185 uint_t qpnum; in hermon_fcoib_qpnum_from_fexch() local
190 qpnum = fexch + fcoib->hfc_fexch_base[port]; in hermon_fcoib_qpnum_from_fexch()
191 return (qpnum); in hermon_fcoib_qpnum_from_fexch()
199 hermon_fcoib_qpn_to_mkey(hermon_state_t *state, uint_t qpnum) in hermon_fcoib_qpn_to_mkey() argument
207 qp_indx = qpnum - fcoib->hfc_fexch_base[i]; in hermon_fcoib_qpn_to_mkey()
264 uint32_t qpnum, uint_t sleep) in hermon_fcoib_fexch_mkey_fini() argument
274 qp_indx = qpnum - fcoib->hfc_fexch_base[port]; in hermon_fcoib_fexch_mkey_fini()
H A Dhermon_cq.c1294 uint_t opcode, qpnum, qp1_indx; in hermon_cq_cqe_consume() local
1431 qpnum = HERMON_CQE_QPNUM_GET(cq, cqe); in hermon_cq_cqe_consume()
1433 if ((qpnum < qp1_indx) || (qpnum > qp1_indx + 1)) { in hermon_cq_cqe_consume()
1654 uint32_t new_indx, check_indx, qpnum; in hermon_cq_entries_flush() local
1658 qpnum = qp->qp_qpnum; in hermon_cq_entries_flush()
1716 if (qpnum == HERMON_CQE_QPNUM_GET(cq, cqe)) { in hermon_cq_entries_flush()
H A Dhermon_wr.c2364 uint_t send_or_recv, qpnum; in hermon_wrid_get_entry() local
2373 qpnum = HERMON_CQE_QPNUM_GET(cq, cqe); in hermon_wrid_get_entry()
2374 wqa = hermon_wrid_wqavl_find(cq, qpnum, send_or_recv); in hermon_wrid_get_entry()
H A Dhermon_qp.c2633 hermon_qphdl_from_qpnum(hermon_state_t *state, uint_t qpnum) in hermon_qphdl_from_qpnum() argument
2639 qpindx = qpnum & qpmask; in hermon_qphdl_from_qpnum()
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_event.c1289 uint_t qpnum; in tavor_comm_estbl_handler() local
1306 qpnum = TAVOR_EQE_QPNUM_GET(eq, eqe); in tavor_comm_estbl_handler()
1307 qp = tavor_qphdl_from_qpnum(state, qpnum); in tavor_comm_estbl_handler()
1329 if ((qp != NULL) && (qp->qp_qpnum == qpnum) && in tavor_comm_estbl_handler()
1350 uint_t qpnum; in tavor_local_wq_cat_err_handler() local
1367 qpnum = TAVOR_EQE_QPNUM_GET(eq, eqe); in tavor_local_wq_cat_err_handler()
1368 qp = tavor_qphdl_from_qpnum(state, qpnum); in tavor_local_wq_cat_err_handler()
1390 if ((qp != NULL) && (qp->qp_qpnum == qpnum) && in tavor_local_wq_cat_err_handler()
1411 uint_t qpnum; in tavor_invreq_local_wq_err_handler() local
1428 qpnum = TAVOR_EQE_QPNUM_GET(eq, eqe); in tavor_invreq_local_wq_err_handler()
[all …]
H A Dtavor_cq.c1202 uint_t flags, type, opcode, qpnum, qp1_indx; in tavor_cq_cqe_consume() local
1283 qpnum = TAVOR_CQE_QPNUM_GET(cq, cqe); in tavor_cq_cqe_consume()
1285 if ((qpnum < qp1_indx) || (qpnum > qp1_indx + 1)) { in tavor_cq_cqe_consume()
H A Dtavor_qp.c1659 tavor_qphdl_from_qpnum(tavor_state_t *state, uint_t qpnum) in tavor_qphdl_from_qpnum() argument
1665 qpindx = qpnum & qpmask; in tavor_qphdl_from_qpnum()
H A Dtavor_wr.c2605 uint_t send_or_recv, qpnum, error, opcode; in tavor_wrid_get_entry() local
2626 qpnum = TAVOR_CQE_QPNUM_GET(cq, cqe); in tavor_wrid_get_entry()
2627 wq = tavor_wrid_wqhdr_find(cq, qpnum, send_or_recv); in tavor_wrid_get_entry()
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_fcoib.h88 int hermon_fcoib_is_fexch_qpn(hermon_state_t *state, uint_t qpnum);
89 uint32_t hermon_fcoib_qpn_to_mkey(hermon_state_t *state, uint_t qpnum);
93 uint32_t qpnum, uint_t sleep);
95 uint32_t qpnum);
H A Dhermon_qp.h381 hermon_qphdl_t hermon_qphdl_from_qpnum(hermon_state_t *state, uint_t qpnum);
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_qp.h151 #define TAVOR_QP_SCHEDQ_GET(qpnum) ((qpnum) & TAVOR_QP_TO_SCHEDQ_MASK) argument
407 tavor_qphdl_t tavor_qphdl_from_qpnum(tavor_state_t *state, uint_t qpnum);
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs.c2797 sol_uverbs_qpnum2qphdl(uint32_t qpnum) in sol_uverbs_qpnum2qphdl() argument
2801 uqpid = sol_uverbs_qpnum2uqpid(qpnum); in sol_uverbs_qpnum2qphdl()
2808 sol_uverbs_disable_uqpn_modify(uint32_t qpnum) in sol_uverbs_disable_uqpn_modify() argument
2812 uqpid = sol_uverbs_qpnum2uqpid(qpnum); in sol_uverbs_disable_uqpn_modify()
2822 sol_uverbs_uqpn_cq_ctrl(uint32_t qpnum, sol_uverbs_cq_ctrl_t ctrl) in sol_uverbs_uqpn_cq_ctrl() argument
2826 uqpid = sol_uverbs_qpnum2uqpid(qpnum); in sol_uverbs_uqpn_cq_ctrl()
2835 uint32_t qpnum, void *qphdl) in sol_uverbs_set_qp_free_state() argument
2842 qp_free_state, qpnum, qphdl); in sol_uverbs_set_qp_free_state()
2844 uqpid = sol_uverbs_qpnum2uqpid(qpnum); in sol_uverbs_set_qp_free_state()
2848 qpnum); in sol_uverbs_set_qp_free_state()
[all …]
H A Dsol_uverbs_qp.c2625 sol_uverbs_flush_qp(uint32_t qpnum) in sol_uverbs_flush_qp() argument
2631 uqpid = sol_uverbs_qpnum2uqpid(qpnum); in sol_uverbs_flush_qp()
2635 qpnum); in sol_uverbs_flush_qp()
2642 "uqpid %x", qpnum, uqpid); in sol_uverbs_flush_qp()
2652 qpnum, uqp->qp, status); in sol_uverbs_flush_qp()
2658 "uqp->qp is NULL!!", qpnum, uqpid); in sol_uverbs_flush_qp()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_wr.c65 uint_t qpnum; in dapls_tavor_wrid_get_entry() local
71 qpnum = TAVOR_CQE_QPNUM_GET(cqe); in dapls_tavor_wrid_get_entry()
72 wq = dapli_tavor_wrid_wqhdr_find(cq, qpnum, send_or_recv); in dapls_tavor_wrid_get_entry()
H A Ddapl_tavor_ibtf_qp.c44 IN uint32_t qpnum, IN DAPL_EP *ep_ptr);
46 IN uint32_t qpnum);
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_recv.c195 tnf_int, qpnum, qpp->iq_qp_num); in ibmf_i_handle_recv_completion()
223 tnf_int, qpnum, altqp->isq_qpn); in ibmf_i_handle_recv_completion()