Home
last modified time | relevance | path

Searched refs:h2b32 (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_stp.c725 h2b32(atomic_swap_32(&iu->iu_ch->ch_req_lim_delta, 0)); in srpt_stp_send_mgmt_response()
734 rsp->rsp_data_len = h2b32(sizeof (srp_rsp_data_t)); in srpt_stp_send_mgmt_response()
778 h2b32(atomic_swap_32(&iu->iu_ch->ch_req_lim_delta, 0)); in srpt_stp_send_response()
789 rsp->rsp_do_resid_cnt = h2b32(resid); in srpt_stp_send_response()
792 rsp->rsp_di_resid_cnt = h2b32(resid); in srpt_stp_send_response()
804 rsp->rsp_sense_data_len = h2b32(sense_length); in srpt_stp_send_response()
1630 rej->lrej_reason = h2b32(reason); in srpt_format_login_rej()
1644 rsp->lrsp_req_limit_delta = h2b32((uint32_t)srpt_send_msg_depth); in srpt_format_login_rsp()
H A Dsrpt_ioc.c1252 h2b32((uint32_t)(ioc->ioc_attr.hca_vendor_id << 8)); in srpt_ioc_init_profile()
1254 h2b32((uint32_t)ioc->ioc_attr.hca_device_id); in srpt_ioc_init_profile()
1258 h2b32((uint32_t)(ioc->ioc_attr.hca_vendor_id << 8)); in srpt_ioc_init_profile()
1259 ioc->ioc_profile.ioc_subsys_id = h2b32(0); in srpt_ioc_init_profile()
1267 ioc->ioc_profile.ioc_send_msg_sz = h2b32(srpt_iu_size); in srpt_ioc_init_profile()
1268 ioc->ioc_profile.ioc_rdma_xfer_sz = h2b32(SRPT_DEFAULT_MAX_RDMA_SIZE); in srpt_ioc_init_profile()
/titanic_41/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_sm.c2646 dreq_msgp->dreq_local_comm_id = h2b32(statep->local_comid); in ibcm_post_dreq_mad()
2647 dreq_msgp->dreq_remote_comm_id = h2b32(statep->remote_comid); in ibcm_post_dreq_mad()
2648 dreq_msgp->dreq_remote_qpn_eecn_plus = h2b32(statep->remote_qpn << 8); in ibcm_post_dreq_mad()
2708 drep_msgp->drep_local_comm_id = h2b32(statep->local_comid); in ibcm_post_drep_mad()
2709 drep_msgp->drep_remote_comm_id = h2b32(statep->remote_comid); in ibcm_post_drep_mad()
3032 rej_msg->rej_local_comm_id = h2b32(statep->local_comid); in ibcm_post_rej_mad()
3033 rej_msg->rej_remote_comm_id = h2b32(statep->remote_comid); in ibcm_post_rej_mad()
3112 rej_msg->rej_remote_comm_id = h2b32(remote_comid); in ibcm_build_n_post_rej_mad()
3208 rep_msgp->rep_local_comm_id = h2b32(statep->local_comid); in ibcm_post_rep_mad()
3209 rep_msgp->rep_remote_comm_id = h2b32(statep->remote_comid); in ibcm_post_rep_mad()
[all …]
H A Dibcm_ti.c600 req_msgp->req_local_comm_id = h2b32(local_comid); in ibt_open_rc_channel()
603 req_msgp->req_local_qkey = h2b32(local_qkey); /* for EEC/RD */ in ibt_open_rc_channel()
606 req_msgp->req_local_qpn_plus = h2b32(local_qpn << 8 | rdma_in); in ibt_open_rc_channel()
609 req_msgp->req_local_eec_no_plus = h2b32(local_eecn << 8 | rdma_out); in ibt_open_rc_channel()
620 req_msgp->req_remote_eecn_plus = h2b32( in ibt_open_rc_channel()
643 req_msgp->req_starting_psn_plus = h2b32(starting_psn << 8 | in ibt_open_rc_channel()
723 h2b32(((primary_grh == B_TRUE) ? in ibt_open_rc_channel()
784 req_msgp->req_alt_flow_label_plus = h2b32( in ibt_open_rc_channel()
2094 sidr_req_msgp->sidr_req_request_id = h2b32(ud_statep->ud_req_id); in ibcm_ud_get_dqpn()
2351 mra_msgp->mra_local_comm_id = h2b32(statep->local_comid); in ibt_cm_delay()
[all …]
H A Dibcm_utils.c1543 *p32++ = h2b32(sb_data->s_data32[i]); in ibcm_swizzle_from_srv()
1568 sb_data->s_data32[i] = h2b32(*p32++); in ibcm_swizzle_to_srv()
H A Dibcm_impl.c540 h2b32(ibt_usec2ib(ibcm_local_processing_time) & 0x1f); in ibcm_init_classportinfo()
/titanic_41/usr/src/uts/common/io/ib/mgt/ibdma/
H A Dibdma.c736 cpip->RespTimeValue = h2b32(IBDMA_DM_RESP_TIME); in ibdma_get_class_portinfo()
1014 profile->ioc_vendorid |= h2b32(free_slot); in ibdma_ioc_register()
1195 profile->ioc_vendorid |= h2b32(ioc->ii_slot); in ibdma_ioc_update()
/titanic_41/usr/src/uts/common/sys/ib/ibtl/
H A Dibtl_types.h56 #define h2b32(x) (htonl(x)) macro
71 #define h2b32(x) (x)
/titanic_41/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_wqe.c53 (hdrp)->rmpp_segnum = (h2b32(seg)); \
54 (hdrp)->rmpp_pyldlen_nwl = (h2b32(lennwl)); \
H A Dibmf_saa_impl.c1751 mad_hdr->AttributeModifier = h2b32(0xffffffff); in ibmf_saa_impl_init_msg()
/titanic_41/usr/src/uts/common/io/ib/mgt/ibdm/
H A Dibdm.c2220 cpi->TrapQP = h2b32((((ibmf_alt_qp_t *)gid_info->gl_qp_hdl)->isq_qpn)); in ibdm_set_classportinfo()
2221 cpi->TrapQ_Key = h2b32((((ibmf_alt_qp_t *) in ibdm_set_classportinfo()
2792 hdr->AttributeModifier = h2b32(ii + 1); in ibdm_handle_iounitinfo()
3218 hdr->AttributeModifier = h2b32(attr); in ibdm_get_diagcode()
4101 hdr->AttributeModifier = h2b32(cb_args->cb_ioc_num + 1); in ibdm_retry_command()
4119 hdr->AttributeModifier = h2b32(cb_args->cb_ioc_num + 1); in ibdm_retry_command()
5534 hdr->AttributeModifier = h2b32(ioc_no + 1); in ibdm_send_ioc_profile()
6997 hdr->AttributeModifier = h2b32(attr_mod); in ibdm_fill_srv_attr_mod()