Home
last modified time | relevance | path

Searched refs:i_cm_id (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/net/rds/
Dib_cm.c88 ret = ib_modify_qp(ic->i_cm_id->qp, attr, IB_QP_MIN_RNR_TIMER); in rds_ib_tune_rnr()
169 err = ib_modify_qp(ic->i_cm_id->qp, &qp_attr, IB_QP_STATE); in rds_ib_cm_connect_complete()
389 rdma_notify(ic->i_cm_id, IB_EVENT_COMM_EST); in rds_ib_qp_event_handler()
442 struct ib_device *dev = ic->i_cm_id->device; in rds_ib_setup_qp()
536 ret = rdma_create_qp(ic->i_cm_id, ic->i_pd, &attr); in rds_ib_setup_qp()
609 rdma_destroy_qp(ic->i_cm_id); in rds_ib_setup_qp()
822 BUG_ON(ic->i_cm_id); in rds_ib_cm_handle_connect()
824 ic->i_cm_id = cm_id; in rds_ib_cm_handle_connect()
884 if (ic->i_cm_id == cm_id) in rds_ib_cm_initiate_connect()
909 ic->i_cm_id = rdma_create_id(&init_net, handler, conn, in rds_ib_conn_path_connect()
[all …]
Dib_frmr.c138 ret = ib_post_send(ibmr->ic->i_cm_id->qp, &reg_wr.wr, NULL); in rds_ib_post_reg_frmr()
233 struct rdma_cm_id *i_cm_id = ibmr->ic->i_cm_id; in rds_ib_post_inv() local
236 if (!i_cm_id || !i_cm_id->qp || !frmr->mr) in rds_ib_post_inv()
256 ret = ib_post_send(i_cm_id->qp, s_wr, NULL); in rds_ib_post_inv()
Dib_send.c77 ib_dma_unmap_sg(ic->i_cm_id->device, in rds_ib_send_unmap_rdma()
118 ib_dma_unmap_sg(ic->i_cm_id->device, op->op_sg, 1, in rds_ib_send_unmap_atomic()
139 ib_dma_unmap_sg(ic->i_cm_id->device, in rds_ib_send_unmap_data()
382 struct rds_connection *conn = ic->i_cm_id->context; in rds_ib_send_grab_credits()
491 struct ib_device *dev = ic->i_cm_id->device; in rds_ib_xmit()
728 ret = ib_post_send(ic->i_cm_id->qp, &first->s_wr, &failed_wr); in rds_ib_xmit()
801 ret = ib_dma_map_sg(ic->i_cm_id->device, op->op_sg, 1, DMA_FROM_DEVICE); in rds_ib_xmit_atomic()
811 send->s_sge[0].addr = ib_sg_dma_address(ic->i_cm_id->device, op->op_sg); in rds_ib_xmit_atomic()
812 send->s_sge[0].length = ib_sg_dma_len(ic->i_cm_id->device, op->op_sg); in rds_ib_xmit_atomic()
822 ret = ib_post_send(ic->i_cm_id->qp, &send->s_atomic_wr.wr, &failed_wr); in rds_ib_xmit_atomic()
[all …]
Dib_recv.c230 ib_dma_unmap_sg(ic->i_cm_id->device, &recv->r_frag->f_sg, 1, DMA_FROM_DEVICE); in rds_ib_recv_clear_one()
340 ret = ib_dma_map_sg(ic->i_cm_id->device, &recv->r_frag->f_sg, in rds_ib_recv_refill_one()
349 sge->addr = ib_sg_dma_address(ic->i_cm_id->device, &recv->r_frag->f_sg); in rds_ib_recv_refill_one()
350 sge->length = ib_sg_dma_len(ic->i_cm_id->device, &recv->r_frag->f_sg); in rds_ib_recv_refill_one()
413 ic->i_cm_id->device, in rds_ib_recv_refill()
417 ret = ib_post_recv(ic->i_cm_id->qp, &recv->r_wr, NULL); in rds_ib_recv_refill()
662 ret = ib_post_send(ic->i_cm_id->qp, &ic->i_ack_wr, NULL); in rds_ib_send_ack()
977 ib_dma_unmap_sg(ic->i_cm_id->device, &recv->r_frag->f_sg, 1, in rds_ib_recv_cqe_handler()
Drdma_transport.c97 if (ibic && ibic->i_cm_id == cm_id) in rds_rdma_cm_event_handler_cmn()
Dib.c312 rdma_read_gids(ic->i_cm_id, (union ib_gid *)&iinfo->src_gid, in rds_ib_conn_info_visitor()
346 rdma_read_gids(ic->i_cm_id, (union ib_gid *)&iinfo6->src_gid, in rds6_ib_conn_info_visitor()
Dib.h149 struct rdma_cm_id *i_cm_id; member