Home
last modified time | relevance | path

Searched refs:c_tx (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/infiniband/sw/siw/
Dsiw_qp_tx.c40 static int siw_try_1seg(struct siw_iwarp_tx *c_tx, void *paddr) in siw_try_1seg() argument
42 struct siw_wqe *wqe = &c_tx->wqe_active; in siw_try_1seg()
61 } else if (c_tx->in_syscall) { in siw_try_1seg()
119 static int siw_qp_prepare_tx(struct siw_iwarp_tx *c_tx) in siw_qp_prepare_tx() argument
121 struct siw_wqe *wqe = &c_tx->wqe_active; in siw_qp_prepare_tx()
128 memcpy(&c_tx->pkt.ctrl, in siw_qp_prepare_tx()
132 c_tx->pkt.rreq.rsvd = 0; in siw_qp_prepare_tx()
133 c_tx->pkt.rreq.ddp_qn = htonl(RDMAP_UNTAGGED_QN_RDMA_READ); in siw_qp_prepare_tx()
134 c_tx->pkt.rreq.ddp_msn = in siw_qp_prepare_tx()
135 htonl(++c_tx->ddp_msn[RDMAP_UNTAGGED_QN_RDMA_READ]); in siw_qp_prepare_tx()
[all …]
Dsiw_qp.c229 struct siw_iwarp_tx *c_tx = &qp->tx_ctx; in siw_qp_enable_crc() local
238 c_tx->mpa_crc_hd = kzalloc(size, GFP_KERNEL); in siw_qp_enable_crc()
240 if (!c_tx->mpa_crc_hd || !c_rx->mpa_crc_hd) { in siw_qp_enable_crc()
241 kfree(c_tx->mpa_crc_hd); in siw_qp_enable_crc()
243 c_tx->mpa_crc_hd = NULL; in siw_qp_enable_crc()
247 c_tx->mpa_crc_hd->tfm = siw_crypto_shash; in siw_qp_enable_crc()