Searched refs:i_recv_ring (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/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() 399 rds_ib_ring_alloc(&ic->i_recv_ring, 1, &pos)) { in rds_ib_recv_refill() 400 if (pos >= ic->i_recv_ring.w_nr) { in rds_ib_recv_refill() 440 rds_ib_ring_unalloc(&ic->i_recv_ring, 1); in rds_ib_recv_refill() 456 (can_wait && rds_ib_ring_low(&ic->i_recv_ring)) || in rds_ib_recv_refill() 457 rds_ib_ring_empty(&ic->i_recv_ring))) { in rds_ib_recv_refill() 983 recv = &ic->i_recvs[rds_ib_ring_oldest(&ic->i_recv_ring)]; in rds_ib_recv_cqe_handler() 1013 rds_ib_ring_free(&ic->i_recv_ring, 1); in rds_ib_recv_cqe_handler() 1018 if (rds_ib_ring_empty(&ic->i_recv_ring)) in rds_ib_recv_cqe_handler() [all …]
|
| D | ib_cm.c | 480 if (ic->i_recv_ring.w_nr != max_wrs) in rds_ib_setup_qp() 481 rds_ib_ring_resize(&ic->i_recv_ring, max_wrs); in rds_ib_setup_qp() 501 cq_attr.cqe = ic->i_recv_ring.w_nr; in rds_ib_setup_qp() 532 attr.cap.max_recv_wr = ic->i_recv_ring.w_nr + 1; in rds_ib_setup_qp() 561 ic->i_recv_ring.w_nr * in rds_ib_setup_qp() 588 ic->i_recv_ring.w_nr), in rds_ib_setup_qp() 609 ib_dma_free_coherent(dev, ic->i_recv_ring.w_nr * in rds_ib_setup_qp() 1020 rds_ib_ring_empty(&ic->i_recv_ring) && in rds_ib_conn_path_shutdown() 1054 ic->i_recv_ring.w_nr * in rds_ib_conn_path_shutdown() 1110 rds_ib_ring_init(&ic->i_recv_ring, ic->i_recv_ring.w_nr); in rds_ib_conn_path_shutdown() [all …]
|
| D | ib.c | 319 iinfo->max_recv_wr = ic->i_recv_ring.w_nr; in rds_ib_conn_info_visitor() 356 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
|