Home
last modified time | relevance | path

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

/linux-4.1.27/net/rds/
Dib_send.c227 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) { in rds_ib_send_init_ring()
250 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) { in rds_ib_send_clear_ring()
307 oldest = rds_ib_ring_oldest(&ic->i_send_ring); in rds_ib_send_cq_comp_handler()
309 completed = rds_ib_ring_completed(&ic->i_send_ring, wc.wr_id, oldest); in rds_ib_send_cq_comp_handler()
331 oldest = (oldest + 1) % ic->i_send_ring.w_nr; in rds_ib_send_cq_comp_handler()
334 rds_ib_ring_free(&ic->i_send_ring, completed); in rds_ib_send_cq_comp_handler()
565 work_alloc = rds_ib_ring_alloc(&ic->i_send_ring, i, &pos); in rds_ib_xmit()
577 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc); in rds_ib_xmit()
599 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_ib_xmit()
725 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()
176 for (i = 0, send = ic->i_sends; i < ic->i_send_ring.w_nr; i++, send++) { in rds_iw_send_clear_ring()
241 oldest = rds_iw_ring_oldest(&ic->i_send_ring); in rds_iw_send_cq_comp_handler()
243 completed = rds_iw_ring_completed(&ic->i_send_ring, wc.wr_id, oldest); in rds_iw_send_cq_comp_handler()
285 oldest = (oldest + 1) % ic->i_send_ring.w_nr; in rds_iw_send_cq_comp_handler()
288 rds_iw_ring_free(&ic->i_send_ring, completed); in rds_iw_send_cq_comp_handler()
532 work_alloc = rds_iw_ring_alloc(&ic->i_send_ring, i, &pos); in rds_iw_xmit()
545 rds_iw_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc); in rds_iw_xmit()
573 rds_iw_ring_unalloc(&ic->i_send_ring, work_alloc); in rds_iw_xmit()
723 pos = (pos + 1) % ic->i_send_ring.w_nr; in rds_iw_xmit()
[all …]
Dib_cm.c294 if (rds_ibdev->max_wrs < ic->i_send_ring.w_nr + 1) in rds_ib_setup_qp()
295 rds_ib_ring_resize(&ic->i_send_ring, rds_ibdev->max_wrs - 1); in rds_ib_setup_qp()
305 ic->i_send_ring.w_nr + 1, 0); in rds_ib_setup_qp()
340 attr.cap.max_send_wr = ic->i_send_ring.w_nr + 1; in rds_ib_setup_qp()
360 ic->i_send_ring.w_nr * in rds_ib_setup_qp()
387 ic->i_sends = vzalloc_node(ic->i_send_ring.w_nr * sizeof(struct rds_ib_send_work), in rds_ib_setup_qp()
671 ic->i_send_ring.w_nr * in rds_ib_conn_shutdown()
739 rds_ib_ring_init(&ic->i_send_ring, rds_ib_sysctl_max_send_wr); in rds_ib_conn_shutdown()
783 rds_ib_ring_init(&ic->i_send_ring, rds_ib_sysctl_max_send_wr); in rds_ib_conn_alloc()
Diw_cm.c272 &ic->i_send_ring, rds_iw_send_cq_comp_handler, in rds_iw_setup_qp()
292 ic->i_send_ring.w_nr * in rds_iw_setup_qp()
319 ic->i_sends = vmalloc(ic->i_send_ring.w_nr * sizeof(struct rds_iw_send_work)); in rds_iw_setup_qp()
603 rds_iw_ring_empty(&ic->i_send_ring) && in rds_iw_conn_shutdown()
608 ic->i_send_ring.w_nr * in rds_iw_conn_shutdown()
676 rds_iw_ring_init(&ic->i_send_ring, rds_iw_sysctl_max_send_wr); in rds_iw_conn_shutdown()
713 rds_iw_ring_init(&ic->i_send_ring, rds_iw_sysctl_max_send_wr); in rds_iw_conn_alloc()
Diw.c193 iinfo->max_send_wr = ic->i_send_ring.w_nr; in rds_iw_conn_info_visitor()
Dib.c292 iinfo->max_send_wr = ic->i_send_ring.w_nr; in rds_ib_conn_info_visitor()
Dib.h108 struct rds_ib_work_ring i_send_ring; member
Diw.h116 struct rds_iw_work_ring i_send_ring; member