• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/mlx5/mlx5_ib/

Lines Matching refs:cpu_to_be32

2149 	return cpu_to_be32(hw_access_flags);
2276 cpu_to_be32((ah->grh.traffic_class << 20) |
2634 context->flags = cpu_to_be32(err << 16);
2637 context->flags |= cpu_to_be32(MLX5_QP_PM_MIGRATED << 11);
2641 context->flags |= cpu_to_be32(MLX5_QP_PM_MIGRATED << 11);
2644 context->flags |= cpu_to_be32(MLX5_QP_PM_REARM << 11);
2647 context->flags |= cpu_to_be32(MLX5_QP_PM_ARMED << 11);
2669 context->log_pg_sz_remote_qpn = cpu_to_be32(attr->dest_qp_num);
2707 context->flags_pd = cpu_to_be32(pd ? pd->pdn : to_mpd(dev->devr.p0)->pdn);
2708 context->cqn_send = send_cq ? cpu_to_be32(send_cq->mcq.cqn) : 0;
2709 context->cqn_recv = recv_cq ? cpu_to_be32(recv_cq->mcq.cqn) : 0;
2710 context->params1 = cpu_to_be32(MLX5_IB_ACK_REQ_FREQ << 28);
2713 context->params1 |= cpu_to_be32(attr->rnr_retry << 13);
2716 context->params1 |= cpu_to_be32(attr->retry_cnt << 16);
2721 cpu_to_be32(fls(attr->max_rd_atomic - 1) << 21);
2725 context->next_send_psn = cpu_to_be32(attr->sq_psn);
2730 cpu_to_be32(fls(attr->max_dest_rd_atomic - 1) << 21);
2737 context->rnr_nextrecvpsn |= cpu_to_be32(attr->min_rnr_timer << 24);
2740 context->rnr_nextrecvpsn |= cpu_to_be32(attr->rq_psn);
2743 context->qkey = cpu_to_be32(attr->qkey);
2759 cpu_to_be32((u32)(mibport->q_cnt_id) << 24);
2766 context->deth_sqpn = cpu_to_be32(1);
2953 rseg->rkey = cpu_to_be32(rkey);
3014 dseg->av.dqp_dct = cpu_to_be32(ud_wr(wr)->remote_qpn | MLX5_EXTENDED_UD_AV);
3015 dseg->av.key.qkey.qkey = cpu_to_be32(ud_wr(wr)->remote_qkey);
3020 dseg->byte_count = cpu_to_be32(sg->length);
3021 dseg->lkey = cpu_to_be32(sg->lkey);
3228 seg->qpn_mkey7_0 = cpu_to_be32((key & 0xff) | 0xffffff00);
3229 seg->flags_pd = cpu_to_be32(MLX5_MKEY_REMOTE_INVAL);
3232 seg->xlt_oct_size = cpu_to_be32(ndescs);
3254 seg->flags_pd = cpu_to_be32(to_mpd(umrwr->pd)->pdn);
3259 seg->qpn_mkey7_0 = cpu_to_be32(0xffffff00 |
3270 dseg->byte_count = cpu_to_be32(ALIGN(bcount, 64));
3271 dseg->lkey = cpu_to_be32(pd->ibpd.local_dma_lkey);
3282 return cpu_to_be32(wr->ex.invalidate_rkey);
3338 seg->byte_count = cpu_to_be32(inl | MLX5_INLINE_SEG);
3374 inl->dif_reftag = cpu_to_be32(domain->sig.dif.ref_tag);
3409 basic->raw_data_size = cpu_to_be32(data_size);
3417 basic->m_bfs_psv = cpu_to_be32(msig->psv_memory.psv_idx);
3442 basic->w_bfs_psv = cpu_to_be32(msig->psv_wire.psv_idx);
3480 data_klm->bcount = cpu_to_be32(data_len);
3481 data_klm->key = cpu_to_be32(data_key);
3515 sblock_ctrl->bcount_per_cycle = cpu_to_be32(block_size +
3517 sblock_ctrl->op = cpu_to_be32(MLX5_STRIDE_BLOCK_OP);
3518 sblock_ctrl->repeat_count = cpu_to_be32(data_len / block_size);
3522 data_sentry->key = cpu_to_be32(data_key);
3527 prot_sentry->key = cpu_to_be32(prot_key);
3565 seg->qpn_mkey7_0 = cpu_to_be32((sig_key & 0xff) | 0xffffff00);
3566 seg->flags_pd = cpu_to_be32(MLX5_MKEY_REMOTE_INVAL | sigerr << 26 |
3569 seg->xlt_oct_size = cpu_to_be32(be16_to_cpu(get_klm_octo(nelements)));
3570 seg->bsfs_octo_size = cpu_to_be32(MLX5_MKEY_BSF_OCTO_SIZE);
3641 psv_seg->psv_num = cpu_to_be32(psv_idx);
3646 psv_seg->transient_sig = cpu_to_be32(domain->sig.dif.bg << 16 |
3648 psv_seg->ref_tag = cpu_to_be32(domain->sig.dif.ref_tag);
3778 ctrl->opmod_idx_opcode = cpu_to_be32(((u32)(qp->sq.cur_post) << 8) |
3780 ctrl->qpn_ds = cpu_to_be32(size | (qp->trans_qp.base.mqp.qpn << 8));
3887 ctrl->imm = cpu_to_be32(wr->ex.invalidate_rkey);
3895 ctrl->imm = cpu_to_be32(reg_wr(wr)->key);
3908 ctrl->imm = cpu_to_be32(mr->ibmr.rkey);
4029 ctrl->imm = cpu_to_be32(umr_wr(wr)->mkey);
4089 qp->db.db[MLX5_SND_DBR] = cpu_to_be32(qp->sq.cur_post);
4163 scat[i].lkey = cpu_to_be32(MLX5_INVALID_LKEY);
4186 *qp->db.db = cpu_to_be32(qp->rq.head & 0xffff);