Home
last modified time | relevance | path

Searched refs:ch_qp (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_qp.c159 IBTL_HCA2CIHCA(hca_hdl), &chanp->ch_qp, type, qp_attrp, in ibt_alloc_qp()
160 queue_sizes_p, qpn_p, &chanp->ch_qp.qp_ibc_qp_hdl); in ibt_alloc_qp()
171 chanp->ch_qp.qp_type = qp_type; in ibt_alloc_qp()
172 chanp->ch_qp.qp_hca = hca_hdl; in ibt_alloc_qp()
173 chanp->ch_qp.qp_send_cq = qp_attrp->qp_scq_hdl; in ibt_alloc_qp()
174 chanp->ch_qp.qp_recv_cq = qp_attrp->qp_rcq_hdl; in ibt_alloc_qp()
181 chanp->ch_qp.qp_flags = qp_attrp->qp_flags; in ibt_alloc_qp()
182 chanp->ch_qp.qp_pd_hdl = qp_attrp->qp_pd_hdl; in ibt_alloc_qp()
230 if (ibt_qp->ch_qp.qp_type != modify_attrp->qp_trans) { in ibt_initialize_qp()
233 ibt_qp->ch_qp.qp_type, modify_attrp->qp_trans); in ibt_initialize_qp()
[all …]
H A Dibtl_chan.c103 } else if (args->rc_clone_chan->ch_qp.qp_hca != hca_hdl) { in ibt_alloc_rc_channel()
234 if (rc_chan->ch_qp.qp_type != IBT_RC_SRV) { in ibt_query_rc_channel()
236 "type of channel (%d) is not RC", rc_chan->ch_qp.qp_type); in ibt_query_rc_channel()
254 chan_attrs->rc_pd = rc_chan->ch_qp.qp_pd_hdl; in ibt_query_rc_channel()
278 chan_attrs->rc_flags = rc_chan->ch_qp.qp_flags; in ibt_query_rc_channel()
318 if (rc_chan->ch_qp.qp_type != IBT_RC_SRV) { in ibt_modify_rc_channel()
320 "type of channel (%d) is not RC", rc_chan->ch_qp.qp_type); in ibt_modify_rc_channel()
479 } else if (args->ud_clone_chan->ch_qp.qp_hca != hca_hdl) { in ibt_alloc_ud_channel()
701 chanp->ch_qp.qp_type = IBT_UD_SRV; in ibt_alloc_ud_channel_range()
702 chanp->ch_qp.qp_hca = hca_hdl; in ibt_alloc_ud_channel_range()
[all …]
H A Dibtl_mcg.c67 IBTL_CHAN2CIHCA(ud_chan), ud_chan->ch_qp.qp_ibc_qp_hdl, in ibt_attach_mcg()
98 IBTL_CHAN2CIHCA(ud_chan), ud_chan->ch_qp.qp_ibc_qp_hdl, in ibt_detach_mcg()
H A Dibtl_wr.c63 chan->ch_qp.qp_ibc_qp_hdl, wr_list, size, posted)); in ibt_post_send()
88 chan->ch_qp.qp_ibc_qp_hdl, wr_list, size, posted)); in ibt_post_recv()
H A Dibtl_cm.c131 return (chan->ch_qp.qp_type); in ibtl_cm_get_chan_type()
/titanic_50/usr/src/uts/common/sys/ib/ibtl/impl/
H A Dibtl.h442 ibtl_qp_t ch_qp; /* IBTL QP handle */ member
460 #define IBTL_CHAN2QP(ibt_chan) (&(ibt_chan)->ch_qp)
461 #define IBTL_CHAN2HCA(ibt_chan) (ibt_chan)->ch_qp.qp_hca
463 #define IBTL_CHAN2CIQP(ibt_chan) (ibt_chan->ch_qp.qp_ibc_qp_hdl)
475 #define IBTL_CHAN2CIHCA(ibt_chan) IBTL_HCA2CIHCA((ibt_chan)->ch_qp.qp_hca)
486 IBTL_HCA2CIHCAOPS_P((ibt_chan)->ch_qp.qp_hca)
496 #define IBTL_CHAN2CLNT(ibt_chan) IBTL_HCA2CLNT((ibt_chan)->ch_qp.qp_hca)