Home
last modified time | relevance | path

Searched refs:mpa_crc_hd (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/infiniband/sw/siw/
A Dsiw_qp.c238 c_tx->mpa_crc_hd = kzalloc(size, GFP_KERNEL); in siw_qp_enable_crc()
239 c_rx->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()
242 kfree(c_rx->mpa_crc_hd); in siw_qp_enable_crc()
243 c_tx->mpa_crc_hd = NULL; in siw_qp_enable_crc()
244 c_rx->mpa_crc_hd = NULL; in siw_qp_enable_crc()
247 c_tx->mpa_crc_hd->tfm = siw_crypto_shash; in siw_qp_enable_crc()
248 c_rx->mpa_crc_hd->tfm = siw_crypto_shash; in siw_qp_enable_crc()
583 if (qp->tx_ctx.mpa_crc_hd) { in siw_send_terminate()
[all …]
A Dsiw_qp_tx.c253 if (c_tx->mpa_crc_hd) { in siw_qp_prepare_tx()
254 crypto_shash_init(c_tx->mpa_crc_hd); in siw_qp_prepare_tx()
255 if (crypto_shash_update(c_tx->mpa_crc_hd, in siw_qp_prepare_tx()
484 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt()
525 c_tx->mpa_crc_hd, in siw_tx_hdt()
530 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt()
541 c_tx->mpa_crc_hd, in siw_tx_hdt()
580 crypto_shash_update(c_tx->mpa_crc_hd, in siw_tx_hdt()
584 if (!c_tx->mpa_crc_hd) in siw_tx_hdt()
740 if (c_tx->mpa_crc_hd) { in siw_prepare_fpdu()
[all …]
A Dsiw_qp_rx.c70 if (srx->mpa_crc_hd) { in siw_rx_umem()
72 crypto_shash_update(srx->mpa_crc_hd, in siw_rx_umem()
117 if (srx->mpa_crc_hd) in siw_rx_kva()
118 crypto_shash_update(srx->mpa_crc_hd, (u8 *)kva, len); in siw_rx_kva()
975 if (srx->mpa_crc_hd && srx->pad) in siw_get_trailer()
976 crypto_shash_update(srx->mpa_crc_hd, tbuf, srx->pad); in siw_get_trailer()
982 if (!srx->mpa_crc_hd) in siw_get_trailer()
989 crypto_shash_final(srx->mpa_crc_hd, (u8 *)&crc_own); in siw_get_trailer()
1113 if (srx->mpa_crc_hd) { in siw_get_hdr()
1117 crypto_shash_init(srx->mpa_crc_hd); in siw_get_hdr()
[all …]
A Dsiw.h316 struct shash_desc *mpa_crc_hd; member
396 struct shash_desc *mpa_crc_hd; member
696 __wsum crc = *(u32 *)shash_desc_ctx(srx->mpa_crc_hd); in siw_crc_skb()
700 *(u32 *)shash_desc_ctx(srx->mpa_crc_hd) = crc; in siw_crc_skb()
A Dsiw_verbs.c618 kfree(qp->tx_ctx.mpa_crc_hd); in siw_destroy_qp()
619 kfree(qp->rx_stream.mpa_crc_hd); in siw_destroy_qp()

Completed in 14 milliseconds