Home
last modified time | relevance | path

Searched refs:qp_state (Results 1 – 25 of 37) sorted by relevance

12

/titanic_50/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_qp.c258 modify_attrp->qp_state = state = in ibt_initialize_qp()
283 modify_attrp->qp_state = IBT_STATE_INIT; in ibt_initialize_qp()
439 modify_attr.qp_state = IBT_STATE_ERROR; in ibt_flush_qp()
784 ibt_qp->ch_current_state = qp_query_attrp->qp_info.qp_state; in ibt_query_qp()
845 ibt_qp->ch_current_state = modify_attrp->qp_state; in ibt_modify_qp()
865 qp_attr.qp_info.qp_state; in ibt_modify_qp()
918 qp_info.qp_state = rc_chan->ch_current_state; in ibt_migrate_path()
927 if (rc_chan->ch_current_state != qp_info.qp_state && in ibt_migrate_path()
1076 if (qp_attr.qp_info.qp_state != IBT_STATE_ERROR) { in ibt_recycle_ud()
1079 ud_chan, qp_attr.qp_info.qp_state); in ibt_recycle_ud()
[all …]
H A Dibtl_chan.c255 chan_attrs->rc_state = qp_attr.qp_info.qp_state; in ibt_query_rc_channel()
344 qp_info.qp_state = rc_chan->ch_current_state; /* No Change in State */ in ibt_modify_rc_channel()
806 ud_chan_attrs->ud_state = qp_attr.qp_info.qp_state; in ibt_query_ud_channel()
871 qp_info.qp_state = ud_chan->ch_current_state; /* No Change in State */ in ibt_modify_ud_channel()
937 modify_attr.qp_state = IBT_STATE_RTS; in ibt_recover_ud_channel()
1339 qp_info.qp_state = ud_chan->ch_current_state; in ibt_update_channel_qkey()
/titanic_50/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_ep_connect.c138 if (ep_ptr->qp_state == DAPL_QP_STATE_UNATTACHED) { in dapl_ep_connect()
160 if (ep_ptr->qp_state != DAPL_QP_STATE_UNATTACHED) { in dapl_ep_connect()
176 ep_ptr->qp_state = alloc_ep.qp_state; in dapl_ep_connect()
219 if (ep_ptr->qp_state == DAPL_QP_STATE_UNATTACHED) { in dapl_ep_connect()
H A Ddapl_cr_accept.c170 if (ep_ptr->qp_state == DAPL_QP_STATE_UNATTACHED) { in dapl_cr_accept()
H A Ddapl_ep_modify.c234 if (DAPL_QP_STATE_UNATTACHED != new_ep.qp_state && (ep_param_mask in dapl_ep_modify()
261 if (DAPL_QP_STATE_UNATTACHED != new_ep.qp_state) { in dapl_ep_modify()
H A Ddapl_ep_util.c139 ep_ptr->qp_state = DAPL_QP_STATE_UNATTACHED; in dapl_ep_alloc()
748 ep_ptr->qp_state = DAPL_QP_STATE_UNATTACHED; in dapl_ep_create_common()
/titanic_50/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_qp.c522 qp->qp_state = TAVOR_QP_RESET; in tavor_qp_alloc()
970 qp->qp_state = TAVOR_QP_RESET; in tavor_special_qp_alloc()
1107 if (qp->qp_state != TAVOR_QP_RESET) { in tavor_qp_free()
1116 qp->qp_state = TAVOR_QP_RESET; in tavor_qp_free()
1283 ibt_cep_state_t qp_state; in tavor_qp_query() local
1303 switch (qp->qp_state) { in tavor_qp_query()
1305 qp_state = IBT_STATE_RESET; /* "Reset" */ in tavor_qp_query()
1308 qp_state = IBT_STATE_INIT; /* Initialized */ in tavor_qp_query()
1311 qp_state = IBT_STATE_RTR; /* Ready to Receive */ in tavor_qp_query()
1314 qp_state = IBT_STATE_RTS; /* Ready to Send */ in tavor_qp_query()
[all …]
H A Dtavor_qpmod.c137 mod_state = info_p->qp_state; in tavor_qp_modify()
168 cur_state = qp->qp_state; in tavor_qp_modify()
216 qp->qp_state = TAVOR_QP_INIT; in tavor_qp_modify()
249 qp->qp_state = TAVOR_QP_ERR; in tavor_qp_modify()
274 qp->qp_state = TAVOR_QP_RESET; in tavor_qp_modify()
329 qp->qp_state = TAVOR_QP_RTR; in tavor_qp_modify()
343 qp->qp_state = TAVOR_QP_INIT; in tavor_qp_modify()
357 qp->qp_state = TAVOR_QP_RESET; in tavor_qp_modify()
378 qp->qp_state = TAVOR_QP_ERR; in tavor_qp_modify()
437 qp->qp_state = TAVOR_QP_RTS; in tavor_qp_modify()
[all …]
/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_qpmod.c136 mod_state = info_p->qp_state; in hermon_qp_modify()
163 cur_state = qp->qp_state; in hermon_qp_modify()
206 qp->qp_state = HERMON_QP_INIT; in hermon_qp_modify()
235 qp->qp_state = HERMON_QP_ERR; in hermon_qp_modify()
259 qp->qp_state = HERMON_QP_RESET; in hermon_qp_modify()
308 qp->qp_state = HERMON_QP_RTR; in hermon_qp_modify()
321 qp->qp_state = HERMON_QP_INIT; in hermon_qp_modify()
334 qp->qp_state = HERMON_QP_RESET; in hermon_qp_modify()
358 qp->qp_state = HERMON_QP_ERR; in hermon_qp_modify()
411 qp->qp_state = HERMON_QP_RTS; in hermon_qp_modify()
[all …]
H A Dhermon_qp.c605 qp->qp_state = HERMON_QP_RESET; in hermon_qp_alloc()
1117 qp->qp_state = HERMON_QP_RESET; in hermon_special_qp_alloc()
1706 qp->qp_state = HERMON_QP_RESET; in hermon_qp_alloc_range()
1911 if (qp->qp_state != HERMON_QP_RESET) { in hermon_qp_free()
1918 qp->qp_state = HERMON_QP_RESET; in hermon_qp_free()
2106 ibt_cep_state_t qp_state; in hermon_qp_query() local
2125 switch (qp->qp_state) { in hermon_qp_query()
2127 qp_state = IBT_STATE_RESET; /* "Reset" */ in hermon_qp_query()
2130 qp_state = IBT_STATE_INIT; /* Initialized */ in hermon_qp_query()
2133 qp_state = IBT_STATE_RTR; /* Ready to Receive */ in hermon_qp_query()
[all …]
H A Dhermon_wr.c797 uint_t qp_state; in hermon_post_send() local
817 qp_state = qp->qp_state_for_post_send; in hermon_post_send()
818 if ((qp_state == HERMON_QP_RESET) || in hermon_post_send()
819 (qp_state == HERMON_QP_INIT) || in hermon_post_send()
820 (qp_state == HERMON_QP_RTR)) { in hermon_post_send()
1147 if (qp->qp_state == HERMON_QP_RESET) { in hermon_post_recv()
/titanic_50/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_ibtf_cm.c231 ep_ptr->qp_state = IBT_STATE_ERROR; in dapls_ib_disconnect()
256 ep_ptr->qp_state = IBT_STATE_RTS; in dapls_ib_connected()
294 ep_ptr->qp_state = IBT_STATE_ERROR; in dapls_ib_disconnect_clean()
371 ep_ptr->qp_state = IBT_STATE_INIT; in dapls_ib_reinit_ep()
605 ep_p->qp_state = IBT_STATE_ERROR; in dapls_ib_accept_connection()
H A Ddapl_arbel_hw.c1048 if ((ep->qp_state == IBT_STATE_RESET) || in dapli_arbel_post_send()
1049 (ep->qp_state == IBT_STATE_INIT) || in dapli_arbel_post_send()
1050 (ep->qp_state == IBT_STATE_RTR)) { in dapli_arbel_post_send()
1052 "post_send: invalid qp_state %d\n", ep->qp_state); in dapli_arbel_post_send()
1184 if (ep->qp_state == IBT_STATE_RESET) { in dapli_arbel_post_recv()
1186 "post_recv: invalid qp_state %d\n", ep->qp_state); in dapli_arbel_post_recv()
H A Ddapl_hermon_hw.c1086 if ((ep->qp_state == IBT_STATE_RESET) || in dapli_hermon_post_send()
1087 (ep->qp_state == IBT_STATE_INIT) || in dapli_hermon_post_send()
1088 (ep->qp_state == IBT_STATE_RTR)) { in dapli_hermon_post_send()
1090 "post_send: invalid qp_state %d\n", ep->qp_state); in dapli_hermon_post_send()
1241 if (ep->qp_state == IBT_STATE_RESET) { in dapli_hermon_post_recv()
1243 "post_recv: invalid qp_state %d\n", ep->qp_state); in dapli_hermon_post_recv()
H A Ddapl_tavor_hw.c1308 if ((ep->qp_state == IBT_STATE_RESET) || in dapli_tavor_post_send()
1309 (ep->qp_state == IBT_STATE_INIT) || in dapli_tavor_post_send()
1310 (ep->qp_state == IBT_STATE_RTR)) { in dapli_tavor_post_send()
1312 "post_send: invalid qp_state %d\n", ep->qp_state); in dapli_tavor_post_send()
1439 if (ep->qp_state == IBT_STATE_RESET) { in dapli_tavor_post_recv()
1441 "post_recv: invalid qp_state %d\n", ep->qp_state); in dapli_tavor_post_recv()
H A Ddapl_tavor_ibtf.h44 #define DAPLIB_NEEDS_INIT(ep) ((ep)->qp_state == IBT_STATE_ERROR)
/titanic_50/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_qp.c997 qp_infop->qp_state = IBT_STATE_RESET; in uverbs_modify_update()
1002 qp_infop->qp_state = IBT_STATE_INIT; in uverbs_modify_update()
1011 qp_infop->qp_state = IBT_STATE_RTR; in uverbs_modify_update()
1020 qp_infop->qp_state = IBT_STATE_RTS; in uverbs_modify_update()
1050 qp_infop->qp_state = IBT_STATE_SQD; in uverbs_modify_update()
1055 qp_infop->qp_state = IBT_STATE_SQE; in uverbs_modify_update()
1060 qp_infop->qp_state = IBT_STATE_ERROR; in uverbs_modify_update()
1301 qp_infop->qp_sq_sz, qp_infop->qp_rq_sz, qp_infop->qp_state, in uverbs_print_query_qp()
1388 cur_state = IBT_TO_OFA_QP_STATE(qp_query_attr.qp_info.qp_state); in sol_uverbs_modify_qp()
1391 new_state = cmd.attr_mask & IB_QP_STATE ? cmd.qp_state : cur_state; in sol_uverbs_modify_qp()
[all …]
/titanic_50/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_qp.h272 uint_t qp_state; member
361 tavor_sw_qp_s::qp_state
/titanic_50/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_qp.h244 uint_t qp_state; member
353 hermon_sw_qp_s::qp_state
/titanic_50/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Dib_user_verbs.h411 uint32_t qp_state; member
526 uint8_t qp_state; member
557 uint8_t qp_state; member
H A Drdma_user_cm.h201 uint32_t qp_state; member
H A Dib_verbs.h535 enum ib_qp_state qp_state; member
/titanic_50/usr/src/uts/common/sys/ib/ibtl/
H A Dibtl_ci_types.h322 ibt_cep_state_t qp_state; /* QP state */ member
/titanic_50/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_sm.c5605 qp_info.qp_state = IBT_STATE_RTR; in ibcm_invoke_qp_modify()
5722 "qp_info.qp_state = %x", qp_attrs.qp_info.qp_state); in ibcm_invoke_qp_modify()
6417 if (qp_attrs.qp_info.qp_state != IBT_STATE_INIT && in ibcm_process_cep_req_cm_hdlr()
6427 qp_attrs.qp_info.qp_state != IBT_STATE_RTR && in ibcm_process_cep_req_cm_hdlr()
6428 qp_attrs.qp_info.qp_state != IBT_STATE_INIT) { in ibcm_process_cep_req_cm_hdlr()
6439 qp_attrs.qp_info.qp_state == IBT_STATE_RTR && in ibcm_process_cep_req_cm_hdlr()
6450 qp_attrs.qp_info.qp_state == IBT_STATE_RTR) { in ibcm_process_cep_req_cm_hdlr()
6472 qp_info.qp_state = IBT_STATE_INIT; in ibcm_process_cep_req_cm_hdlr()
6573 qp_attrs.qp_info.qp_state == IBT_STATE_RTR) in ibcm_process_cep_req_cm_hdlr()
6605 "qp_info.qp_state = %x", qp_attrs.qp_info.qp_state); in ibcm_process_cep_req_cm_hdlr()
[all …]
/titanic_50/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_cma.c2178 qp_attr.qp_state = IB_QPS_INIT;
2187 qp_attr.qp_state = IB_QPS_RTR;
2192 qp_attr.qp_state = IB_QPS_RTS;
2205 qp_attr.qp_state = IB_QPS_INIT;

12