Searched refs:tx_iu (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.10/drivers/infiniband/ulp/rtrs/ |
| D | rtrs-clt.c | 2385 struct rtrs_iu *tx_iu, *rx_iu; in rtrs_send_sess_info() local 2392 tx_iu = rtrs_iu_alloc(1, sizeof(struct rtrs_msg_info_req), GFP_KERNEL, in rtrs_send_sess_info() 2397 if (unlikely(!tx_iu || !rx_iu)) { in rtrs_send_sess_info() 2409 msg = tx_iu->buf; in rtrs_send_sess_info() 2413 ib_dma_sync_single_for_device(sess->s.dev->ib_dev, tx_iu->dma_addr, in rtrs_send_sess_info() 2414 tx_iu->size, DMA_TO_DEVICE); in rtrs_send_sess_info() 2417 err = rtrs_iu_post_send(&usr_con->c, tx_iu, sizeof(*msg), NULL); in rtrs_send_sess_info() 2422 tx_iu = NULL; in rtrs_send_sess_info() 2438 if (tx_iu) in rtrs_send_sess_info() 2439 rtrs_iu_free(tx_iu, DMA_TO_DEVICE, sess->s.dev->ib_dev, 1); in rtrs_send_sess_info()
|
| D | rtrs-srv.c | 790 struct rtrs_iu *tx_iu; in process_info_req() local 807 tx_iu = rtrs_iu_alloc(1, tx_sz, GFP_KERNEL, sess->s.dev->ib_dev, in process_info_req() 809 if (unlikely(!tx_iu)) { in process_info_req() 814 rsp = tx_iu->buf; in process_info_req() 856 ib_dma_sync_single_for_device(sess->s.dev->ib_dev, tx_iu->dma_addr, in process_info_req() 857 tx_iu->size, DMA_TO_DEVICE); in process_info_req() 860 err = rtrs_iu_post_send(&con->c, tx_iu, tx_sz, reg_wr); in process_info_req() 864 rtrs_iu_free(tx_iu, DMA_TO_DEVICE, sess->s.dev->ib_dev, 1); in process_info_req()
|