/illumos-gate/usr/src/uts/common/sys/ib/ibtl/impl/ |
H A D | ibtl_cm.h | 145 * rc_chan Channel Handle 152 * rc_chan Channel Handle 154 void ibtl_cm_chan_is_open(ibt_channel_hdl_t rc_chan); 155 void ibtl_cm_chan_is_opening(ibt_channel_hdl_t rc_chan); 156 void ibtl_cm_chan_open_is_aborted(ibt_channel_hdl_t rc_chan); 157 void ibtl_cm_chan_is_closing(ibt_channel_hdl_t rc_chan); 158 void ibtl_cm_chan_is_closed(ibt_channel_hdl_t rc_chan); 159 void ibtl_cm_chan_is_reused(ibt_channel_hdl_t rc_chan); 160 int ibtl_cm_is_chan_closing(ibt_channel_hdl_t rc_chan); 161 int ibtl_cm_is_chan_closed(ibt_channel_hdl_t rc_chan); [all...] |
/illumos-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_qp.c | 876 * rc_chan A previously allocated RC channel handle. 887 ibt_migrate_path(ibt_channel_hdl_t rc_chan) argument 895 IBTF_DPRINTF_L3(ibtf_qp, "ibt_migrate_path: channel %p", rc_chan); 897 if (rc_chan->ch_qp.qp_type != IBT_RC_SRV) { 903 if (rc_chan->ch_current_state != IBT_STATE_RTS && 904 rc_chan->ch_current_state != IBT_STATE_SQD) { 905 if (ibt_query_qp(rc_chan, &qp_attr) == IBT_SUCCESS) { 907 if (rc_chan->ch_current_state != IBT_STATE_RTS && 908 rc_chan->ch_current_state != IBT_STATE_SQD) 918 qp_info.qp_state = rc_chan 1331 ibt_modify_rdma(ibt_channel_hdl_t rc_chan, ibt_cep_modify_flags_t modify_flags, ibt_cep_flags_t flags) argument [all...] |
H A D | ibtl_chan.c | 213 * rc_chan A previously allocated channel handle. 225 ibt_query_rc_channel(ibt_channel_hdl_t rc_chan, argument 232 rc_chan, chan_attrs); 234 if (rc_chan->ch_qp.qp_type != IBT_RC_SRV) { 236 "type of channel (%d) is not RC", rc_chan->ch_qp.qp_type); 243 retval = ibt_query_qp(rc_chan, &qp_attr); 246 "ibt_query_qp failed on QP %p: %d", rc_chan, retval); 250 chan_attrs->rc_hca_guid = IBTL_HCA2HCAGUID(IBTL_CHAN2HCA(rc_chan)); 254 chan_attrs->rc_pd = rc_chan->ch_qp.qp_pd_hdl; 278 chan_attrs->rc_flags = rc_chan 308 ibt_modify_rc_channel(ibt_channel_hdl_t rc_chan, ibt_cep_modify_flags_t flags, ibt_rc_chan_modify_attr_t *attrs, ibt_queue_sizes_t *actual_sz) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/ib/ibtl/ |
H A D | ibti_common.h | 839 ibt_status_t ibt_open_rc_channel(ibt_channel_hdl_t rc_chan, 853 ibt_status_t ibt_close_rc_channel(ibt_channel_hdl_t rc_chan, 872 ibt_status_t ibt_prime_close_rc_channel(ibt_channel_hdl_t rc_chan); 892 ibt_status_t ibt_recycle_rc(ibt_channel_hdl_t rc_chan, ibt_cep_flags_t control, 947 ibt_status_t ibt_modify_rdma(ibt_channel_hdl_t rc_chan, 956 ibt_status_t ibt_set_rdma_resource(ibt_channel_hdl_t rc_chan, 967 ibt_status_t ibt_change_port(ibt_channel_hdl_t rc_chan, uint8_t port_num); 1355 ibt_status_t ibt_get_alt_path(ibt_channel_hdl_t rc_chan, ibt_path_flags_t flags, 1358 ibt_status_t ibt_set_alt_path(ibt_channel_hdl_t rc_chan, 1362 ibt_status_t ibt_migrate_path(ibt_channel_hdl_t rc_chan); [all...] |
H A D | ibti.h | 241 ibt_status_t ibt_query_rc_channel(ibt_channel_hdl_t rc_chan, 255 ibt_status_t ibt_modify_rc_channel(ibt_channel_hdl_t rc_chan,
|
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/ |
H A D | ibd_cm.c | 124 ibd_rc_chan_t *rc_chan = req->rq_ptr; local 127 while (rc_chan != NULL) { 128 ace = rc_chan->ace; 131 ibd_rc_act_close(rc_chan, B_TRUE); 144 rc_chan = ibd_rc_rm_header_chan_list( 153 ibd_rc_chan_t *rc_chan; local 156 rc_chan = ace->ac_chan; 157 ASSERT(rc_chan != NULL); 159 ibd_rc_act_close(rc_chan, B_TRUE); 898 ibd_rc_chan_t *rc_chan; local 2564 ibd_rc_chan_t *rc_chan; local 3164 ibd_rc_chan_t *rc_chan; local [all...] |
H A D | ibd.c | 6951 /* if (rc_chan == NULL) send by UD; else send by RC; */ 6952 ibd_rc_chan_t *rc_chan; local 6971 rc_chan = NULL; 6980 rc_chan = ace->ac_chan; 6981 rc_chan->is_used = B_TRUE; 6982 mutex_enter(&rc_chan->tx_wqe_list.dl_mutex); 6984 rc_chan->tx_wqe_list.dl_head); 6986 rc_chan->tx_wqe_list.dl_cnt -= 1; 6987 rc_chan->tx_wqe_list.dl_head = 6990 node = ibd_rc_acquire_swqes(rc_chan); [all...] |
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_ti.c | 36 ibt_channel_hdl_t rc_chan; member in struct:ibcm_taskq_recycle_arg_s 1628 ibt_recycle_rc(ibt_channel_hdl_t rc_chan, ibt_cep_flags_t control, argument 1636 IBTF_DPRINTF_L3(cmlog, "ibt_recycle_rc (%p, 0x%X, %d, %p, %p)", rc_chan, 1639 if (IBCM_INVALID_CHANNEL(rc_chan)) { 1645 retval = ibt_query_qp(rc_chan, &qp_attr); 1661 ibcm_tq_recycle_arg->rc_chan = rc_chan; 1669 IBCM_GET_CHAN_PRIVATE(rc_chan, statep); 1676 IBCM_RELEASE_CHAN_PRIVATE(rc_chan); 1688 IBCM_RELEASE_CHAN_PRIVATE(rc_chan); [all...] |
H A D | ibcm_path.c | 2550 * rc_chan An RC channel handle returned in a previous call 2573 ibt_get_alt_path(ibt_channel_hdl_t rc_chan, ibt_path_flags_t flags, argument 2596 rc_chan, flags, attrp, api_p); 2599 if (IBCM_INVALID_CHANNEL(rc_chan)) { 2610 retval = ibt_query_qp(rc_chan, &qp_attr); 2613 "failed %d", rc_chan, retval); 4244 ibt_get_ip_alt_path(ibt_channel_hdl_t rc_chan, ibt_path_flags_t flags, argument 4267 rc_chan, flags, attrp, api_p); 4270 if (IBCM_INVALID_CHANNEL(rc_chan)) { 4281 retval = ibt_query_qp(rc_chan, [all...] |