Home
last modified time | relevance | path

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

/linux/drivers/infiniband/sw/siw/
H A Dsiw_qp_tx.c292 (char *)&c_tx->pkt.ctrl + c_tx->ctrl_sent, in siw_tx_ctrl()
293 .iov_len = c_tx->ctrl_len - c_tx->ctrl_sent }; in siw_tx_ctrl()
300 if (c_tx->ctrl_sent == c_tx->ctrl_len) in siw_tx_ctrl()
440 sge_off = c_tx->sge_off, sge_idx = c_tx->sge_idx, in siw_tx_hdt()
453 (char *)&c_tx->pkt.ctrl + c_tx->ctrl_sent; in siw_tx_hdt()
455 c_tx->ctrl_len - c_tx->ctrl_sent; in siw_tx_hdt()
567 iov[seg].iov_base = &c_tx->trailer.pad[4 - c_tx->pad]; in siw_tx_hdt()
570 iov[seg].iov_base = &c_tx->trailer.pad[c_tx->ctrl_sent]; in siw_tx_hdt()
578 (u8 *)&c_tx->trailer.crc - c_tx->pad, in siw_tx_hdt()
629 c_tx->ctrl_sent = rv + 4 - c_tx->pad; in siw_tx_hdt()
[all …]
H A 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()