Searched refs:deth (Results 1 – 11 of 11) sorted by relevance
65 __be32 deth[2]; member 211 return be32_to_cpu(ohdr->u.ud.deth[0]); in ib_get_qkey() 216 return ((be32_to_cpu(ohdr->u.ud.deth[1])) & IB_QPN_MASK); in ib_get_sqpn()
256 struct ib_unpacked_deth deth; member
473 struct rxe_deth *deth = arg; in __deth_qkey() local 475 return be32_to_cpu(deth->qkey); in __deth_qkey() 480 struct rxe_deth *deth = arg; in __deth_set_qkey() local 482 deth->qkey = cpu_to_be32(qkey); in __deth_set_qkey() 487 struct rxe_deth *deth = arg; in __deth_sqp() local 489 return DETH_SQP_MASK & be32_to_cpu(deth->sqp); in __deth_sqp() 494 struct rxe_deth *deth = arg; in __deth_set_sqp() local 496 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()
87 #define DETH_PRN "deth qkey:0x%.8x sqpn:0x%.6x"88 #define DETH_ENTROPY_PRN "deth qkey:0x%.8x sqpn:0x%.6x entropy:0x%.2x"410 /* deth */ in parse_everbs_hdrs() 413 be32_to_cpu(eh->ud.deth[0]), in parse_everbs_hdrs() 414 be32_to_cpu(eh->ud.deth[1]) & RVT_QPN_MASK, in parse_everbs_hdrs() 415 be32_to_cpu(eh->ud.deth[1]) >> in parse_everbs_hdrs() 420 be32_to_cpu(eh->ud.deth[0]), in parse_everbs_hdrs() 421 be32_to_cpu(eh->ud.deth[1]) & RVT_QPN_MASK); in parse_everbs_hdrs()
332 /* Build the deth */ in hfi1_ipoib_build_ib_tx_headers() 333 ohdr->u.ud.deth[0] = cpu_to_be32(priv->qkey); in hfi1_ipoib_build_ib_tx_headers() 334 ohdr->u.ud.deth[1] = cpu_to_be32((txp->entropy << in hfi1_ipoib_build_ib_tx_headers()
255 ohdr->u.ud.deth[0] = in hfi1_make_bth_deth() 258 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in hfi1_make_bth_deth()
453 udh->deth.qkey = htonl(0x80010000); in qedr_gsi_build_header() 454 udh->deth.source_qpn = htonl(QEDR_GSI_QPN); in qedr_gsi_build_header()
414 u8 deth[0x1]; member
2936 sqp->ud_header.deth.qkey = cpu_to_be32(qkey); in build_sriov_qp0_header() 2937 sqp->ud_header.deth.source_qpn = cpu_to_be32(qp->mqp.qpn); in build_sriov_qp0_header() 3226 sqp->ud_header.deth.qkey = cpu_to_be32(wr->remote_qkey & 0x80000000 ? in build_mlx_header() 3228 sqp->ud_header.deth.source_qpn = cpu_to_be32(qp->ibqp.qp_num); in build_mlx_header()
1552 sqp->ud_header.deth.qkey = cpu_to_be32(wr->remote_qkey & 0x80000000 ? in build_mlx_header() 1554 sqp->ud_header.deth.source_qpn = cpu_to_be32(qp->ibqp.qp_num); in build_mlx_header()