Searched refs:c_tx (Results 1 – 2 of 2) sorted by relevance
40 static int siw_try_1seg(struct siw_iwarp_tx *c_tx, void *paddr) in siw_try_1seg() argument42 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() argument120 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 …]
232 struct siw_iwarp_tx *c_tx = &qp->tx_ctx; in siw_qp_enable_crc() local241 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()