Searched refs:deth (Results 1 – 12 of 12) sorted by relevance
105 __be32 deth[2]; member246 return be32_to_cpu(ohdr->u.ud.deth[0]); in ib_get_qkey()251 return ((be32_to_cpu(ohdr->u.ud.deth[1])) & IB_QPN_MASK); in ib_get_sqpn()
278 struct ib_unpacked_deth deth; member
501 struct rxe_deth *deth = arg; in __deth_qkey() local503 return be32_to_cpu(deth->qkey); in __deth_qkey()508 struct rxe_deth *deth = arg; in __deth_set_qkey() local510 deth->qkey = cpu_to_be32(qkey); in __deth_set_qkey()515 struct rxe_deth *deth = arg; in __deth_sqp() local517 return DETH_SQP_MASK & be32_to_cpu(deth->sqp); in __deth_sqp()522 struct rxe_deth *deth = arg; in __deth_set_sqp() local524 deth->sqp = cpu_to_be32(DETH_SQP_MASK & sqp); in __deth_set_sqp()
269 { STRUCT_FIELD(deth, qkey),277 { STRUCT_FIELD(deth, source_qpn),454 &header->deth, buf + len); in ib_ud_header_pack()539 buf, &header->deth); in ib_ud_header_unpack()
386 ohdr->u.ud.deth[0] = cpu_to_be32((int)wqe->ud_wr.remote_qkey < 0 ? in qib_make_ud_req()388 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in qib_make_ud_req()450 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in qib_ud_rcv()451 src_qp = be32_to_cpu(ohdr->u.ud.deth[1]) & RVT_QPN_MASK; in qib_ud_rcv()
1434 .u.oth.u.ud.deth[0] = cpu_to_be32(0), in flush_fifo()1435 .u.oth.u.ud.deth[1] = cpu_to_be32(0), in flush_fifo()
346 be32_to_cpu(eh->ud.deth[0]), in parse_everbs_hdrs()347 be32_to_cpu(eh->ud.deth[1]) & RVT_QPN_MASK); in parse_everbs_hdrs()
317 ohdr->u.ud.deth[0] = cpu_to_be32((int)wqe->ud_wr.remote_qkey < 0 ? in hfi1_make_bth_deth()319 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in hfi1_make_bth_deth()
452 udh->deth.qkey = htonl(0x80010000); in qedr_gsi_build_header()453 udh->deth.source_qpn = htonl(QEDR_GSI_QPN); in qedr_gsi_build_header()
2860 sqp->ud_header.deth.qkey = cpu_to_be32(qkey); in build_sriov_qp0_header()2861 sqp->ud_header.deth.source_qpn = cpu_to_be32(sqp->qp.mqp.qpn); in build_sriov_qp0_header()3137 sqp->ud_header.deth.qkey = cpu_to_be32(wr->remote_qkey & 0x80000000 ? in build_mlx_header()3139 sqp->ud_header.deth.source_qpn = cpu_to_be32(sqp->qp.ibqp.qp_num); in build_mlx_header()
1541 sqp->ud_header.deth.qkey = cpu_to_be32(wr->remote_qkey & 0x80000000 ? in build_mlx_header()1543 sqp->ud_header.deth.source_qpn = cpu_to_be32(sqp->qp.ibqp.qp_num); in build_mlx_header()
2000 qp->qp1_hdr.deth.qkey = cpu_to_be32(IB_QP1_QKEY); in bnxt_re_build_qp1_send_v2()2001 qp->qp1_hdr.deth.source_qpn = IB_QP1; in bnxt_re_build_qp1_send_v2()