Home
last modified time | relevance | path

Searched refs:deth (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/include/rdma/
Dib_hdrs.h105 __be32 deth[2]; member
246 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()
Dib_pack.h278 struct ib_unpacked_deth deth; member
/Linux-v4.19/drivers/infiniband/sw/rxe/
Drxe_hdr.h501 struct rxe_deth *deth = arg; in __deth_qkey() local
503 return be32_to_cpu(deth->qkey); in __deth_qkey()
508 struct rxe_deth *deth = arg; in __deth_set_qkey() local
510 deth->qkey = cpu_to_be32(qkey); in __deth_set_qkey()
515 struct rxe_deth *deth = arg; in __deth_sqp() local
517 return DETH_SQP_MASK & be32_to_cpu(deth->sqp); in __deth_sqp()
522 struct rxe_deth *deth = arg; in __deth_set_sqp() local
524 deth->sqp = cpu_to_be32(DETH_SQP_MASK & sqp); in __deth_set_sqp()
/Linux-v4.19/drivers/infiniband/core/
Dud_header.c269 { 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()
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_ud.c386 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()
Dqib_iba7322.c1434 .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()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dtrace.c346 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()
Dud.c317 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()
/Linux-v4.19/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c452 udh->deth.qkey = htonl(0x80010000); in qedr_gsi_build_header()
453 udh->deth.source_qpn = htonl(QEDR_GSI_QPN); in qedr_gsi_build_header()
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dqp.c2860 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()
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_qp.c1541 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()
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2000 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()