Home
last modified time | relevance | path

Searched refs:qp_info (Results 1 – 13 of 13) sorted by relevance

/titanic_50/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_chan.c255 chan_attrs->rc_state = qp_attr.qp_info.qp_state; in ibt_query_rc_channel()
256 chan_attrs->rc_path_mtu = qp_attr.qp_info.qp_transport.rc.rc_path_mtu; in ibt_query_rc_channel()
258 qp_attr.qp_info.qp_transport.rc.rc_retry_cnt; in ibt_query_rc_channel()
260 qp_attr.qp_info.qp_transport.rc.rc_rnr_retry_cnt; in ibt_query_rc_channel()
262 qp_attr.qp_info.qp_transport.rc.rc_min_rnr_nak; in ibt_query_rc_channel()
264 chan_attrs->rc_prim_path = qp_attr.qp_info.qp_transport.rc.rc_path; in ibt_query_rc_channel()
265 chan_attrs->rc_alt_path = qp_attr.qp_info.qp_transport.rc.rc_alt_path; in ibt_query_rc_channel()
267 chan_attrs->rc_chan_sizes.cs_sq = qp_attr.qp_info.qp_sq_sz; in ibt_query_rc_channel()
268 chan_attrs->rc_chan_sizes.cs_rq = qp_attr.qp_info.qp_rq_sz; in ibt_query_rc_channel()
274 qp_attr.qp_info.qp_transport.rc.rc_rdma_ra_out; in ibt_query_rc_channel()
[all …]
H A Dibtl_qp.c784 ibt_qp->ch_current_state = qp_query_attrp->qp_info.qp_state; in ibt_query_qp()
788 qp_infop = &qp_query_attrp->qp_info; in ibt_query_qp()
865 qp_attr.qp_info.qp_state; in ibt_modify_qp()
890 ibt_qp_info_t qp_info; in ibt_migrate_path() local
918 qp_info.qp_state = rc_chan->ch_current_state; in ibt_migrate_path()
919 qp_info.qp_current_state = rc_chan->ch_current_state; in ibt_migrate_path()
920 qp_info.qp_trans = IBT_RC_SRV; in ibt_migrate_path()
921 qp_info.qp_transport.rc.rc_mig_state = IBT_STATE_MIGRATED; in ibt_migrate_path()
922 retval = ibt_modify_qp(rc_chan, cep_flags, &qp_info, NULL); in ibt_migrate_path()
927 if (rc_chan->ch_current_state != qp_info.qp_state && in ibt_migrate_path()
[all …]
/titanic_50/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_sm.c5571 ibt_qp_info_t qp_info; in ibcm_invoke_qp_modify() local
5603 bzero(&qp_info, sizeof (qp_info)); in ibcm_invoke_qp_modify()
5604 qp_info.qp_trans = trans; in ibcm_invoke_qp_modify()
5605 qp_info.qp_state = IBT_STATE_RTR; in ibcm_invoke_qp_modify()
5606 qp_info.qp_flags = IBT_CEP_NO_FLAGS; in ibcm_invoke_qp_modify()
5614 IBCM_QPINFO_RC(qp_info).rc_rq_psn = in ibcm_invoke_qp_modify()
5617 IBCM_QPINFO_RC(qp_info).rc_dst_qpn = in ibcm_invoke_qp_modify()
5621 IBCM_QPINFO_RC(qp_info).rc_rdma_ra_in = in ibcm_invoke_qp_modify()
5626 IBCM_QPINFO_RC(qp_info).rc_sq_psn = in ibcm_invoke_qp_modify()
5627 IBCM_QPINFO_RC(qp_info).rc_rq_psn = in ibcm_invoke_qp_modify()
[all …]
H A Dibcm_ti.c299 if ((qp_query_attr.qp_info.qp_transport.rc.rc_path.cep_hca_port_num != in ibt_open_rc_channel()
303 qp_query_attr.qp_info.qp_transport.rc.rc_path. \ in ibt_open_rc_channel()
308 if (qp_query_attr.qp_info.qp_trans != IBT_RC_SRV) { in ibt_open_rc_channel()
316 if (qp_query_attr.qp_info.qp_state != IBT_STATE_INIT) { in ibt_open_rc_channel()
319 qp_query_attr.qp_info.qp_state); in ibt_open_rc_channel()
333 local_qkey = qp_query_attr.qp_info.qp_transport.rd_qkey; in ibt_open_rc_channel()
524 if (qp_query_attr.qp_info.qp_transport.rc.rc_path.cep_hca_port_num != in ibt_open_rc_channel()
527 ibt_qp_info_t qp_info; in ibt_open_rc_channel() local
532 qp_query_attr.qp_info.qp_transport.rc.rc_path.\ in ibt_open_rc_channel()
538 bzero(&qp_info, sizeof (qp_info)); in ibt_open_rc_channel()
[all …]
H A Dibcm_path.c2617 if (qp_attr.qp_info.qp_trans != IBT_RC_SRV) { in ibt_get_alt_path()
2624 qp_attr.qp_info.qp_transport.rc.rc_path.cep_adds_vect.av_dgid; in ibt_get_alt_path()
2626 qp_attr.qp_info.qp_transport.rc.rc_path.cep_adds_vect.av_sgid; in ibt_get_alt_path()
2627 prim_mtu = qp_attr.qp_info.qp_transport.rc.rc_path_mtu; in ibt_get_alt_path()
2875 qp_attr.qp_info.qp_transport.rc.rc_path.cep_pkey_ix, in ibt_get_alt_path()
2896 qp_attr.qp_info.qp_transport.rc.rc_path.cep_pkey_ix, mpr_req->P_Key, in ibt_get_alt_path()
2948 &qp_attr.qp_info.qp_transport.rc.rc_path, in ibt_get_alt_path()
4288 if (qp_attr.qp_info.qp_trans != IBT_RC_SRV) { in ibt_get_ip_alt_path()
4295 qp_attr.qp_info.qp_transport.rc.rc_path.cep_adds_vect.av_dgid; in ibt_get_ip_alt_path()
4297 qp_attr.qp_info.qp_transport.rc.rc_path.cep_adds_vect.av_sgid; in ibt_get_ip_alt_path()
[all …]
/titanic_50/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_qp.c965 qp_infop = &(qp_query_attr->qp_info); in uverbs_modify_update()
1279 ibt_qp_info_t *qp_infop = &qp_query_attr.qp_info; 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()
1417 qp_query_attr.qp_info.qp_trans = IBT_UC_SRV; in sol_uverbs_modify_qp()
1420 qp_query_attr.qp_info.qp_trans = IBT_UD_SRV; in sol_uverbs_modify_qp()
1423 qp_query_attr.qp_info.qp_trans = IBT_RC_SRV; in sol_uverbs_modify_qp()
1433 "before modify update = 0%08x", qp_query_attr.qp_info.qp_flags); in sol_uverbs_modify_qp()
1440 flags, qp_query_attr.qp_info.qp_flags); in sol_uverbs_modify_qp()
1442 rc = ibt_modify_qp(uqp->qp, flags, &qp_query_attr.qp_info, &size); in sol_uverbs_modify_qp()
1773 qp_query_attr.qp_info.qp_trans); in sol_uverbs_query_qp()
[all …]
/titanic_50/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_qp.c1336 attr_p->qp_info.qp_state = qp_state; in tavor_qp_query()
1355 attr_p->qp_info.qp_sq_sz = qp->qp_sq_bufsz; in tavor_qp_query()
1356 attr_p->qp_info.qp_rq_sz = qp->qp_rq_bufsz; in tavor_qp_query()
1394 ud = &attr_p->qp_info.qp_transport.ud; in tavor_qp_query()
1400 attr_p->qp_info.qp_trans = IBT_UD_SRV; in tavor_qp_query()
1405 rc = &attr_p->qp_info.qp_transport.rc; in tavor_qp_query()
1454 attr_p->qp_info.qp_flags = enable_flags; in tavor_qp_query()
1456 attr_p->qp_info.qp_trans = IBT_RC_SRV; in tavor_qp_query()
1461 uc = &attr_p->qp_info.qp_transport.uc; in tavor_qp_query()
1501 attr_p->qp_info.qp_flags = enable_flags; in tavor_qp_query()
[all …]
/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_qp.c2155 attr_p->qp_info.qp_state = qp_state; in hermon_qp_query()
2176 attr_p->qp_info.qp_sq_sz = qp->qp_sq_bufsz - qp->qp_sq_hdrmwqes; in hermon_qp_query()
2177 attr_p->qp_info.qp_rq_sz = qp->qp_rq_bufsz; in hermon_qp_query()
2218 ud = &attr_p->qp_info.qp_transport.ud; in hermon_qp_query()
2226 attr_p->qp_info.qp_trans = IBT_UD_SRV; in hermon_qp_query()
2263 rc = &attr_p->qp_info.qp_transport.rc; in hermon_qp_query()
2316 attr_p->qp_info.qp_flags = enable_flags; in hermon_qp_query()
2318 attr_p->qp_info.qp_trans = IBT_RC_SRV; in hermon_qp_query()
2323 uc = &attr_p->qp_info.qp_transport.uc; in hermon_qp_query()
2367 attr_p->qp_info.qp_flags = enable_flags; in hermon_qp_query()
[all …]
/titanic_50/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ib_cma.c2553 ibt_qp_info_t *qp_info; in dump_qp_info() local
2571 qp_info = &(qp_query.qp_info); in dump_qp_info()
2572 rcp = &((qp_info->qp_transport).rc); in dump_qp_info()
2576 qp_info->qp_sq_sz, qp_info->qp_rq_sz, qp_info->qp_state, in dump_qp_info()
2577 qp_info->qp_current_state, qp_info->qp_flags, in dump_qp_info()
2578 qp_info->qp_trans); in dump_qp_info()
H A Dsol_kverbs.c1589 ASSERT(qp_attr->qp_info.qp_state != IBT_STATE_SQDRAIN); in qp_current_state()
1590 return (enum ib_qp_state)(qp_attr->qp_info.qp_state); in qp_current_state()
1763 modify_attr = qp_attr.qp_info; in ib_modify_qp()
/titanic_50/usr/src/uts/common/sys/ib/ibtl/
H A Dibtl_ci_types.h345 ibt_qp_info_t qp_info; /* Modifiable attributes */ member
/titanic_50/usr/src/uts/common/sys/ib/mgt/ibcm/
H A Dibcm_impl.h1204 #define IBCM_QP_RC(q) (q).qp_info.qp_transport.rc
1205 #define IBCM_QP_UD(q) (q).qp_info.qp_transport.ud
1206 #define IBCM_QP_UC(q) (q).qp_info.qp_transport.uc
/titanic_50/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_impl.c2675 *q_keyp = qp_query.qp_info.qp_transport.ud.ud_qkey; in ibmf_i_query_qp()
2676 *portnump = qp_query.qp_info.qp_transport.ud.ud_port; in ibmf_i_query_qp()
2678 pkey_ix = qp_query.qp_info.qp_transport.ud.ud_pkey_ix; in ibmf_i_query_qp()