Searched refs:w_nr (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/net/rds/ |
D | ib_ring.c | 69 ring->w_nr = nr; in rds_ib_ring_init() 70 rdsdebug("ring %p nr %u\n", ring, ring->w_nr); in rds_ib_ring_init() 79 BUG_ON(diff > ring->w_nr); in __rds_ib_ring_used() 89 ring->w_nr = nr; in rds_ib_ring_resize() 101 avail = ring->w_nr - __rds_ib_ring_used(ring); in rds_ib_ring_alloc() 110 ring->w_alloc_ptr = (ring->w_alloc_ptr + ret) % ring->w_nr; in rds_ib_ring_alloc() 119 ring->w_free_ptr = (ring->w_free_ptr + val) % ring->w_nr; in rds_ib_ring_free() 129 ring->w_alloc_ptr = (ring->w_alloc_ptr - val) % ring->w_nr; in rds_ib_ring_unalloc() 140 return __rds_ib_ring_used(ring) <= (ring->w_nr >> 1); in rds_ib_ring_low() 163 ret = ring->w_nr - oldest + (unsigned long long)wr_id + 1; in rds_ib_ring_completed()
|
D | ib_cm.c | 272 if (wc->wr_id <= ic->i_send_ring.w_nr || in poll_scq() 531 if (ic->i_send_ring.w_nr != max_wrs) in rds_ib_setup_qp() 536 if (ic->i_recv_ring.w_nr != max_wrs) in rds_ib_setup_qp() 543 cq_attr.cqe = ic->i_send_ring.w_nr + fr_queue_space + 1; in rds_ib_setup_qp() 557 cq_attr.cqe = ic->i_recv_ring.w_nr; in rds_ib_setup_qp() 587 attr.cap.max_send_wr = ic->i_send_ring.w_nr + fr_queue_space + 1; in rds_ib_setup_qp() 588 attr.cap.max_recv_wr = ic->i_recv_ring.w_nr + 1; in rds_ib_setup_qp() 607 ic->i_send_ring.w_nr, in rds_ib_setup_qp() 616 ic->i_recv_ring.w_nr, in rds_ib_setup_qp() 633 ic->i_send_ring.w_nr), in rds_ib_setup_qp() [all …]
|
D | ib.c | 322 iinfo->max_send_wr = ic->i_send_ring.w_nr; in rds_ib_conn_info_visitor() 323 iinfo->max_recv_wr = ic->i_recv_ring.w_nr; in rds_ib_conn_info_visitor() 359 iinfo6->max_send_wr = ic->i_send_ring.w_nr; in rds6_ib_conn_info_visitor() 360 iinfo6->max_recv_wr = ic->i_recv_ring.w_nr; in rds6_ib_conn_info_visitor()
|
D | ib_send.c | 195 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) { in rds_ib_send_init_ring() 219 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) { in rds_ib_send_clear_ring() 292 oldest = (oldest + 1) % ic->i_send_ring.w_nr; in rds_ib_send_cqe_handler() 703 pos = (pos + 1) % ic->i_send_ring.w_nr; in rds_ib_xmit() 968 if (++send == &ic->i_sends[ic->i_send_ring.w_nr]) in rds_ib_xmit_rdma()
|
D | ib_recv.c | 53 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() 402 if (pos >= ic->i_recv_ring.w_nr) { in rds_ib_recv_refill()
|
D | ib.h | 120 u32 w_nr; member
|