Home
last modified time | relevance | path

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

/Linux-v4.19/net/rds/
Dib_recv.c52 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_ib_recv_init_ring()
240 for (i = 0; i < ic->i_recv_ring.w_nr; i++) in rds_ib_recv_clear_ring()
397 rds_ib_ring_alloc(&ic->i_recv_ring, 1, &pos)) { in rds_ib_recv_refill()
398 if (pos >= ic->i_recv_ring.w_nr) { in rds_ib_recv_refill()
434 rds_ib_ring_unalloc(&ic->i_recv_ring, 1); in rds_ib_recv_refill()
449 ((can_wait && rds_ib_ring_low(&ic->i_recv_ring)) || in rds_ib_recv_refill()
450 rds_ib_ring_empty(&ic->i_recv_ring))) { in rds_ib_recv_refill()
976 recv = &ic->i_recvs[rds_ib_ring_oldest(&ic->i_recv_ring)]; in rds_ib_recv_cqe_handler()
1006 rds_ib_ring_free(&ic->i_recv_ring, 1); in rds_ib_recv_cqe_handler()
1011 if (rds_ib_ring_empty(&ic->i_recv_ring)) in rds_ib_recv_cqe_handler()
[all …]
Dib_cm.c470 if (rds_ibdev->max_wrs < ic->i_recv_ring.w_nr + 1) in rds_ib_setup_qp()
471 rds_ib_ring_resize(&ic->i_recv_ring, rds_ibdev->max_wrs - 1); in rds_ib_setup_qp()
491 cq_attr.cqe = ic->i_recv_ring.w_nr; in rds_ib_setup_qp()
522 attr.cap.max_recv_wr = ic->i_recv_ring.w_nr + 1; in rds_ib_setup_qp()
553 ic->i_recv_ring.w_nr * in rds_ib_setup_qp()
580 ic->i_recv_ring.w_nr), in rds_ib_setup_qp()
601 ib_dma_free_coherent(dev, ic->i_recv_ring.w_nr * in rds_ib_setup_qp()
1000 rds_ib_ring_empty(&ic->i_recv_ring) && in rds_ib_conn_path_shutdown()
1034 ic->i_recv_ring.w_nr * in rds_ib_conn_path_shutdown()
1089 rds_ib_ring_init(&ic->i_recv_ring, rds_ib_sysctl_max_recv_wr); in rds_ib_conn_path_shutdown()
[all …]
Dib.c317 iinfo->max_recv_wr = ic->i_recv_ring.w_nr; in rds_ib_conn_info_visitor()
350 iinfo6->max_recv_wr = ic->i_recv_ring.w_nr; in rds6_ib_conn_info_visitor()
Dib.h174 struct rds_ib_work_ring i_recv_ring; member