Searched refs:i_recv_ring (Results 1 – 4 of 4) sorted by relevance
/net/rds/ |
D | ib_recv.c | 52 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_ib_recv_init_ring() 241 for (i = 0; i < ic->i_recv_ring.w_nr; i++) in rds_ib_recv_clear_ring() 400 rds_ib_ring_alloc(&ic->i_recv_ring, 1, &pos)) { in rds_ib_recv_refill() 401 if (pos >= ic->i_recv_ring.w_nr) { in rds_ib_recv_refill() 441 rds_ib_ring_unalloc(&ic->i_recv_ring, 1); in rds_ib_recv_refill() 457 (can_wait && rds_ib_ring_low(&ic->i_recv_ring)) || in rds_ib_recv_refill() 458 rds_ib_ring_empty(&ic->i_recv_ring))) { in rds_ib_recv_refill() 996 recv = &ic->i_recvs[rds_ib_ring_oldest(&ic->i_recv_ring)]; in rds_ib_recv_cqe_handler() 1027 rds_ib_ring_free(&ic->i_recv_ring, 1); in rds_ib_recv_cqe_handler() 1032 if (rds_ib_ring_empty(&ic->i_recv_ring)) in rds_ib_recv_cqe_handler() [all …]
|
D | ib_cm.c | 536 if (ic->i_recv_ring.w_nr != max_wrs) in rds_ib_setup_qp() 537 rds_ib_ring_resize(&ic->i_recv_ring, max_wrs); in rds_ib_setup_qp() 557 cq_attr.cqe = ic->i_recv_ring.w_nr; in rds_ib_setup_qp() 588 attr.cap.max_recv_wr = ic->i_recv_ring.w_nr + 1; in rds_ib_setup_qp() 616 ic->i_recv_ring.w_nr, in rds_ib_setup_qp() 642 ic->i_recv_ring.w_nr), in rds_ib_setup_qp() 667 ic->i_recv_ring.w_nr, DMA_FROM_DEVICE); in rds_ib_setup_qp() 1082 rds_ib_ring_empty(&ic->i_recv_ring) && in rds_ib_conn_path_shutdown() 1122 ic->i_recv_ring.w_nr, in rds_ib_conn_path_shutdown() 1185 rds_ib_ring_init(&ic->i_recv_ring, ic->i_recv_ring.w_nr); in rds_ib_conn_path_shutdown() [all …]
|
D | ib.c | 323 iinfo->max_recv_wr = ic->i_recv_ring.w_nr; in rds_ib_conn_info_visitor() 360 iinfo6->max_recv_wr = ic->i_recv_ring.w_nr; in rds6_ib_conn_info_visitor()
|
D | ib.h | 175 struct rds_ib_work_ring i_recv_ring; member
|