/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | cm_msgs.h | 108 return cpu_to_be32(be32_to_cpu(req_msg->offset32) >> 8); in cm_req_get_local_qpn() 113 req_msg->offset32 = cpu_to_be32((be32_to_cpu(qpn) << 8) | in cm_req_set_local_qpn() 125 req_msg->offset32 = cpu_to_be32(resp_res | in cm_req_set_resp_res() 138 req_msg->offset36 = cpu_to_be32(init_depth | in cm_req_set_init_depth() 151 req_msg->offset40 = cpu_to_be32((resp_timeout << 3) | in cm_req_set_remote_resp_timeout() 176 req_msg->offset40 = cpu_to_be32((be32_to_cpu( in cm_req_set_qp_type() 181 req_msg->offset40 = cpu_to_be32((be32_to_cpu( in cm_req_set_qp_type() 187 req_msg->offset40 = cpu_to_be32(be32_to_cpu( in cm_req_set_qp_type() 201 req_msg->offset40 = cpu_to_be32((flow_ctrl & 0x1) | in cm_req_set_flow_ctrl() 208 return cpu_to_be32(be32_to_cpu(req_msg->offset44) >> 8); in cm_req_get_starting_psn() [all …]
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_qp.c | 355 return cpu_to_be32(hw_access_flags); in get_hw_access_flags() 534 cpu_to_be32((ah->sl << 28) | in mthca_path_set() 539 path->sl_tclass_flowlabel = cpu_to_be32(ah->sl << 28); in mthca_path_set() 569 qp_context->flags = cpu_to_be32((to_mthca_state(new_state) << 28) | in __mthca_modify_qp() 571 qp_context->flags |= cpu_to_be32(MTHCA_QP_BIT_DE); in __mthca_modify_qp() 573 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_MIGRATED << 11); in __mthca_modify_qp() 575 qp_param->opt_param_mask |= cpu_to_be32(MTHCA_QP_OPTPAR_PM_STATE); in __mthca_modify_qp() 578 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_MIGRATED << 11); in __mthca_modify_qp() 581 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_REARM << 11); in __mthca_modify_qp() 584 qp_context->flags |= cpu_to_be32(MTHCA_QP_PM_ARMED << 11); in __mthca_modify_qp() [all …]
|
H A D | mthca_srq.c | 109 context->state_pd = cpu_to_be32(pd->pd_num); in mthca_tavor_init_srq_context() 110 context->lkey = cpu_to_be32(srq->mr.ibmr.lkey); in mthca_tavor_init_srq_context() 113 context->uar = cpu_to_be32(ucontext->uar.index); in mthca_tavor_init_srq_context() 115 context->uar = cpu_to_be32(dev->driver_uar.index); in mthca_tavor_init_srq_context() 130 context->state_logsize_srqn = cpu_to_be32(logsize << 24 | srq->srqn); in mthca_arbel_init_srq_context() 131 context->lkey = cpu_to_be32(srq->mr.ibmr.lkey); in mthca_arbel_init_srq_context() 132 context->db_index = cpu_to_be32(srq->db_index); in mthca_arbel_init_srq_context() 133 context->logstride_usrpage = cpu_to_be32((srq->wqe_shift - 4) << 29); in mthca_arbel_init_srq_context() 135 context->logstride_usrpage |= cpu_to_be32(ucontext->uar.index); in mthca_arbel_init_srq_context() 137 context->logstride_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_arbel_init_srq_context() [all …]
|
H A D | mthca_mcg.c | 165 if (mgm->qp[i] == cpu_to_be32(ibqp->qp_num | (1 << 31))) { in mthca_multicast_attach() 170 } else if (!(mgm->qp[i] & cpu_to_be32(1 << 31))) { in mthca_multicast_attach() 171 mgm->qp[i] = cpu_to_be32(ibqp->qp_num | (1 << 31)); in mthca_multicast_attach() 197 mgm->next_gid_index = cpu_to_be32(index << 6); in mthca_multicast_attach() 242 if (mgm->qp[i] == cpu_to_be32(ibqp->qp_num | (1 << 31))) in mthca_multicast_detach() 244 if (!(mgm->qp[i] & cpu_to_be32(1 << 31))) in mthca_multicast_detach() 297 mgm->next_gid_index = cpu_to_be32(curr_next_index << 6); in mthca_multicast_detach()
|
H A D | mthca_cq.c | 208 *cq->set_ci_db = cpu_to_be32(cq->cons_index); in update_cons_index() 310 if (cqe->my_qpn == cpu_to_be32(qpn)) { in mthca_cq_clean() 473 if (!(new_wqe & cpu_to_be32(0x3f)) || (!cqe->db_cnt && dbd)) in handle_error_cqe() 748 db_rec[0] = cpu_to_be32(cq->cons_index); in mthca_arbel_arm_cq() 749 db_rec[1] = cpu_to_be32((cq->cqn << 8) | (2 << 5) | (sn << 3) | in mthca_arbel_arm_cq() 828 cq_context->flags = cpu_to_be32(MTHCA_CQ_STATUS_OK | in mthca_init_cq() 831 cq_context->logsize_usrpage = cpu_to_be32((ffs(nent) - 1) << 24); in mthca_init_cq() 833 cq_context->logsize_usrpage |= cpu_to_be32(ctx->uar.index); in mthca_init_cq() 835 cq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index); in mthca_init_cq() 836 cq_context->error_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn); in mthca_init_cq() [all …]
|
H A D | mthca_wqe.h | 119 dseg->byte_count = cpu_to_be32(sg->length); in mthca_set_data_seg() 120 dseg->lkey = cpu_to_be32(sg->lkey); in mthca_set_data_seg() 127 dseg->lkey = cpu_to_be32(MTHCA_INVAL_LKEY); in mthca_set_data_seg_inval()
|
H A D | mthca_av.c | 201 av->port_pd = cpu_to_be32(pd->pd_num | (ah_attr->port_num << 24)); in mthca_create_ah() 206 av->sl_tclass_flowlabel = cpu_to_be32(ah_attr->sl << 28); in mthca_create_ah() 213 cpu_to_be32((ah_attr->grh.traffic_class << 20) | in mthca_create_ah() 218 av->dgid[3] = cpu_to_be32(2); in mthca_create_ah() 279 ah->av->sl_tclass_flowlabel & cpu_to_be32(0xfffff); in mthca_read_ah()
|
H A D | mthca_mr.c | 459 mpt_entry->flags = cpu_to_be32(MTHCA_MPT_FLAG_SW_OWNS | in mthca_mr_alloc() 464 mpt_entry->flags |= cpu_to_be32(MTHCA_MPT_FLAG_PHYSICAL); in mthca_mr_alloc() 466 mpt_entry->page_size = cpu_to_be32(buffer_size_shift - 12); in mthca_mr_alloc() 467 mpt_entry->key = cpu_to_be32(key); in mthca_mr_alloc() 468 mpt_entry->pd = cpu_to_be32(pd); in mthca_mr_alloc() 631 mpt_entry->flags = cpu_to_be32(MTHCA_MPT_FLAG_SW_OWNS | in mthca_fmr_alloc() 636 mpt_entry->page_size = cpu_to_be32(mr->attr.page_shift - 12); in mthca_fmr_alloc() 637 mpt_entry->key = cpu_to_be32(key); in mthca_fmr_alloc() 638 mpt_entry->pd = cpu_to_be32(pd); in mthca_fmr_alloc() 743 mpt_entry.lkey = cpu_to_be32(key); in mthca_tavor_map_phys_fmr() [all …]
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_qp.c | 111 [IB_WR_SEND] = cpu_to_be32(MLX4_OPCODE_SEND), 112 [IB_WR_LSO] = cpu_to_be32(MLX4_OPCODE_LSO), 113 [IB_WR_SEND_WITH_IMM] = cpu_to_be32(MLX4_OPCODE_SEND_IMM), 114 [IB_WR_RDMA_WRITE] = cpu_to_be32(MLX4_OPCODE_RDMA_WRITE), 115 [IB_WR_RDMA_WRITE_WITH_IMM] = cpu_to_be32(MLX4_OPCODE_RDMA_WRITE_IMM), 116 [IB_WR_RDMA_READ] = cpu_to_be32(MLX4_OPCODE_RDMA_READ), 117 [IB_WR_ATOMIC_CMP_AND_SWP] = cpu_to_be32(MLX4_OPCODE_ATOMIC_CS), 118 [IB_WR_ATOMIC_FETCH_AND_ADD] = cpu_to_be32(MLX4_OPCODE_ATOMIC_FA), 119 [IB_WR_SEND_WITH_INV] = cpu_to_be32(MLX4_OPCODE_SEND_INVAL), 120 [IB_WR_LOCAL_INV] = cpu_to_be32(MLX4_OPCODE_LOCAL_INVAL), [all …]
|
H A D | mlx4_ib_ah.c | 51 ah->av.ib.port_pd = cpu_to_be32(to_mpd(pd)->pdn | (ah_attr->port_num << 24)); in create_ib_ah() 53 ah->av.ib.sl_tclass_flowlabel = cpu_to_be32(ah_attr->sl << 28); in create_ib_ah() 59 cpu_to_be32((ah_attr->grh.traffic_class << 20) | in create_ib_ah() 106 ah->av.eth.port_pd = cpu_to_be32(to_mpd(pd)->pdn | (ah_attr->port_num << 24)); in create_iboe_ah() 127 ah->av.eth.sl_tclass_flowlabel = cpu_to_be32(ah_attr->sl << 29); in create_iboe_ah() 166 mah->av.ib.port_pd &= cpu_to_be32(0x7FFFFFFF); in mlx4_ib_create_ah_slave()
|
/freebsd/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_resources.c | 49 context->flags = cpu_to_be32(7 << 16 | rss << MLX4_RSS_QPC_FLAG_OFFSET); in mlx4_en_fill_qp_context() 50 context->pd = cpu_to_be32(mdev->priv_pdn); in mlx4_en_fill_qp_context() 58 context->usr_page = cpu_to_be32(mdev->priv_uar.index); in mlx4_en_fill_qp_context() 59 context->local_qpn = cpu_to_be32(qpn); in mlx4_en_fill_qp_context() 76 context->cqn_send = cpu_to_be32(cqn); in mlx4_en_fill_qp_context() 77 context->cqn_recv = cpu_to_be32(cqn); in mlx4_en_fill_qp_context() 80 context->param3 |= cpu_to_be32(1 << 30); in mlx4_en_fill_qp_context()
|
H A D | mlx4_en_rx.c | 57 rx_desc->data[0].byte_count = cpu_to_be32(priv->rx_mb_size - MLX4_NET_IP_ALIGN); in mlx4_en_init_rx_desc() 58 rx_desc->data[0].lkey = cpu_to_be32(priv->mdev->mr.key); in mlx4_en_init_rx_desc() 67 rx_desc->data[i].lkey = cpu_to_be32(MLX4_EN_MEMTYPE_PAD); in mlx4_en_init_rx_desc() 178 rx_desc->data[i].byte_count = cpu_to_be32(segs[i].ds_len); in mlx4_en_alloc_buf() 184 rx_desc->data[i].lkey = cpu_to_be32(MLX4_EN_MEMTYPE_PAD); in mlx4_en_alloc_buf() 209 rx_desc->data[i].byte_count = cpu_to_be32(ring->spare.segs[i].ds_len); in mlx4_en_alloc_buf() 214 rx_desc->data[i].lkey = cpu_to_be32(MLX4_EN_MEMTYPE_PAD); in mlx4_en_alloc_buf() 252 *ring->wqres.db.db = cpu_to_be32(ring->prod & 0xffff); in mlx4_en_update_rx_prod_db() 484 __be32 stamp = cpu_to_be32(1 << STAMP_SHIFT); in mlx4_en_activate_rx_rings() 501 ring->rx_mr_key_be = cpu_to_be32(priv->mdev->mr.key); in mlx4_en_activate_rx_rings() [all …]
|
H A D | mlx4_en_tx.c | 236 ring->context.usr_page = cpu_to_be32(ring->bf.uar->index); in mlx4_en_activate_tx_ring() 278 const __be32 stamp = cpu_to_be32(STAMP_VAL | in mlx4_en_stamp_wqe() 635 CTRL_FLAGS = cpu_to_be32(MLX4_WQE_CTRL_CQ_UPDATE | in mlx4_en_xmit() 683 cpu_to_be32(MLX4_EN_BIT_DESC_OWN) : 0; in mlx4_en_xmit() 698 tx_desc->ctrl.srcrb_flags |= cpu_to_be32(MLX4_WQE_CTRL_IP_CSUM); in mlx4_en_xmit() 702 tx_desc->ctrl.srcrb_flags |= cpu_to_be32(MLX4_WQE_CTRL_TCP_UDP_CSUM); in mlx4_en_xmit() 738 opcode = cpu_to_be32(MLX4_OPCODE_LSO | MLX4_WQE_CTRL_RR) | in mlx4_en_xmit() 746 tx_desc->lso.mss_hdr_size = cpu_to_be32((mss << 16) | ihs); in mlx4_en_xmit() 761 opcode = cpu_to_be32(MLX4_OPCODE_SEND) | in mlx4_en_xmit() 873 dseg->lkey = cpu_to_be32(priv->mdev->mr.key); in mlx4_en_xmit() [all …]
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | qp.c | 248 res_wr->op_nres = cpu_to_be32( in create_qp() 252 res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); in create_qp() 262 res->u.sqrq.fetchszm_to_iqid = cpu_to_be32( in create_qp() 267 res->u.sqrq.dcaen_to_eqsize = cpu_to_be32( in create_qp() 276 res->u.sqrq.eqid = cpu_to_be32(wq->sq.qid); in create_qp() 285 res->u.sqrq.fetchszm_to_iqid = cpu_to_be32( in create_qp() 290 res->u.sqrq.dcaen_to_eqsize = cpu_to_be32( in create_qp() 299 res->u.sqrq.eqid = cpu_to_be32(wq->rq.qid); in create_qp() 372 immdp->immdlen = cpu_to_be32(plen); in build_immd() 420 wqe->send.sendop_pkd = cpu_to_be32( in build_rdma_send() [all …]
|
H A D | mem.c | 82 ulpmc->wr.wr_hi = cpu_to_be32(V_FW_WR_OP(FW_ULPTX_WR) | in _c4iw_write_mem_dma_aligned() 85 ulpmc->wr.wr_mid = cpu_to_be32(V_FW_WR_LEN16(DIV_ROUND_UP(wr_len, 16))); in _c4iw_write_mem_dma_aligned() 86 ulpmc->cmd = cpu_to_be32(V_ULPTX_CMD(ULP_TX_MEM_WRITE) | in _c4iw_write_mem_dma_aligned() 89 ulpmc->dlen = cpu_to_be32(V_ULP_MEMIO_DATA_LEN(len>>5)); in _c4iw_write_mem_dma_aligned() 90 ulpmc->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(ulpmc->wr), 16)); in _c4iw_write_mem_dma_aligned() 91 ulpmc->lock_addr = cpu_to_be32(V_ULP_MEMIO_ADDR(addr)); in _c4iw_write_mem_dma_aligned() 94 sgl->cmd_nsge = cpu_to_be32(V_ULPTX_CMD(ULP_TX_SC_DSGL) | in _c4iw_write_mem_dma_aligned() 96 sgl->len0 = cpu_to_be32(len); in _c4iw_write_mem_dma_aligned() 119 cmd = cpu_to_be32(V_ULPTX_CMD(ULP_TX_MEM_WRITE)); in _c4iw_write_mem_inline() 121 cmd |= cpu_to_be32(F_T5_ULP_MEMIO_IMM); in _c4iw_write_mem_inline() [all …]
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4_hw.c | 753 cpu_to_be32(V_FW_CMD_OP(FW_LDST_CMD) | in t4_read_pcie_cfg4() 757 ldst_cmd.cycles_to_len16 = cpu_to_be32(FW_LEN16(ldst_cmd)); in t4_read_pcie_cfg4() 3217 *data = (__force __u32)(cpu_to_be32(*data)); in t4_read_flash() 3257 val = cpu_to_be32(val); in t4_write_flash() 3632 ((struct fw_hdr *)first_page)->fw_ver = cpu_to_be32(0xffffffff); in t4_load_fw() 3667 cpu_to_be32(V_FW_CMD_OP(FW_PARAMS_CMD) | in t4_fwcache() 3671 c.retval_len16 = cpu_to_be32(FW_LEN16(c)); in t4_fwcache() 3673 cpu_to_be32(V_FW_PARAMS_MNEM(FW_PARAMS_MNEM_DEV) | in t4_fwcache() 3996 c.op_to_portid = cpu_to_be32(V_FW_CMD_OP(FW_PORT_CMD) | in t4_link_l1cfg() 4001 cpu_to_be32(V_FW_PORT_CMD_ACTION(FW_PORT_ACTION_L1_CFG32) | in t4_link_l1cfg() [all …]
|
H A D | t4vf_hw.c | 77 cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_RESET_CMD) | in t4vf_fw_reset() 79 cmd.retval_len16 = cpu_to_be32(V_FW_CMD_LEN16(FW_LEN16(cmd))); in t4vf_fw_reset() 245 cmd.op_to_write = cpu_to_be32(V_FW_CMD_OP(FW_RSS_GLB_CONFIG_CMD) | in t4vf_get_rss_glb_config() 248 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); in t4vf_get_rss_glb_config() 321 cmd.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_PFVF_CMD) | in t4vf_get_vfres() 324 cmd.retval_len16 = cpu_to_be32(FW_LEN16(cmd)); in t4vf_get_vfres() 404 cmd.op_to_vfn = cpu_to_be32(V_FW_CMD_OP(FW_ACL_MAC_CMD) | in t4vf_get_vf_mac() 407 cmd.en_to_len16 = cpu_to_be32((unsigned int)FW_LEN16(cmd)); in t4vf_get_vf_mac()
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_mr.c | 403 mpt_entry->pd_flags = cpu_to_be32(pd_flags | in mlx4_mr_hw_change_pd() 417 mpt_entry->flags = cpu_to_be32(flags); in mlx4_mr_hw_change_access() 606 mpt_entry->entity_size = cpu_to_be32(page_shift); in mlx4_mr_rereg_mem_write() 607 mpt_entry->flags &= ~(cpu_to_be32(MLX4_MPT_FLAG_FREE | in mlx4_mr_rereg_mem_write() 610 mpt_entry->flags |= cpu_to_be32(MLX4_MPT_FLAG_PHYSICAL); in mlx4_mr_rereg_mem_write() 616 mpt_entry->mtt_sz = cpu_to_be32(1 << mr->mtt.order); in mlx4_mr_rereg_mem_write() 620 mpt_entry->flags |= cpu_to_be32(MLX4_MPT_FLAG_FREE); in mlx4_mr_rereg_mem_write() 621 mpt_entry->pd_flags |= cpu_to_be32(MLX4_MPT_PD_FLAG_FAST_REG | in mlx4_mr_rereg_mem_write() 624 mpt_entry->flags |= cpu_to_be32(MLX4_MPT_FLAG_SW_OWNS); in mlx4_mr_rereg_mem_write() 648 mpt_entry->flags = cpu_to_be32(MLX4_MPT_FLAG_MIO | in mlx4_mr_enable() [all …]
|
H A D | mlx4_cq.c | 152 cq_context->logsize_usrpage = cpu_to_be32(ilog2(entries) << 24); in mlx4_cq_resize() 156 cq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); in mlx4_cq_resize() 271 cq_context->flags = cpu_to_be32(!!collapsed << 18); in mlx4_cq_alloc() 273 cq_context->flags |= cpu_to_be32(1 << 19); in mlx4_cq_alloc() 276 cpu_to_be32((ilog2(nent) << 24) | in mlx4_cq_alloc() 283 cq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); in mlx4_cq_alloc()
|
H A D | mlx4_mcg.c | 218 mgm->qp[members_count++] = cpu_to_be32(pqp->qpn & MGM_QPN_MASK); in new_steering_entry() 221 mgm->members_count = cpu_to_be32(members_count | (prot << 30)); in new_steering_entry() 502 cpu_to_be32(qpn & MGM_QPN_MASK); in add_promisc_qp() 504 cpu_to_be32(members_count | in add_promisc_qp() 525 mgm->qp[members_count++] = cpu_to_be32(dqp->qpn & MGM_QPN_MASK); in add_promisc_qp() 527 mgm->members_count = cpu_to_be32(members_count | MLX4_PROT_ETH << 30); in add_promisc_qp() 591 mgm->qp[members_count++] = cpu_to_be32(dqp->qpn & MGM_QPN_MASK); in remove_promisc_qp() 592 mgm->members_count = cpu_to_be32(members_count | MLX4_PROT_ETH << 30); in remove_promisc_qp() 655 cpu_to_be32(--members_count | in remove_promisc_qp() 786 hw->qpn = cpu_to_be32(ctrl->qpn); in trans_rule_ctrl_to_hw() [all …]
|
H A D | mlx4_fw_qos.c | 208 in_param->vpp_p_up[i] = cpu_to_be32(vpp_p_up[i]); in mlx4_ALLOCATE_VPP_set() 273 ctx->qos_p_up[i].bw_share = cpu_to_be32(in_param[i].bw_share); in mlx4_SET_VPORT_QOS_set() 275 cpu_to_be32(in_param[i].max_avg_bw); in mlx4_SET_VPORT_QOS_set() 277 cpu_to_be32(in_param[i].enable << 31); in mlx4_SET_VPORT_QOS_set()
|
/freebsd/sys/dev/mlx4/ |
H A D | cq.h | 149 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx4_cq_arm() 157 doorbell[0] = cpu_to_be32(sn << 28 | cmd | cq->cqn); in mlx4_cq_arm() 158 doorbell[1] = cpu_to_be32(ci); in mlx4_cq_arm() 165 *cq->set_ci_db = cpu_to_be32(cq->cons_index & 0xffffff); in mlx4_cq_set_ci()
|
/freebsd/sys/dev/mlx5/ |
H A D | cq.h | 127 *cq->set_ci_db = cpu_to_be32(cq->cons_index & 0xffffff); 147 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm() 154 doorbell[0] = cpu_to_be32(sn << 28 | cmd | ci); 155 doorbell[1] = cpu_to_be32(cq->cqn);
|
/freebsd/sys/ofed/include/rdma/ |
H A D | ib_mad.h | 82 #define IB_BM_ATTR_MOD_RESP cpu_to_be32(1) 125 #define IB_QP1 cpu_to_be32(1) 289 cpu_to_be32(~IB_CLASS_PORT_INFO_RESP_TIME_MASK)) | in ib_set_cpi_resp_time() 290 cpu_to_be32(rtime & IB_CLASS_PORT_INFO_RESP_TIME_MASK); in ib_set_cpi_resp_time() 315 cpu_to_be32(IB_CLASS_PORT_INFO_RESP_TIME_MASK)) | in ib_set_cpi_capmask2() 316 cpu_to_be32(capmask2 << in ib_set_cpi_capmask2()
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_qp.c | 2243 *hw_access_flags_be = cpu_to_be32(hw_access_flags); in to_mlx5_access_flags() 2376 cpu_to_be32((ah->grh.traffic_class << 20) | in mlx5_set_path() 2741 context->flags = cpu_to_be32(err << 16); in __mlx5_ib_modify_qp() 2744 context->flags |= cpu_to_be32(MLX5_QP_PM_MIGRATED << 11); in __mlx5_ib_modify_qp() 2748 context->flags |= cpu_to_be32(MLX5_QP_PM_MIGRATED << 11); in __mlx5_ib_modify_qp() 2751 context->flags |= cpu_to_be32(MLX5_QP_PM_REARM << 11); in __mlx5_ib_modify_qp() 2754 context->flags |= cpu_to_be32(MLX5_QP_PM_ARMED << 11); in __mlx5_ib_modify_qp() 2776 context->log_pg_sz_remote_qpn = cpu_to_be32(attr->dest_qp_num); in __mlx5_ib_modify_qp() 2814 context->flags_pd = cpu_to_be32(pd ? pd->pdn : to_mpd(dev->devr.p0)->pdn); in __mlx5_ib_modify_qp() 2815 context->cqn_send = send_cq ? cpu_to_be32(send_cq->mcq.cqn) : 0; in __mlx5_ib_modify_qp() [all …]
|