Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_hdr.h474 struct rxe_deth *deth = arg; in __deth_qkey() local
476 return be32_to_cpu(deth->qkey); in __deth_qkey()
481 struct rxe_deth *deth = arg; in __deth_set_qkey() local
483 deth->qkey = cpu_to_be32(qkey); in __deth_set_qkey()
488 struct rxe_deth *deth = arg; in __deth_sqp() local
490 return DETH_SQP_MASK & be32_to_cpu(deth->sqp); in __deth_sqp()
495 struct rxe_deth *deth = arg; in __deth_set_sqp() local
497 deth->sqp = cpu_to_be32(DETH_SQP_MASK & sqp); in __deth_set_sqp()
/kernel/linux/linux-5.10/include/rdma/
Dib_hdrs.h65 __be32 deth[2]; member
216 return be32_to_cpu(ohdr->u.ud.deth[0]); in ib_get_qkey()
221 return ((be32_to_cpu(ohdr->u.ud.deth[1])) & IB_QPN_MASK); in ib_get_sqpn()
Dib_pack.h251 struct ib_unpacked_deth deth; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dtrace.c450 be32_to_cpu(eh->ud.deth[0]), in parse_everbs_hdrs()
451 be32_to_cpu(eh->ud.deth[1]) & RVT_QPN_MASK, in parse_everbs_hdrs()
452 be32_to_cpu(eh->ud.deth[1]) >> in parse_everbs_hdrs()
457 be32_to_cpu(eh->ud.deth[0]), in parse_everbs_hdrs()
458 be32_to_cpu(eh->ud.deth[1]) & RVT_QPN_MASK); in parse_everbs_hdrs()
Dipoib_tx.c361 ohdr->u.ud.deth[0] = cpu_to_be32(priv->qkey); in hfi1_ipoib_build_ib_tx_headers()
362 ohdr->u.ud.deth[1] = cpu_to_be32((txp->entropy << in hfi1_ipoib_build_ib_tx_headers()
Dud.c297 ohdr->u.ud.deth[0] = in hfi1_make_bth_deth()
300 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in hfi1_make_bth_deth()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_ud.c381 ohdr->u.ud.deth[0] = in qib_make_ud_req()
384 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in qib_make_ud_req()
446 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); in qib_ud_rcv()
447 src_qp = be32_to_cpu(ohdr->u.ud.deth[1]) & RVT_QPN_MASK; in qib_ud_rcv()
Dqib_iba7322.c1433 .u.oth.u.ud.deth[0] = cpu_to_be32(0), in flush_fifo()
1434 .u.oth.u.ud.deth[1] = cpu_to_be32(0), in flush_fifo()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c455 udh->deth.qkey = htonl(0x80010000); in qedr_gsi_build_header()
456 udh->deth.source_qpn = htonl(QEDR_GSI_QPN); in qedr_gsi_build_header()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dqp.c2888 sqp->ud_header.deth.qkey = cpu_to_be32(qkey); in build_sriov_qp0_header()
2889 sqp->ud_header.deth.source_qpn = cpu_to_be32(qp->mqp.qpn); in build_sriov_qp0_header()
3181 sqp->ud_header.deth.qkey = cpu_to_be32(wr->remote_qkey & 0x80000000 ? in build_mlx_header()
3183 sqp->ud_header.deth.source_qpn = cpu_to_be32(qp->ibqp.qp_num); in build_mlx_header()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_qp.c1549 sqp->ud_header.deth.qkey = cpu_to_be32(wr->remote_qkey & 0x80000000 ? in build_mlx_header()
1551 sqp->ud_header.deth.source_qpn = cpu_to_be32(qp->ibqp.qp_num); in build_mlx_header()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2244 qp->qp1_hdr.deth.qkey = cpu_to_be32(IB_QP1_QKEY); in bnxt_re_build_qp1_send_v2()
2245 qp->qp1_hdr.deth.source_qpn = IB_QP1; in bnxt_re_build_qp1_send_v2()