Home
last modified time | relevance | path

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

/linux-6.6.21/net/rds/
Dib_recv.c53 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_ib_recv_init_ring()
242 for (i = 0; i < ic->i_recv_ring.w_nr; i++) in rds_ib_recv_clear_ring()
401 rds_ib_ring_alloc(&ic->i_recv_ring, 1, &pos)) { in rds_ib_recv_refill()
402 if (pos >= ic->i_recv_ring.w_nr) { in rds_ib_recv_refill()
442 rds_ib_ring_unalloc(&ic->i_recv_ring, 1); in rds_ib_recv_refill()
458 (can_wait && rds_ib_ring_low(&ic->i_recv_ring)) || in rds_ib_recv_refill()
459 rds_ib_ring_empty(&ic->i_recv_ring))) { in rds_ib_recv_refill()
997 recv = &ic->i_recvs[rds_ib_ring_oldest(&ic->i_recv_ring)]; in rds_ib_recv_cqe_handler()
1028 rds_ib_ring_free(&ic->i_recv_ring, 1); in rds_ib_recv_cqe_handler()
1033 if (rds_ib_ring_empty(&ic->i_recv_ring)) in rds_ib_recv_cqe_handler()
[all …]
Dib_cm.c536 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 …]
Dib.c323 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()
Dib.h175 struct rds_ib_work_ring i_recv_ring; member