Home
last modified time | relevance | path

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

/linux-4.4.14/net/rds/
Dib_send.c193 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) { in rds_ib_send_init_ring()
216 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) { in rds_ib_send_clear_ring()
264 oldest = rds_ib_ring_oldest(&ic->i_send_ring); in rds_ib_send_cqe_handler()
266 completed = rds_ib_ring_completed(&ic->i_send_ring, in rds_ib_send_cqe_handler()
291 oldest = (oldest + 1) % ic->i_send_ring.w_nr; in rds_ib_send_cqe_handler()
294 rds_ib_ring_free(&ic->i_send_ring, completed); in rds_ib_send_cqe_handler()
523 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos); in rds_ib_xmit()
535 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc); in rds_ib_xmit()
557 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit()
688 pos = (pos + 1) % ic->i_send_ring.w_nr; in rds_ib_xmit()
[all …]
Diw_send.c133 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) { in rds_iw_send_init_ring()
170 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) { in rds_iw_send_clear_ring()
233 oldest = rds_iw_ring_oldest(&ic->i_send_ring); in rds_iw_send_cq_comp_handler()
235 completed = rds_iw_ring_completed(&ic->i_send_ring, wc.wr_id, oldest); in rds_iw_send_cq_comp_handler()
277 oldest = (oldest + 1) % ic->i_send_ring.w_nr; in rds_iw_send_cq_comp_handler()
280 rds_iw_ring_free(&ic->i_send_ring, completed); in rds_iw_send_cq_comp_handler()
524 work_alloc = rds_iw_ring_alloc(&ic->i_send_ring, i, &pos); in rds_iw_xmit()
537 rds_iw_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc); in rds_iw_xmit()
565 rds_iw_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_iw_xmit()
719 pos = (pos + 1) % ic->i_send_ring.w_nr; in rds_iw_xmit()
[all …]
Dib_cm.c367 if (rds_ibdev->max_wrs < ic->i_send_ring.w_nr + 1) in rds_ib_setup_qp()
368 rds_ib_ring_resize(&ic->i_send_ring, rds_ibdev->max_wrs - 1); in rds_ib_setup_qp()
375 cq_attr.cqe = ic->i_send_ring.w_nr + 1; in rds_ib_setup_qp()
415 attr.cap.max_send_wr = ic->i_send_ring.w_nr + 1; in rds_ib_setup_qp()
435 ic->i_send_ring.w_nr * in rds_ib_setup_qp()
462 ic->i_sends = vzalloc_node(ic->i_send_ring.w_nr * sizeof(struct rds_ib_send_work), in rds_ib_setup_qp()
757 ic->i_send_ring.w_nr * in rds_ib_conn_shutdown()
818 rds_ib_ring_init(&ic->i_send_ring, rds_ib_sysctl_max_send_wr); in rds_ib_conn_shutdown()
864 rds_ib_ring_init(&ic->i_send_ring, rds_ib_sysctl_max_send_wr); in rds_ib_conn_alloc()
Diw_cm.c275 &ic->i_send_ring, rds_iw_send_cq_comp_handler, in rds_iw_setup_qp()
295 ic->i_send_ring.w_nr * in rds_iw_setup_qp()
322 ic->i_sends = vmalloc(ic->i_send_ring.w_nr * sizeof(struct rds_iw_send_work)); in rds_iw_setup_qp()
607 rds_iw_ring_empty(&ic->i_send_ring) && in rds_iw_conn_shutdown()
612 ic->i_send_ring.w_nr * in rds_iw_conn_shutdown()
680 rds_iw_ring_init(&ic->i_send_ring, rds_iw_sysctl_max_send_wr); in rds_iw_conn_shutdown()
717 rds_iw_ring_init(&ic->i_send_ring, rds_iw_sysctl_max_send_wr); in rds_iw_conn_alloc()
Diw.c189 iinfo->max_send_wr = ic->i_send_ring.w_nr; in rds_iw_conn_info_visitor()
Dib.c302 iinfo->max_send_wr = ic->i_send_ring.w_nr; in rds_ib_conn_info_visitor()
Diw.h119 struct rds_iw_work_ring i_send_ring; member
Dib.h137 struct rds_ib_work_ring i_send_ring; member