Home
last modified time | relevance | path

Searched refs:i_recv_ring (Results 1 – 8 of 8) sorted by relevance

/linux-4.4.14/net/rds/
Dib_recv.c51 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_ib_recv_init_ring()
237 for (i = 0; i < ic->i_recv_ring.w_nr; i++) in rds_ib_recv_clear_ring()
393 rds_ib_ring_alloc(&ic->i_recv_ring, 1, &pos)) { in rds_ib_recv_refill()
394 if (pos >= ic->i_recv_ring.w_nr) { in rds_ib_recv_refill()
430 rds_ib_ring_unalloc(&ic->i_recv_ring, 1); in rds_ib_recv_refill()
445 ((can_wait && rds_ib_ring_low(&ic->i_recv_ring)) || in rds_ib_recv_refill()
446 rds_ib_ring_empty(&ic->i_recv_ring))) { in rds_ib_recv_refill()
969 recv = &ic->i_recvs[rds_ib_ring_oldest(&ic->i_recv_ring)]; in rds_ib_recv_cqe_handler()
999 rds_ib_ring_free(&ic->i_recv_ring, 1); in rds_ib_recv_cqe_handler()
1004 if (rds_ib_ring_empty(&ic->i_recv_ring)) in rds_ib_recv_cqe_handler()
[all …]
Diw_recv.c87 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_iw_recv_init_ring()
130 for (i = 0; i < ic->i_recv_ring.w_nr; i++) in rds_iw_recv_clear_ring()
235 rds_iw_ring_alloc(&ic->i_recv_ring, 1, &pos)) { in rds_iw_recv_refill()
236 if (pos >= ic->i_recv_ring.w_nr) { in rds_iw_recv_refill()
272 rds_iw_ring_unalloc(&ic->i_recv_ring, 1); in rds_iw_recv_refill()
793 recv = &ic->i_recvs[rds_iw_ring_oldest(&ic->i_recv_ring)]; in rds_poll_cq()
814 rds_iw_ring_free(&ic->i_recv_ring, 1); in rds_poll_cq()
840 if (rds_iw_ring_empty(&ic->i_recv_ring)) in rds_iw_recv_tasklet_fn()
846 if (rds_iw_ring_low(&ic->i_recv_ring)) in rds_iw_recv_tasklet_fn()
Dib_cm.c369 if (rds_ibdev->max_wrs < ic->i_recv_ring.w_nr + 1) in rds_ib_setup_qp()
370 rds_ib_ring_resize(&ic->i_recv_ring, rds_ibdev->max_wrs - 1); in rds_ib_setup_qp()
387 cq_attr.cqe = ic->i_recv_ring.w_nr; in rds_ib_setup_qp()
416 attr.cap.max_recv_wr = ic->i_recv_ring.w_nr + 1; in rds_ib_setup_qp()
445 ic->i_recv_ring.w_nr * in rds_ib_setup_qp()
470 ic->i_recvs = vzalloc_node(ic->i_recv_ring.w_nr * sizeof(struct rds_ib_recv_work), in rds_ib_setup_qp()
741 rds_ib_ring_empty(&ic->i_recv_ring) && in rds_ib_conn_shutdown()
764 ic->i_recv_ring.w_nr * in rds_ib_conn_shutdown()
819 rds_ib_ring_init(&ic->i_recv_ring, rds_ib_sysctl_max_recv_wr); in rds_ib_conn_shutdown()
865 rds_ib_ring_init(&ic->i_recv_ring, rds_ib_sysctl_max_recv_wr); in rds_ib_conn_alloc()
Diw_cm.c276 &ic->i_recv_ring, rds_iw_recv_cq_comp_handler, in rds_iw_setup_qp()
305 ic->i_recv_ring.w_nr * in rds_iw_setup_qp()
330 ic->i_recvs = vmalloc(ic->i_recv_ring.w_nr * sizeof(struct rds_iw_recv_work)); in rds_iw_setup_qp()
608 rds_iw_ring_empty(&ic->i_recv_ring)); in rds_iw_conn_shutdown()
619 ic->i_recv_ring.w_nr * in rds_iw_conn_shutdown()
681 rds_iw_ring_init(&ic->i_recv_ring, rds_iw_sysctl_max_recv_wr); in rds_iw_conn_shutdown()
718 rds_iw_ring_init(&ic->i_recv_ring, rds_iw_sysctl_max_recv_wr); in rds_iw_conn_alloc()
Diw.c190 iinfo->max_recv_wr = ic->i_recv_ring.w_nr; in rds_iw_conn_info_visitor()
Dib.c303 iinfo->max_recv_wr = ic->i_recv_ring.w_nr; in rds_ib_conn_info_visitor()
Diw.h128 struct rds_iw_work_ring i_recv_ring; member
Dib.h146 struct rds_ib_work_ring i_recv_ring; member