Home
last modified time | relevance | path

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

/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()
60 } else if (c_tx->in_syscall) { in siw_try_1seg()
118 static int siw_qp_prepare_tx(struct siw_iwarp_tx *c_tx) in siw_qp_prepare_tx() argument
120 struct siw_wqe *wqe = &c_tx->wqe_active; in siw_qp_prepare_tx()
127 memcpy(&c_tx->pkt.ctrl, in siw_qp_prepare_tx()
131 c_tx->pkt.rreq.rsvd = 0; in siw_qp_prepare_tx()
132 c_tx->pkt.rreq.ddp_qn = htonl(RDMAP_UNTAGGED_QN_RDMA_READ); in siw_qp_prepare_tx()
133 c_tx->pkt.rreq.ddp_msn = in siw_qp_prepare_tx()
134 htonl(++c_tx->ddp_msn[RDMAP_UNTAGGED_QN_RDMA_READ]); in siw_qp_prepare_tx()
[all …]
Dsiw_qp.c232 struct siw_iwarp_tx *c_tx = &qp->tx_ctx; in siw_qp_enable_crc() local
241 c_tx->mpa_crc_hd = kzalloc(size, GFP_KERNEL); in siw_qp_enable_crc()
243 if (!c_tx->mpa_crc_hd || !c_rx->mpa_crc_hd) { in siw_qp_enable_crc()
244 kfree(c_tx->mpa_crc_hd); in siw_qp_enable_crc()
246 c_tx->mpa_crc_hd = NULL; in siw_qp_enable_crc()
250 c_tx->mpa_crc_hd->tfm = siw_crypto_shash; in siw_qp_enable_crc()