h2b32
h2b32((uint32_t)(ioc->ioc_attr.hca_vendor_id << 8));
h2b32((uint32_t)ioc->ioc_attr.hca_device_id);
h2b32((uint32_t)(ioc->ioc_attr.hca_vendor_id << 8));
ioc->ioc_profile.ioc_subsys_id = h2b32(0);
ioc->ioc_profile.ioc_send_msg_sz = h2b32(srpt_iu_size);
ioc->ioc_profile.ioc_rdma_xfer_sz = h2b32(SRPT_DEFAULT_MAX_RDMA_SIZE);
rej->lrej_reason = h2b32(reason);
rsp->lrsp_req_limit_delta = h2b32((uint32_t)srpt_send_msg_depth);
h2b32(atomic_swap_32(&iu->iu_ch->ch_req_lim_delta, 0));
rsp->rsp_data_len = h2b32(sizeof (srp_rsp_data_t));
h2b32(atomic_swap_32(&iu->iu_ch->ch_req_lim_delta, 0));
rsp->rsp_do_resid_cnt = h2b32(resid);
rsp->rsp_di_resid_cnt = h2b32(resid);
rsp->rsp_sense_data_len = h2b32(sense_length);
h2b32(ibt_usec2ib(ibcm_local_processing_time) & 0x1f);
dreq_msgp->dreq_local_comm_id = h2b32(statep->local_comid);
dreq_msgp->dreq_remote_comm_id = h2b32(statep->remote_comid);
dreq_msgp->dreq_remote_qpn_eecn_plus = h2b32(statep->remote_qpn << 8);
drep_msgp->drep_local_comm_id = h2b32(statep->local_comid);
drep_msgp->drep_remote_comm_id = h2b32(statep->remote_comid);
rej_msg->rej_local_comm_id = h2b32(statep->local_comid);
rej_msg->rej_remote_comm_id = h2b32(statep->remote_comid);
rej_msg->rej_remote_comm_id = h2b32(remote_comid);
rep_msgp->rep_local_comm_id = h2b32(statep->local_comid);
rep_msgp->rep_remote_comm_id = h2b32(statep->remote_comid);
rtu_msg->rtu_local_comm_id = h2b32(statep->local_comid);
rtu_msg->rtu_remote_comm_id = h2b32(statep->remote_comid);
h2b32(sidr_repp->sidr_rep_qpn_plus) >> 8);
h2b32(sidr_repp->sidr_rep_qpn_plus) >> 8;
sidr_repp->sidr_rep_request_id = h2b32(ud_statep->ud_req_id);
rep_msgp->rep_local_qpn_plus = h2b32(qp_attrs.qp_qpn << 8);
rep_msgp->rep_local_qkey = h2b32(
h2b32(IBCM_QP_RC(qp_attrs).rc_rq_psn << 8);
h2b32(IBCM_QP_UC(qp_attrs).uc_sq_psn << 8);
h2b32(((uint32_t)eec_attrs.eec_eecn << 8));
h2b32((rinfo->rdi_tclass << 24) | (rinfo->rdi_sl << 20) |
clp->RedirectQP_plus = h2b32(rinfo->rdi_qpn & 0xffffff);
clp->RedirectQ_Key = h2b32(rinfo->rdi_qkey);
h2b32(ud_clnt_info->ud_qkey);
sidr_repp->sidr_rep_qpn_plus = h2b32(ud_clnt_info->ud_qpn << 8);
h2b32(sidr_rep_msgp->sidr_rep_qkey);
apr_msgp->apr_local_comm_id = h2b32(statep->local_comid);
apr_msgp->apr_remote_comm_id = h2b32(statep->remote_comid);
sidr_req_msgp->sidr_req_request_id = h2b32(ud_statep->ud_req_id);
mra_msgp->mra_local_comm_id = h2b32(statep->local_comid);
mra_msgp->mra_remote_comm_id = h2b32(statep->remote_comid);
lap_msgp->lap_alt_flow_label_plus = h2b32(((alt_grh == B_TRUE) ?
lap_msgp->lap_local_comm_id = h2b32(statep->local_comid);
lap_msgp->lap_remote_comm_id = h2b32(statep->remote_comid);
h2b32((statep->remote_qpn << 8) |
req_msgp->req_local_comm_id = h2b32(local_comid);
req_msgp->req_local_qkey = h2b32(local_qkey); /* for EEC/RD */
req_msgp->req_local_qpn_plus = h2b32(local_qpn << 8 | rdma_in);
req_msgp->req_local_eec_no_plus = h2b32(local_eecn << 8 | rdma_out);
req_msgp->req_remote_eecn_plus = h2b32(
req_msgp->req_starting_psn_plus = h2b32(starting_psn << 8 |
h2b32(((primary_grh == B_TRUE) ?
req_msgp->req_alt_flow_label_plus = h2b32(
*p32++ = h2b32(sb_data->s_data32[i]);
sb_data->s_data32[i] = h2b32(*p32++);
cpi->TrapQP = h2b32((((ibmf_alt_qp_t *)gid_info->gl_qp_hdl)->isq_qpn));
cpi->TrapQ_Key = h2b32((((ibmf_alt_qp_t *)
hdr->AttributeModifier = h2b32(ii + 1);
hdr->AttributeModifier = h2b32(attr);
hdr->AttributeModifier = h2b32(cb_args->cb_ioc_num + 1);
hdr->AttributeModifier = h2b32(cb_args->cb_ioc_num + 1);
hdr->AttributeModifier = h2b32(ioc_no + 1);
hdr->AttributeModifier = h2b32(attr_mod);
profile->ioc_vendorid |= h2b32(free_slot);
profile->ioc_vendorid |= h2b32(ioc->ii_slot);
cpip->RespTimeValue = h2b32(IBDMA_DM_RESP_TIME);
mad_hdr->AttributeModifier = h2b32(0xffffffff);
(hdrp)->rmpp_segnum = (h2b32(seg)); \
(hdrp)->rmpp_pyldlen_nwl = (h2b32(lennwl)); \